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.
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)
- Open the page you want to save
- Press Ctrl+P (Windows/Linux) or Cmd+P (Mac)
- In the Destination dropdown, select Save as PDF
- Optionally adjust: Paper size, Orientation, Margins, Scale
- Check Background graphics if the page uses colored backgrounds
- Click Save
Pro tip: Set margins to “None” for full-bleed output, or “Custom” to set exact values.
Firefox
- Press Ctrl+P (or File → Print)
- Select Microsoft Print to PDF (Windows) or Save to PDF (Mac)
- Click Print
Firefox’s print dialog is simpler than Chrome’s but produces solid results.
Safari (Mac/iPhone)
Mac:
- File → Export as PDF OR
- File → Print → PDF (bottom left of print dialog) → Save as PDF
iPhone:
- Open the page in Safari
- Tap the Share button (square with arrow)
- Scroll right in the share sheet → Print
- Pinch-zoom outward on the print preview to get a PDF
- Tap the Share icon → Save to Files
Microsoft Edge
- Press Ctrl+P
- Select Save as PDF in the Printer dropdown
- 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
PDF Quality Tips
| Setting | Recommendation |
|---|---|
| Paper size | A4 (international) or Letter (US) |
| Margins | Custom: 10–15mm works for most pages |
| Scale | 100% for exact size; reduce if content is cut off |
| Background graphics | Enable for design-heavy pages |
| Two-sided printing | Off 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
How to Save an HTML Email as PDF (Gmail, Outlook & Apple Mail)
Step-by-step instructions to save HTML emails as PDF in every major email client — and how to handle emails that print poorly.
Read Article
Generating PDF Invoices from HTML Templates (Free & Paid Methods)
Create professional PDF invoices from HTML templates using free tools, open-source libraries, and SaaS APIs — with real code examples.
Read Article
Best WordPress PDF Plugins for Web Agencies (2026 Guide)
A complete guide for WordPress agencies on the best PDF export plugins, when to use a hosted API instead, and how to pick the right solution for every client project.
Read Article