May 12, 2026 · HTML To PDF
How To Convert A Web Page Or HTML To PDF
Saving a web page as a PDF from your browser's print dialog kind of works. The header and footer are wrong, the margins are weird, and dynamic content sometimes doesn't render. A purpose-built converter does better.
HTML To PDF uses headless Chromium to render pages the way the browser would, then captures the result to PDF. JavaScript runs. Custom fonts load. The output is what you actually see, not a broken approximation.
URLs And Pasted HTML
Two modes. Enter a public URL and Chromium fetches and renders it. Or paste HTML directly and Chromium renders that. The pasted-HTML mode is useful for testing email templates, generating invoices from server-rendered HTML, or capturing content from logged-in pages by saving the HTML locally first.
Will JavaScript Run
Yes. The page renders in headless Chromium with a 30-second timeout for dynamic content. Single-page-apps, late-loading images, and JavaScript-driven layouts all render correctly within that window.
Pages that take longer than 30 seconds to settle may produce incomplete output. If you control the page, ensure critical content loads early.
What About Pages Behind A Login
Not directly supported. The worker has no way to authenticate as you to a third-party site. The workaround: save the rendered page from your logged-in browser as HTML, then use the pasted-HTML mode to convert that.
How To Convert
Open HTML To PDF. Enter a URL or paste HTML. Pick A4 or Letter, set margins. Click Convert. Download the result.
Render a web page to a clean PDF with HTML To PDF. Free up to 5 conversions per day.