How to Save Any Webpage as PDF Online Free
You hit Cmd+P on a long article you want to save. The browser Print dialog opens, the preview shows the article mangled into pieces, the sidebar ads bleed across pages, the layout breaks because no one designed a 1500-word essay to print on paper. You give up and screenshot it instead, ending up with a JPG that has no selectable text, no working links, and looks blurry on retina displays. This is the universal experience of trying to save a webpage as PDF using your browser.
iHatePDF Webpage to PDF does it properly. Paste any public URL, pick the page size and orientation, decide on backgrounds and margins, and the tool renders the page on a real server-side browser, exactly as a browser would display it, then saves the rendered output as a clean PDF. Articles save as proper articles. Recipes look like recipes. Wikipedia entries become readable documents you can keep forever, even if the original page changes or disappears. The same tool also includes a second mode for converting raw HTML markup directly to PDF, useful for previewing email templates, system-generated invoices, or any HTML you have on hand without needing to host it on a public URL first.
For a webpage URL: Open Webpage to PDF → paste the URL → pick page size and margins → Convert → Download
For an .html file or raw HTML markup: Open the separate HTML to PDF tool, which accepts either a URL (same input as Webpage to PDF) or an .html file upload from your device.
Both tools support A4, Letter, Legal, Tabloid, landscape, portrait, custom margins, and background on/off.
How to convert a webpage to PDF online for free
- Paste the URL of the webpage you want to save as PDF. Any public webpage works, articles, receipts, recipes, documentation, anything.
- Choose your page size (A4, Letter, Legal, and more), orientation (portrait or landscape), and margin width.
- Decide whether to include the page background colours and images, and whether to fit the full page onto one sheet or split across multiple.
- Click Convert. The tool fetches the page on the server and renders it, fonts, images, layout, everything, exactly as it appears in a real browser.
- Download the finished PDF, or send it straight to another tool: Merge with other documents, Compress, Sign, or Share without re-uploading.
Working with HTML markup or .html files? Use HTML to PDF (separate tool)
Webpage to PDF only accepts a URL. For raw HTML markup or .html files, use the separate HTML to PDF tool. It accepts three input types: a URL (same as Webpage to PDF), pasted HTML markup, or an .html file uploaded from your device.
- Open the separate HTML to PDF tool.
- Provide your input: paste a URL, paste raw HTML markup, or upload an .html file from your device.
- Pick page size (A4, Letter, Legal, more), orientation, margins, and background settings.
- Click Convert. The input is rendered server-side using the same browser engine and saved as a PDF.
- Download the result, or chain into Merge, Compress, Sign, or any other tool.
When HTML to PDF is the right choice
- Email template previews. HTML email designs do not have public URLs. Paste the markup and get a PDF preview.
- System-generated invoices. E-commerce platforms and billing systems produce HTML invoices. Paste the HTML output to get a PDF receipt.
- Internal dashboards and reports. Reports from internal tools (Tableau exports, custom dashboards) often have non-public HTML output. Paste them in directly.
- Local .html files. Have an .html file saved on your computer? Upload directly, no need to host it anywhere.
- Code or markup snippets. Convert formatted HTML fragments or design system samples into shareable PDFs.
- Quick mockups. Paste a one-off HTML/CSS mockup and share a PDF without deploying anywhere.
Quick decision rule: if your input is a URL, either tool works. If your input is HTML markup or an .html file, only HTML to PDF handles it.
- Works best with public pages. Login-protected pages cannot be accessed.
- Some sites (Google, Twitter, LinkedIn) may block automated access. Try once, if it fails the site is blocking us specifically.
- Enable Include backgrounds to capture the full page design as-is.
- Use Landscape for wide tables and dashboards.
- Wikipedia, news sites, blogs, documentation, and recipe sites work perfectly.
Why this instead of browser Print or screenshots
- vs Browser Print (Cmd+P / Ctrl+P). Browser print dialogs were designed for traditional documents, not modern responsive layouts. Long articles get mangled, sidebars bleed into content, ads print as huge blocks, navigation menus repeat on every page. The server-side renderer handles modern CSS properly and produces a clean linear PDF.
- vs Screenshots. Screenshots are images. No selectable text, no working hyperlinks, no copy-paste, blurry on retina displays. A real PDF preserves text as text, keeps links clickable, and stays crisp at any zoom level.
- vs Browser extensions. Save-as-PDF extensions require install, take up memory, request permissions to read every page you visit, and break with browser updates. A server-side tool is install-free and runs in any browser including mobile.
- vs Print Friendly websites. Many alternatives serve ads, gate the orientation option behind a paid tier, watermark the output, or require a signup. The tool here is fully free with no watermark.
- vs developer tools (wkhtmltopdf, Puppeteer). Developer tools work perfectly but require installation, configuration, and command-line skills. The tool here gives you the same engine quality with a paste-and-click UI.
What to save as PDF and why
| Content type | Why save as PDF |
|---|---|
| News articles and long-form journalism | Read offline, archive before paywalls or removals |
| Receipts and order confirmations | Tax records, expense claims, warranty documentation |
| Recipes | Cook offline without a screen on the counter, share with friends |
| Documentation (technical, API, software docs) | Offline reference, version-stable copy of the docs as of a date |
| GitHub READMEs and wiki pages | Snapshot of a project state, attach to internal reports |
| Wikipedia entries | Reference material, study material, knowledge archive |
| Travel reservations and tickets | Offline-accessible at airports with no signal, immigration evidence |
| Job postings | Save the JD before it expires, reference for interviews |
| Real estate listings | Snapshot before the listing goes off-market, comparison archive |
| Tax and legal information pages | Record of what was published on a specific date, evidence in disputes |
| Blog posts and tutorials | Reference offline, share with team via email or Slack |
| Product pages and reviews | Compare offers, save price-at-date for warranty disputes |
Page size, orientation, and margin guide
The defaults work for most uses, but matching the settings to your downstream use produces a cleaner result.
- A4, portrait, default margins. The safest universal default. Works for any article, blog post, or text-heavy page anywhere outside the US.
- Letter, portrait, default margins. Same as above but for US contexts (US Letter is slightly wider and shorter than A4).
- Legal, portrait. For long-format pages where you want fewer page breaks. Common in US legal contexts.
- A4 or Letter, landscape. For wide tables, dashboards, code blocks, infographics, comparison charts. Anywhere horizontal width matters more than vertical length.
- Tabloid (11x17 inches) or A3. Large-format archives, posters, exhibition material, or content with very wide images.
- Tight margins (5-10mm). For content-rich pages where you want to maximise text density.
- Wide margins (25-30mm). For clean reading copies, or PDFs you want to annotate by hand after printing.
Backgrounds: when to include and when to strip
The Include backgrounds toggle controls whether the page's coloured backgrounds, hero images, and decorative elements are kept in the PDF or replaced with plain white.
- Keep backgrounds on when archiving a page exactly as it looked, when preserving brand design, when capturing infographics or visual articles, when the design is part of the content.
- Strip backgrounds off when you plan to print the PDF (saves ink), when the dark theme of the page makes text hard to read on paper, when you only care about the article text and the rest is decoration.
A quick rule: digital archive = backgrounds on. Print copy = backgrounds off.
Workflow chaining
The webpage-to-PDF result is rarely the end. Common chains:
- Save, then merge. Save five recipe pages, then Merge PDF them into a personal cookbook.
- Save, then compress. Long pages with many images produce large PDFs. Compress PDF brings them under email attachment limits.
- Save, then sign. Some receipts and order confirmations need a signature for reimbursement. Sign PDF adds yours.
- Save, then convert. If you need the page content as a Word document for editing, PDF to Word extracts the text into an editable .docx.
- Save, then share. Use Share PDF as Link to send the saved page to someone with a temporary expiring link instead of an email attachment.
- Save, then archive. Combine with Google Drive / Dropbox / OneDrive integration to drop the saved page directly into a research folder.
Limitations: what cannot be saved
The tool is honest about its limits:
- Login-protected pages. Anything behind a username/password (private social media, banking, internal company tools, paywalled subscriptions) cannot be reached because the server has no session. Use browser Print to PDF after logging in instead.
- Sites that actively block automated access. Google search results, Twitter/X, LinkedIn, and some news sites detect server-side fetches and serve a block page or captcha. For those, use a browser extension or browser Print.
- Highly dynamic content. Pages that load most of their content via JavaScript user interactions (clicking through a slideshow, scrolling to load more) may render only the initial state. For those, scroll the page first in your own browser to load everything, then use browser Print to PDF.
- Locally hosted pages. URLs starting with localhost, 127.0.0.1, or internal corporate domains (10.x.x.x, 192.168.x.x) cannot be reached from the public internet. Open in your browser and Print to PDF instead.
iHatePDF Webpage to PDF vs alternatives
| iHatePDF | Browser Print (Cmd+P) | PrintFriendly / similar | |
|---|---|---|---|
| Modern layout rendering | Faithful | Often broken | Stripped down |
| Page size / margin control | Yes | Limited | Limited |
| Background images | On or off | Browser-dependent | Stripped |
| Fit to one page option | Yes | No | No |
| Watermark on free output | No | No | Some have |
| Workflow chaining to PDF tools | Yes (Merge, Sign, Compress) | No | No |
| Account required | No | No | Some require |
Privacy and security
The URL you paste, the fetched page content, and the generated PDF are all processed in your session and deleted within 1 hour. URLs submitted are not logged, not shared with third parties, not used for analytics or AI training. Important when saving paywalled content you have rights to access, internal documentation pages, or any URL with identifying tokens in the path or query parameters. Full picture in the privacy and security guide.
Frequently asked questions
Will the PDF look exactly like the webpage?
Yes, in most cases. The conversion uses a real browser engine on our server to fetch and render the page just as your browser would, then captures the rendered output as a PDF. Fonts, images, CSS layout, and styling all transfer. Small differences may occur with very dynamic content (auto-playing animations, video embeds), JavaScript-heavy single-page applications, or pages that adapt to viewport size in unusual ways. For static-content pages (articles, blogs, documentation, recipes, Wikipedia entries), the result is essentially identical to what you see in a browser.
Can I save webpages that need a login?
No. The tool fetches the URL from our server, which has no access to your authenticated session. Pages behind a login (private Facebook, your bank statements, internal company tools, paywalled news articles you subscribe to) cannot be reached. For those, use Print to PDF in your own browser after logging in (Cmd+P on Mac, Ctrl+P on Windows, then save as PDF), or copy-paste the content into a Word document and use Word to PDF instead.
Will images and styling be included?
Yes. The renderer downloads all images, fonts, and CSS files just like a normal browser. Background images, embedded photos, infographics, icons, and custom fonts all appear in the PDF. The Include backgrounds option is separate, that controls whether the page's coloured backgrounds are kept (for a true archive of how the page looked) or stripped (for cleaner print output with less ink usage).
Can I archive an article so it survives if the original site goes down?
Yes, this is one of the most common use cases. News articles get removed, blogs disappear, companies redesign their sites and break old URLs, paywalls go up, individual posts get deleted by their authors. Save articles you might want to reference later as a PDF and they are yours forever. The PDF includes the full text content, images, and styling, so it remains readable years later regardless of what happens to the original page. For long-term archival, also note the URL itself so you have a record of where it came from.
Why is my page split across multiple PDF pages?
By default, the converter respects natural page breaks based on your chosen page size. A long article that runs 5 screens worth of scrolling will produce a multi-page PDF, broken at sensible points. If you want everything on a single tall page instead, enable the Fit to one page option, which generates a single, long PDF page matching the full height of the webpage. Useful for archiving a complete view at a glance, less useful for printing on physical paper.
What page sizes do you support?
A4 (210x297mm, the international standard), Letter (216x279mm, the US standard), Legal (216x356mm, common in US legal documents), Tabloid (279x432mm, larger format), A3 (297x420mm, oversized), A5 (148x210mm, compact), and several more. A4 is the safest default for international use. Letter is the safest default for US use. Pick what fits your intended downstream use: printing, emailing, archiving, or feeding into another PDF tool.
Is there a file size limit on the source page?
Very long pages with hundreds of high-resolution images can produce PDFs of 50+ MB, the practical limit is around 100 MB per generated PDF. For most articles, blogs, documentation, and news pages, the result is well under 5 MB. If a generated PDF is too large for your needs (email attachment limits, slow uploads), run it through Compress PDF afterwards to reduce the size by 50-90 percent.
Are the URLs I submit kept private?
Yes. The URL you paste, the fetched page content, and the generated PDF are all processed in your session and deleted within 1 hour. We do not log URLs submitted, do not share with third parties, do not use them for analytics or AI training. Important if you are saving paywalled content you have rights to access, internal documentation, or any URL that contains identifying tokens in the path or query parameters.
Is this webpage to PDF converter really free?
Yes. No account required. No watermark on the output PDF. No limits on the number of webpages you can save per day. No paid tier holding back features. Some competitors gate landscape orientation, custom margins, or background-image inclusion behind paid plans, this tool includes all of them for free.
Server-side render, custom page size, backgrounds on/off. Free, no signup, no watermark.
Open Webpage to PDF →Use other tools
Everything you need to work with PDFs, free, fast, and private.
Show all tools →