← Back to blog
How To

How to Save Any Webpage as PDF Online Free

Apr 15, 2026·9 min read

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.

Quick answer

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

  1. Paste the URL of the webpage you want to save as PDF. Any public webpage works, articles, receipts, recipes, documentation, anything.
  2. Choose your page size (A4, Letter, Legal, and more), orientation (portrait or landscape), and margin width.
  3. Decide whether to include the page background colours and images, and whether to fit the full page onto one sheet or split across multiple.
  4. 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.
  5. 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.

  1. Open the separate HTML to PDF tool.
  2. Provide your input: paste a URL, paste raw HTML markup, or upload an .html file from your device.
  3. Pick page size (A4, Letter, Legal, more), orientation, margins, and background settings.
  4. Click Convert. The input is rendered server-side using the same browser engine and saved as a PDF.
  5. Download the result, or chain into Merge, Compress, Sign, or any other tool.

When HTML to PDF is the right choice

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.

Tips for best results
  • 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

What to save as PDF and why

Content typeWhy save as PDF
News articles and long-form journalismRead offline, archive before paywalls or removals
Receipts and order confirmationsTax records, expense claims, warranty documentation
RecipesCook 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 pagesSnapshot of a project state, attach to internal reports
Wikipedia entriesReference material, study material, knowledge archive
Travel reservations and ticketsOffline-accessible at airports with no signal, immigration evidence
Job postingsSave the JD before it expires, reference for interviews
Real estate listingsSnapshot before the listing goes off-market, comparison archive
Tax and legal information pagesRecord of what was published on a specific date, evidence in disputes
Blog posts and tutorialsReference offline, share with team via email or Slack
Product pages and reviewsCompare 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.

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.

A quick rule: digital archive = backgrounds on. Print copy = backgrounds off.

Workflow chaining

The webpage-to-PDF result is rarely the end. Common chains:

Limitations: what cannot be saved

The tool is honest about its limits:

iHatePDF Webpage to PDF vs alternatives

iHatePDFBrowser Print (Cmd+P)PrintFriendly / similar
Modern layout renderingFaithfulOften brokenStripped down
Page size / margin controlYesLimitedLimited
Background imagesOn or offBrowser-dependentStripped
Fit to one page optionYesNoNo
Watermark on free outputNoNoSome have
Workflow chaining to PDF toolsYes (Merge, Sign, Compress)NoNo
Account requiredNoNoSome 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.

Save any webpage as a clean PDF

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.

Merge PDFSplit PDFCompress PDFSign PDFPDF to WordWord to PDFPDF to JPGJPG to PDFPDF to PowerPoint
Show all tools →

Related guides