Code
What is a .mht file?
A .mht file is a MHTML. This is a code, script or executable format.
How to open a .mht file
- VS Code opens and highlights nearly every text-based code format.
- Never run a script you didn't write or trust.
The registry records this extension against MHTML, so software from that family is the most likely match.
How to convert a .mht file
- Text-based code needs no conversion โ just save with a different extension if a tool insists.
MIME type
When a .mht file travels over the web, servers label it with this MIME type:
multipart/relatedThe technical record
For archivists, developers and the merely curious: these are the PRONOM registry entries for .mht.
| Format name | Version | MIME type | PUID |
|---|---|---|---|
| MHTML | โ | multipart/related | x-fmt/429 |