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.
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.