Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_rightDocument Toolschevron_rightMHTML ExtractorMHTML Extractor

MHTML Extractor

Take an MHT archive apart into HTML, images, stylesheets and assets, and download it as a folder that still opens in a browser.

upload_file

Click to browse or drag & drop files here

MHT, MHTML or EML

Accepted: .mht,.mhtml,.eml

Similar Tools

MHTML / MHT Viewer

MHTML / MHT Viewer

Open a web page archived as a single MHT or MHTML file and see it rendered with its own images and stylesheets.

CHM Extractor

CHM Extractor

Unpack a compiled HTML Help file into its pages, stylesheets and images, as a ZIP that keeps the original folder structure.

PPTX Asset Extractor

PPTX Asset Extractor

Extract the original images, video, audio and embedded fonts from a PowerPoint deck, with the slides each one appears on.

PDF Embedded File Extractor

PDF Embedded File Extractor

Find and download every file attached inside a PDF, including attachments hidden in annotations and PDF 2.0 associated files.

Audio Compressor

Audio Compressor

Apply dynamics compression to audio with adjustable threshold, knee, ratio, attack and release controls.

Random Paragraph Generator

Random Paragraph Generator

Generate random paragraphs for layouts, prototypes, and content tests.

PDF Grayscale Converter

PDF Grayscale Converter

Convert a color PDF to grayscale by rendering each page and rebuilding the document.

apps

More Tools

Browse our full collection of free online tools.

From one file back to many

An MHT archive is a multipart/related message: the HTML plus every image, stylesheet and script the page referenced, all in one file. This tool splits it back apart.

Every part is listed with its MIME type, transfer encoding, declared charset, Content-Location, Content-ID, and both its stored and decoded sizes. Those two numbers side by side show the transfer decoding doing its work: a base64 image loses about a quarter of its bulk, while a quoted-printable text part barely changes unless it is full of accented characters or long lines.

The ZIP is a working folder, not a pile of parts

This is the part most extractors skip. Splitting a message into files is easy; producing something you can actually open is the useful bit.

  • The root HTML is written as index.html.
  • Every other part goes under assets/, named from its Content-Location or Content-ID, de-duplicated, and given a sensible extension if the original had none.
  • The HTML's src, href and CSS url() references — which all still point at the original absolute web addresses — are rewritten to those relative paths.

Unzip the result, double-click index.html, and the page comes up with its images and styling. That is the whole point of extracting it.

The reference matching is the same code the MHTML viewer uses, so cid: references, Content-Location matches and relative references resolved against the root page's own address all behave identically in both tools.

Previews and individual downloads

Any part can be previewed in place — text decoded with its declared charset, images rendered — and downloaded on its own. Nothing is re-encoded: an image comes out with exactly the bytes the archive stored.

When the archive is incomplete

References the archive never saved are listed separately. They stay pointing at their original addresses in the extracted HTML, and nothing here fetches them.

Privacy

The archive is opened in your browser. It is never uploaded, and no network request is made for anything it references.