# Save a webpage as HTML

Canonical HTML: [https://pdfpix.com/guides/save-a-webpage-as-html/](https://pdfpix.com/guides/save-a-webpage-as-html/)

Press Ctrl+S or Cmd+S on the page and pick the complete or HTML-only format: every desktop browser writes the page you are looking at to a file on disk. That file opens offline and converts to a checked PDF. This is the step the HTML to PDF tool asks for when a link is dropped on it.

## Steps

1. **Let the page finish.** Load the page fully and scroll to the end once. Content that arrives as you scroll only exists in the page after it has arrived, and the browser saves what the page holds at that moment, not what the address would serve.
2. **Press Ctrl+S or Cmd+S.** Ctrl+S on Windows and Linux, Cmd+S on a Mac, or the menu entry named Save page as. The browser asks where to put the file and what format to use.
3. **Pick the format.** Webpage, Complete saves the HTML plus a folder of the page's images and styles. Webpage, HTML Only saves one file. In Safari, choose Page Source, because its Web Archive format is not HTML and no converter reads it.
4. **Open the file from disk.** Double-click the saved file. It should open in the browser and read correctly offline. What you see now is what any converter will see.

## What the browser actually writes

To save a webpage is to copy the page out of the browser and onto your disk. Chrome, Edge and Firefox offer two formats. Webpage, Complete writes the HTML file and a folder next to it holding the images and stylesheets the page used, with the references rewritten to point at that folder. Webpage, HTML Only writes a single file whose image and style references still point back at the web.

Safari is the exception worth knowing about. Its default save format is Web Archive, a container only Safari opens. Pick Page Source instead when you plan to convert the file or open it anywhere else. On a phone there is no real save-as-HTML; use a desktop browser for this step, or print to PDF on the phone and accept the snapshot.

## Which format to pick

For reading offline, Webpage, Complete is the faithful copy: text, pictures and styling, all local. Keep the file and its folder together, because the file alone loses its images.

For converting to PDF, the choice decides what the converter can honestly keep. [HTML to PDF](https://pdfpix.com/html-to-pdf/) never fetches anything remote, so an image that lives at a web address is counted as dropped, while an image embedded in the file itself is carried into the PDF. A complete save keeps images as separate local files rather than embedding them, so either way the receipt tells you exactly how many images the PDF kept and how many it left out. If the pictures matter, check that count before you rely on the file.

The extension does not matter: .html and .htm are the same format, and the converter takes both. The name does. The browser names the file after the page's title, which is often long and full of punctuation, so rename it to something you will recognize in a folder six months from now while you are still looking at it.

## Why the saved page can look different offline

A download of a web page copies its markup, not its behavior. Scripts that built parts of the page while it was live do not run from a converter, and a page behind a login saves whatever the browser was showing, not what the server would send someone else. Menus that only draw when tapped, comment sections that load on demand, and feeds that grow forever all save as whatever state they were in.

That is why the first step says to let the page finish and scroll it once. The save is a copy of the page's present state, and the more of the page you have made real before saving, the more of it the file holds.

## From the saved file to a checked PDF

The saved file is what [HTML to PDF](https://pdfpix.com/html-to-pdf/) takes. Drop a link or a .webloc shortcut on it instead and it refuses, telling you that a link is a pointer to a page, not the page, and that fetching one needs a server this site does not use. The file you just saved is the honest input.

From there, [How to convert HTML to PDF](https://pdfpix.com/guides/convert-html-to-pdf/) covers the conversion: what gets stripped, what carries over, and the check that reopens the PDF and counts 98 percent of the characters back before the download exists. If all you needed was a quick snapshot rather than a checked document, [Save a webpage as a PDF](https://pdfpix.com/guides/save-a-webpage-as-a-pdf/) covers the shorter print route.

## Questions and answers

### How do I save a webpage so it opens offline?

Save it as Webpage, Complete. The HTML file plus its folder hold the text, images and styles locally, so the page opens with no connection. Keep the file and the folder together.

### What is the difference between Webpage, Complete and HTML Only?

Complete writes the page plus a folder of its images and styles, all local. HTML Only writes one file whose pictures still point at the web, so it needs a connection to look right.

### Why did saving the page create a folder next to the file?

That folder is the page's images and stylesheets. The saved HTML points into it, so moving or deleting the folder strips the page. Move them together or zip them together.

### Can I save a webpage as HTML on a phone?

Not usefully. Mobile browsers offer reading lists and print to PDF, not a real HTML save. Use a desktop browser for the HTML file, or print to PDF on the phone if a snapshot is enough.

### Why does the HTML to PDF tool refuse the link I dropped on it?

Because a link is an address, not a document. Fetching an address needs a server, and that tool sends nothing to one. Save the page as HTML in your browser first, then convert that file.

## Related pages

- [HTML to PDF](https://pdfpix.com/html-to-pdf/): Turn a saved HTML file into a PDF that reads the same on every device. The file stays in your browser. No upload, no account needed.
- [Save a webpage as a PDF](https://pdfpix.com/guides/save-a-webpage-as-a-pdf/): Get the page on the screen into a PDF, from any browser. A guide, with the tool that does the job named in it.
- [Convert HTML to PDF](https://pdfpix.com/guides/convert-html-to-pdf/): Turn a saved HTML file into a PDF and know what carries over. A guide, with the tool that does the job named in it.
- [Webpage, HTML and PDF help](https://pdfpix.com/guides/html/): Find the right guide for turning a webpage or an HTML file into a PDF, or a PDF into HTML. Every guide on the job, sorted by the problem you have.
