View your HTML files in Doconut.app
11/24/2023

View your HTML files in Doconut.app

Open an HTML or MHTML file as a rendered page, up to 5 MB — and find out why a saved web page arrives missing its images and styling.

You have an .html or .mhtml file and you want to see the page rather than the markup. Upload it to the HTML viewer: .html, .htm, .mhtml and .mht, up to 5 MB, rendered in the browser and deleted when you close the tab.

That 5 MB is the tightest ceiling on the site, shared with XML and plain text, and it is generous for markup — an HTML file is text, and text is small. What makes a saved page large is everything it references, which brings us to the thing worth knowing.

View your HTML files in Doconut.app
View your HTML files in Doconut.app

What's New with our HTML Engine

Why a saved web page arrives looking broken

An .html file is a document that points at its stylesheet, its images and its fonts. It rarely contains them. Save a page from a browser and you usually get an .html file plus a folder of assets beside it; send only the .html and the recipient gets the text with the styling and pictures missing. Nothing was lost in transit — the file never held them.

That is exactly what MHTML exists to fix. A .mhtml or .mht file packs the page and its resources into a single archive, so it travels as one file and renders complete. If you are the person doing the sending, save as MHTML rather than HTML, and this problem disappears.

Two other things to expect. Anything the page fetched from the internet — a script, a font, a tracking pixel — is not fetched here; the viewer renders the document, it does not run the page as a live website. And a page built entirely by JavaScript may render nearly empty, because the markup on its own genuinely is nearly empty.

The rest of the site

The HTML viewer is one of seventeen, covering 70+ extensions between them. It views files rather than converting them, and takes one at a time.

If you want this rendering inside your own application, that is the separately licensed Doconut SDK.

Best regards, Doconut.app Team