Guide · 4 min read · Updated 2026-08-09
Archiving a web page as a PDF
For receipts, confirmations, and anything you may need to produce again in five years.
This file never leaves your browser.
Web pages are not permanent. Sites get redesigned, companies fold, links rot, and the order confirmation you assumed you could look up again is gone. For anything you may need as a record — a receipt, a booking, a policy as it stood on a particular day — a PDF in your own storage is the version that survives.
Try print-to-PDF first
Every browser can do this: Ctrl+P (Cmd+P on a Mac), then choose "Save as PDF" as the destination. For a well-built page this is the fastest route and often produces the best result, because the site may ship a print stylesheet that strips navigation and ads for you.
It fails often enough to be frustrating, though. Common problems: content inside a scrolling container gets clipped to one screenful, sticky headers repeat on every page or cover the text, lazy-loaded images below the fold never load and print blank, and cookie banners get captured over the content.
The saved-HTML route
When printing gives you something unusable, save the page and convert the file instead. Ctrl+S saves the HTML to disk. Converting that file gives you a document built from the markup rather than a snapshot of the rendered viewport, which sidesteps the sticky-header and clipped-container problems entirely.
The converter below reads the HTML, walks the document structure, and lays the content out onto A4 pages with real text you can select and search. Headings, paragraphs, and lists keep their hierarchy.
This file never leaves your browser.
What to expect from the output
Text and structure convert reliably. Complex CSS layout does not: this is a conversion of the content, not a pixel-perfect reproduction of the design. If you need the page to look exactly as it did, a full-page screenshot is the honest tool for that job — though you lose selectable text in exchange.
Choose based on why you are archiving. For a receipt where the amounts and dates are what matter, text-based conversion is better: it is searchable, and the text can be copied years later. For visual evidence of how something appeared, use a screenshot.
Practical habits worth having
- 1Capture at the moment it mattersSave the confirmation page when you see it, not when you need it. Retrieving it later is the step that fails.
- 2Name files so you can find themInclude the date and what it is: "2026-08-09-flight-booking-confirmation.pdf". A folder of "document (3).pdf" is not an archive.
- 3Keep the URL inside the documentPrint-to-PDF usually adds it in the footer automatically. If you convert saved HTML, add it as a note — knowing where something came from is half its value as a record.
- 4Store it somewhere that outlives your laptopAn archive that exists only on one device is one hardware failure from not existing.
Frequently Asked Questions
Why did my printed PDF cut off half the page?
Almost always a CSS scrolling container: the browser prints what fits in that box rather than its full contents. Saving the HTML and converting the file avoids this, because the layout is rebuilt from the markup rather than from the rendered viewport.
Will images from the page be included?
Images referenced remotely may not resolve when you convert a saved file offline. If specific images matter, save them separately. For text-based records this rarely matters.
Is a PDF acceptable as legal evidence?
It depends entirely on jurisdiction and context, and a self-made PDF is weak on its own because it carries no independent timestamp. For anything contentious, get the page into a third-party archive as well and take advice.
How do I archive a page behind a login?
Print-to-PDF and save-then-convert both work, because your browser is already authenticated. Any tool that fetches the URL server-side cannot see the page at all.