jfor.org

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/related

What's a MIME type?

The technical record

For archivists, developers and the merely curious: these are the PRONOM registry entries for .mht.

Format nameVersionMIME typePUID
MHTMLโ€”multipart/relatedx-fmt/429

Got another one?