Single-file Web Archive
Web & DevelopmentMHTML packages HTML and resources using MIME. It is a saved snapshot; authentication, video and interactive behavior may not survive.
- Main use
- Read a saved web page with bundled resources
- Data type
- Text data
All sections, questions and sources
Content reviewed: · Editor:Kai
Opening steps
Choose your environment or purpose to see its steps.
Menu labels and support vary by app, OS and version. Preserve the original before making changes.
Troubleshooting by symptom
- Raw text appears: open inside a supporting browser.
- Images missing: request a new capture after the original finishes loading.
- Login fails: use the live site rather than expecting archived authentication.
- Print cropped: check scale, paper and margins.
MHTML → PDF
- Print the opened snapshot to a separate PDF.
- Reopen the output and check it against the preservation points in this guide before handoff.
PDF does not preserve live forms, all link behavior or later site updates.
Establish the capture boundary
Inspect figures, table endings and collapsed content rather than assuming the visible browser state was captured completely.
Source for these steps:RFC Editor · RFC 2557 — MHTML / Microsoft · Local MHTML files in Microsoft Edge
Worked example: checks before handoff
Example: for an application receipt, verify the reference number and date and retain the private original locally.
Source for these steps:RFC Editor · RFC 2557 — MHTML / Microsoft · Local MHTML files in Microsoft Edge
Related-format differences
| Format / method | Purpose and preserved information |
|---|---|
| .mhtml | Read a saved web page with bundled resources |
| HTML | Plain HTML may reference resources stored separately. |
| MHTML → PDF | PDF does not preserve live forms, all link behavior or later site updates. |
Handling and security
Review external-access prompts and avoid entering credentials into an unknown archived page.
Questions and answers
Is .mht unrelated?
It is another suffix used for MHTML.
Is offline reading guaranteed?
It depends on capture completeness and external references.
Can it restore the original website?
Server logic and databases are not included.
Format facts: name, steward and MIME type
- Formal name
- Single-file Web Archive
- Steward / specification
- RFC Editor
- MIME type
- Consult the producer or delivery system. The extension alone does not establish a MIME type.
Primary and official sources
- StandardRFC 2557 — MHTML
MIME packaging of HTML and related resources.
RFC Editor · Link checked: - Software documentationLocal MHTML files in Microsoft Edge
MHT/MHTML display and managed policies.
Microsoft · Link checked: