HTML to PDF

Paste any URL or HTML snippet and we'll render it to a PDF. Page size, orientation and margins are configurable. Everything runs locally in your browser.

Source
Due to browser CORS rules, fetching arbitrary external URLs may not work. For best results, use the HTML snippet tab below.
Local processing

HTML to PDF Online — Render Any HTML or URL as a PDF

The HTML to PDF tool at PDFGuru lets you produce a polished PDF from any HTML snippet or published web page. Paste your own HTML markup — for instance the result of a newsletter template, a doodle of a printed receipt, a draft contract clause — and PDFGuru renders it into an A4 PDF using the browser's own engine, then packages the result with jspdf. Choose between five standard page sizes (A4, US Letter, A5, A3, Legal) and a freely adjustable margin.

For URLs, paste a full https link. Bear in mind that the same-origin policy of modern browsers means PDFGuru (running locally) cannot fetch arbitrary third-party websites unless they are served with permissive CORS headers — for many sites, you will need the HTML snippet tab where you paste the actual content yourself. This is a deliberate privacy choice: PDFGuru never proxies your URL through any third-party renderer.

The browser's own HTML engine is the renderer, so what you write is precisely what you get. Inline CSS works, embedded images via data: URLs work, and web fonts loaded from your Style tags will render identically to how they appear in a Chrome tab. The conversion quality matches the source HTML perfectly because we never ship the content to a remote server for re-rasterising.

The output is a clean, text-searchable PDF. The HTML is laid out onto an off-screen iframe, rendered with html2canvas into a pixel-perfect single-page image, then layered onto one or more A4 pages depending on content length. The result is a polished, ready-to-share PDF document.

Try the HTML-to-PDF tool above — there is no signup, no per-day quota and absolutely no upload endpoint. Build PDFs directly from your snippets in seconds.

HTML to PDF — Frequently Asked Questions

Browser CORS rules prevent a local script from reading another website's HTML. Most public sites don't send permissive CORS headers. Use the HTML snippet tab to paste content directly to bypass CORS limitations.
External stylesheets will attempt to load but may be blocked by CORS. Inline CSS (style attributes or