HTML to PDF January 23, 2026 · 6 min read

How to Save Any Webpage as PDF (All Browsers & Methods)

Learn how to save web pages as PDF in Chrome, Firefox, Safari, and Edge — plus how to handle dynamic pages, paywalled content, and print-unfriendly sites.

How to Save Any Webpage as PDF (All Browsers & Methods)
AT

AltoUnlockPDF Team

PDF Tools Expert

Whether you’re archiving an article, saving a receipt, or sharing a web-based report, saving a webpage as PDF is one of the most practical skills in modern computing. Here’s every method, for every browser.


Chrome (Desktop)

  1. Open the page you want to save
  2. Press Ctrl+P (Windows/Linux) or Cmd+P (Mac)
  3. In the Destination dropdown, select Save as PDF
  4. Optionally adjust: Paper size, Orientation, Margins, Scale
  5. Check Background graphics if the page uses colored backgrounds
  6. Click Save

Pro tip: Set margins to “None” for full-bleed output, or “Custom” to set exact values.


Firefox

  1. Press Ctrl+P (or File → Print)
  2. Select Microsoft Print to PDF (Windows) or Save to PDF (Mac)
  3. Click Print

Firefox’s print dialog is simpler than Chrome’s but produces solid results.


Safari (Mac/iPhone)

Mac:

  1. File → Export as PDF OR
  2. File → Print → PDF (bottom left of print dialog) → Save as PDF

iPhone:

  1. Open the page in Safari
  2. Tap the Share button (square with arrow)
  3. Scroll right in the share sheet → Print
  4. Pinch-zoom outward on the print preview to get a PDF
  5. Tap the Share icon → Save to Files
Saving a webpage as PDF on different browsers

Microsoft Edge

  1. Press Ctrl+P
  2. Select Save as PDF in the Printer dropdown
  3. Edge also has Web capture (Ctrl+Shift+S) for scrolling screenshots — useful for long pages

The Problem: Pages That Print Badly

Many websites have print stylesheets that hide ads and navigation but don’t always work well. Common problems:

  • Navigation menus appear in the PDF
  • Sidebar ads take up half the page
  • Content is cut off at the edges
  • White-on-dark text becomes invisible

Solutions:

1. Use Reader Mode First

Chrome, Firefox, and Safari all have a reader mode that strips ads and formatting. Enable it, then print.

  • Firefox: Click the reader-mode icon (book icon) in the address bar
  • Safari: Click the reader icon on the left of the address bar
  • Chrome: No built-in reader, but the Reader Mode extension works great

2. Use Print-Friendly Extensions

  • Print Friendly & PDF — removes ads, lets you delete unwanted sections
  • SingleFile — saves the complete page as a single HTML file, then you can print it

3. Use AltoUnlockPDF

Paste the URL into our HTML to PDF tool — it fetches the page and converts it with print-optimized settings.


Handling Dynamic / JavaScript-Heavy Pages

Some pages (React SPAs, live dashboards) don’t print well because the HTML doesn’t contain the rendered content.

Solutions:

  • Use Chrome’s print — it renders JavaScript before printing
  • Use Puppeteer with waitUntil: 'networkidle0' to wait for async content
  • Use our online tool, which runs a real browser to capture the fully-rendered page

Saving Multiple Pages / Entire Websites

For archiving an entire website section:

  • HTTrack — offline website copier, then print each page
  • Wget — command-line recursive download
  • Scrapbook X — Firefox extension for web archiving
Web page archived as PDF documents

PDF Quality Tips

SettingRecommendation
Paper sizeA4 (international) or Letter (US)
MarginsCustom: 10–15mm works for most pages
Scale100% for exact size; reduce if content is cut off
Background graphicsEnable for design-heavy pages
Two-sided printingOff for digital PDFs

Conclusion

For most web pages, your browser’s built-in Print → Save as PDF is all you need. For tricky sites with ads or dynamic content, Print Friendly extensions or our online converter handle the heavy lifting. The key is knowing which tool fits the page you’re dealing with.

For web archiving best practices, the Internet Archive Wayback Machine is the gold standard reference.

Related Articles