To pdf

HTML to PDF Converter — Free, From URL or HTML

From URL, pasted HTML or uploaded .html — pick page size, orientation, margin, and download. Browser-only, no server.

Sponsored
Ad Space — Responsive 970×90

Note: cross-origin pages without permissive CORS cannot be fetched from a browser. For sites that block CORS, use "Paste HTML" instead.

Page size

Render quality

Convert HTML & webpages to PDF — three workflows, one tool

"HTML to PDF" sounds like one job, but in practice it's three different ones. You might want to archive a webpage as a permanent PDF for citation or compliance. You might be a developer who needs to preview an HTML invoice or report as a PDF before emailing. Or you might have a saved .html file (an article from a news site, an HTML email export) and want it as a portable PDF. GN PDF handles all three in the same interface — pick the right tab and the conversion runs entirely in your browser.

Three modes, side by side

  • From URL — paste a webpage URL. We fetch and render it. Works for any site that allows cross-origin requests (most blogs, documentation sites, status pages, government portals).
  • Paste HTML — paste raw HTML / a snippet / a copy-pasted article body. Useful when the source site blocks CORS (Twitter, LinkedIn, paywalls).
  • Upload .html / .htm — drop a file saved from your browser (Ctrl+S → Webpage Complete) or an HTML email export. Inline images and stylesheets are picked up automatically.

Full design control over the output PDF

Where most "URL to PDF" tools give you a button and hope, we expose the controls a real designer or developer needs:

  • Page size — A4, US Letter, Legal, A3, A5.
  • Orientation — Portrait or Landscape.
  • Margin in millimetres (0 to 50).
  • Render scale (1× to 3×) for crisper text on retina displays and print output.
  • Toggle background colours / images (set off for a clean print-friendly PDF; on for an exact visual snapshot).
  • Hide site chrome — remove headers, navigation bars and footers so you get the article content only.

What HTML-to-PDF is great for

  • Article archival. Save evidence of a blog post, news article, or social post for compliance, citation, or personal record.
  • Invoice & receipt rendering. A web app that emits HTML invoices can convert to PDF here without a server-side Chromium dependency.
  • Email signature exports. Convert a designed HTML email into a PDF version for non-email distribution.
  • Documentation snapshots. "What did the docs say on 26 March 2026?" — convert and timestamp.
  • Internal reports & dashboards. Convert a Notion / Confluence / HTML dashboard page to a clean PDF for board distribution.
Sponsored
Ad Space — In-Article

Frequently asked questions

Can I convert any webpage to PDF?
You can convert pages where CORS allows direct fetch. Many large sites (Twitter, LinkedIn, news paywalls) restrict cross-origin fetches — in those cases, copy the article HTML using your browser's "Save Page As" or DevTools and paste it into the "Paste HTML" tab instead.
Will the PDF look exactly like the webpage?
It will be very close. Fonts, layout, colours and most CSS work. Things that may not transfer: complex JavaScript-driven widgets that only render after user interaction (sliders, expandable sections that need a click), and live video/iframe content. Static articles, invoices, receipts, dashboards and reports render essentially identically.
Can I convert a local .html file?
Yes — use the "Upload .html / .htm" tab to drop a saved-from-browser file or an HTML email export.
Does it support paginated PDFs?
Yes. We slice the rendered page into A4 / Letter / Legal / A3 / A5 pages with the margin you choose. Portrait or landscape, your call.