← Back to blog

How to Save a Web Page as a Single HTML File

September 14, 2026

Saving a web page sounds solved -- Ctrl+S has existed forever -- and yet what you get is rarely what you wanted. "Webpage, Complete" produces an HTML file and a folder of two hundred assets that have to travel together. "Webpage, Single File" produces an MHTML file that only Chrome and Edge open. "HTML Only" produces a page with no styling.

What most people want is one file, opening in any browser, looking the way the page looked when they saved it. That takes a little more than Save As.

What each Save As option actually does

  • Webpage, Complete -- HTML plus a sibling folder of images, scripts and stylesheets. Works if you keep both together; breaks the moment one is moved or emailed alone.
  • Webpage, Single File (.mhtml) -- everything bundled, but in a format most tools and all phones refuse to open. Fine for your own archive, wrong for sending.
  • Webpage, HTML Only -- the markup with every asset still pointing at the live site. Looks fine while the site is up and identical to the original otherwise.

What "self-contained" needs

A single HTML file that survives being sent needs its stylesheets inlined, its image URLs made absolute (or embedded), and its scripts removed -- scripts are what make a saved page try to phone home, break, or load something different from what you saw.

That last point is also the privacy point: a page saved with live scripts can still send analytics events when opened. A snapshot with scripts stripped is inert.

The one-button version

Demorta’s recorder bar has Save as HTML. It takes the page you are looking at, in its current state -- logged in, filters applied, modal open -- inlines the styles, resolves the asset URLs, strips scripts, and downloads a single .html file named after the page. It is the same snapshot the extension uses for HTML-mode demo recording, so it is well exercised. See how Save as HTML works.

Open the file in any browser and it renders as the page did. Links still point where they pointed, so navigation goes to the live site, which is usually what you want.

What it is good for, and not

  • Good for -- keeping a copy of a dashboard state, a pricing page before it changes, a form as it appeared, a page for a bug report, a reference for a designer.
  • Not for -- pages whose content is drawn on canvas or loaded after scrolling, and anything behind an image CDN that expires its URLs. Those need a screenshot or a full-page capture instead.

Frequently asked questions

How do I save a web page as a single HTML file in Chrome?
Ctrl+S offers "Webpage, Single File", which produces MHTML that only Chromium browsers open. For a real .html file that opens anywhere, use a tool that inlines the styles and resolves asset URLs -- Demorta’s Save as HTML button does this in one click.
Why does my saved web page look broken?
Usually because the stylesheet or images were saved into a sibling folder that did not travel with the file, or because scripts that build the page at load time were saved but cannot run correctly offline. A self-contained snapshot with inlined styles and no scripts avoids both.
Can I save a web page as it looks when logged in?
Yes, if the tool snapshots the page from inside the browser tab rather than re-fetching the URL. Demorta captures the DOM as displayed, so logged-in state, applied filters and open dialogs are all in the file.

Keep reading

This is what Demorta does

Click through it — the same kind of demo you can record of your own product.

Try it on your own product

Record your first interactive demo free.

Five demos on the free plan, forever. No credit card, no trial countdown, no sales call. Install the Chrome extension, click through your product once, and you have a shareable link in about ten minutes.

Start free →