Save a webpage as a PDF

Press Ctrl+P or Cmd+P and choose Save as PDF: every browser prints a page to PDF without an extension. That is the whole answer for a receipt or a ticket. When the PDF has to be an accurate, checked document, save the page as HTML instead and convert the file with a tool that verifies its own output.

HTML to PDF

How to print a webpage as a PDF

  1. Open the print dialog

    Press Ctrl+P on Windows and Linux or Cmd+P on a Mac while the page is in front of you. Every desktop browser also lists Print in its menu, so the shortcut is a convenience, not a requirement.

  2. Choose Save as PDF

    Chrome, Edge and Firefox list Save as PDF among the print destinations. Safari puts a PDF control in the corner of its print dialog instead. Either way, no printer is involved and no ink is spent.

  3. Check the preview

    The preview shows where the pages break and what the site's print style keeps. Turn off the browser's own headers and footers if you do not want the date and the address stamped on every page.

  4. Save the file

    Confirm, pick a folder, and the browser writes the PDF to disk. The whole job happens on your machine.

Print to PDF is built into every browser

To save a page to PDF you do not need an app, an account, or an extension. Printing to a file has shipped in every desktop browser for years, and it is the fastest way to download a web page to PDF: two keys, one menu choice, one save dialog. For a boarding pass, an order confirmation, a receipt, or an article you want to read later, this is the whole answer and anything more is wasted effort.

Phones do it too. On an iPhone, open the share sheet and choose the print option; the print preview can then be saved or shared as a PDF. On Android, the share or menu entry for printing offers Save as PDF as a destination. The wording shifts between versions, but the print route is always there.

What the printed PDF gives you, and what it does not

Printing captures the page as the site's print stylesheet describes it. Some sites write a careful print style that drops the navigation and widens the text. Many do not, so the PDF arrives with the cookie banner, the sidebar, and the ads exactly where they were on screen. Page breaks fall where the paper size says they fall, which can cut a table or a code block in half.

The text in a printed PDF is usually selectable, because the browser draws text as text. But nothing checks that. Pictures of text stay pictures, content that loads as you scroll may not have loaded, and no browser reopens the file afterwards to confirm that what you read on screen is what the PDF holds. Print to PDF is a snapshot, not a conversion with a receipt.

If the page prints badly, try the browser's reader view first, where it offers one, and print that. Reader view strips the page to its article before the print style ever runs, which fixes most ugly printouts without any other tool.

When the PDF has to be right, go through an HTML file

To convert a website page into a PDF you can actually rely on, take two steps instead of one. First save the page as a file, which Save a webpage as HTML walks through browser by browser. Then drop that file on HTML to PDF, which converts it in your browser tab and proves the result.

The tool strips every script, frame and remote reference before the markup is rendered, counts each removal on a receipt, lays the page out at the width of the PDF text column, and draws every character as selectable text. It then reopens the PDF it wrote with a separate reader and counts the text back: at least 98 percent of the non-space characters must return, or there is no download. How to convert HTML to PDF covers what survives that trip and what does not.

Why no honest site converts a bare web address

Sites that offer a paste-a-link converter fetch the page on their server, which means the server decides what the page looks like: logged out, in another country, without your cookies. What comes back is often not the page you were reading. It also means the conversion happens on someone else's machine.

The tools here run entirely in your browser tab and send nothing to a server, so they cannot fetch an address at all. That is a constraint, and it is also the guarantee: a page you saved and converted here never left your machine.

Questions people ask

What is the fastest way to save a webpage as a PDF?
The print dialog. Ctrl+P or Cmd+P, choose Save as PDF, save. It works in every browser, on every site, with nothing installed.
How do I download a web page to PDF without installing anything?
Print it to PDF; the printer list in every browser includes a save-to-file destination. For a checked result, save the page as HTML first and convert the file in your browser tab instead.
Why does my printed PDF include ads and cookie banners?
Printing renders what the site's print stylesheet keeps, and many sites keep everything. Use reader view before printing, or save the page as HTML and convert it with the tool, which strips scripts and frames and counts what it removed.
Can I convert a whole website into a PDF at once?
Not here. A whole site needs a crawler that fetches page after page, and fetching needs a server. This site converts one saved page at a time, on your machine.
Is the text in a printed PDF selectable?
Usually, because the browser draws text as text. But print to PDF never verifies it. The HTML to PDF tool does: it reopens its own output and requires 98 percent of the characters back before it offers the download.

Do it now

The tool runs in this browser. Your file never leaves the machine, and the result is checked before you download it.

HTML to PDF

Where to go next