A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.

Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.

✓ Free to use✓ No sign-up✓ 500+ possibilities
PDF

HTML to PDF — Convert Web Page or HTML to PDF

Paste HTML or a public URL and get back a properly rendered PDF

Loading interactive tool…

About this tool

HTML to PDF turns a chunk of HTML or a public URL into a print-ready PDF using a real headless Chromium engine on the server, so CSS, web fonts, gradients, flexbox, and JavaScript all render exactly as they would in your browser. Paste markup directly into the editor or supply a URL, choose a paper size (A4, Letter, A3, A5, or Tabloid) and a margin preset, and click Convert. The backend launches Playwright, navigates the page or HTML document, waits for network idle, then prints to PDF and streams the result back. Perfect for archiving articles, generating invoices from HTML templates, snapshotting documentation, or building a quick weekly report from a page that already looks good in a browser. Files are processed over HTTPS and deleted as soon as the response is sent.

Why use it

  • Real Chromium Rendering: A full headless browser handles modern CSS (flex, grid, gradients), web fonts, and JavaScript-driven content — not a lossy HTML-to-PDF parser.

  • URL or Raw HTML Input: Paste a finished snippet directly, or hand the server a URL — both produce identical print fidelity.

  • Paper-Size Picker: A4, Letter, A3, A5, and Tabloid covered, so you can match office defaults or large-format prints.

  • Margin Presets: Quick choice between none, narrow, normal, and wide — handy when print layouts have tight or generous margins.

  • Auto-Deleted Uploads: The HTML/URL is processed in memory and the PDF is streamed back; nothing is retained on the server.

  • Free with No Watermark: Convert pages and templates without account creation, daily quota, or PDF branding.

How to use

  1. Choose your input mode — paste HTML directly, or supply a public URL the server can reach.
  2. Pick a paper size: A4 (default), Letter, A3, A5, or Tabloid for large prints.
  3. Choose a margin preset (none, narrow, normal, wide) — narrow works best for dense print layouts.
  4. Click Convert to PDF — the server renders your input with a real headless browser and streams back the result.
  5. Wait a few seconds while Chromium loads the page and waits for network idle.
  6. Download the PDF and verify the layout — large pages may need 'narrow' margins to avoid clipping.

When it helps

  • When archiving a long-form article or web page that may disappear so you have a print-fidelity record.
  • When generating customer invoices or quotes from an HTML template instead of a PDF library you don't want to maintain.
  • When snapshotting a documentation page or wiki article for offline distribution.
  • When preparing a press kit by converting your published web articles to crisp print PDFs.
  • When designers want a styled PDF preview of an HTML mockup without firing up the browser print dialog.
  • When automating a weekly internal report by pasting in the HTML email body and saving the rendered PDF.

Examples

URL to PDF

Input
https://example.com/blog/why-pdfs (A4, normal margins)
Expected result

blog-why-pdfs.pdf — multi-page article rendered with web fonts and styling intact

Invoice template

Input
Pasted HTML invoice template using inline CSS, Letter size, narrow margins
Expected result

invoice.pdf with crisp typography and table borders matching the HTML preview

Wiki snapshot

Input
https://docs.example.com/runbook (A4, narrow margins)
Expected result

runbook-snapshot.pdf with full TOC and code blocks rendered exactly as on screen

Tips

  • If your HTML uses external CSS, inline it or use absolute URLs to assets — relative paths won't resolve when only HTML is pasted.
  • Set @page CSS rules in your HTML to control page breaks and headers/footers for crisp print output.
  • For multi-page articles, prefer A4 with normal margins; for poster-style content use Tabloid with no margins.
  • Avoid inline iframes from third-party services — they often refuse to embed and produce blank pages.
  • If a page renders blank, it may be hidden behind a cookie banner — supply HTML with the banner stripped out for cleaner output.

Frequently Asked Questions

Does it render JavaScript-driven content?
Yes. The server uses Playwright with Chromium and waits for network idle before printing, so JS-rendered widgets, charts, and SPAs come through correctly.
Can I convert pages behind a login?
No — only publicly reachable URLs work. For authenticated pages, paste the rendered HTML directly into the editor instead.
What paper sizes are supported?
A4, Letter, A3, A5, and Tabloid. A4 is the default; pick Letter for North American defaults or Tabloid for large posters.
Are my URLs or HTML logged?
No. Inputs are processed in memory and discarded as soon as the PDF is streamed back.
How big can the HTML be?
Pasted HTML up to about 10 MB renders fine. For larger documents, host the HTML somewhere reachable and supply the URL instead.
Why does my PDF have huge blank gaps?
Modern web pages often use viewport-height tricks; print CSS may be needed. Add @page and explicit page-break rules, or use 'narrow' margins to compress whitespace.
Is there a rate limit?
Yes — fair-use throttling matches the rest of UtilityKit's backend tools. Casual use never hits it; bulk automation should batch responsibly.
Can I disable the cookie banner from a target site?
Not directly — fetch the page yourself, strip the banner, and paste the cleaned HTML into the editor for the cleanest output.

Explore the category

Glossary

Headless Browser
A browser that runs without a visible window, used to render web pages programmatically and capture output.
Playwright
An open-source headless-browser automation library used here to load HTML/URL inputs and produce a PDF.
Network Idle
A wait condition that fires after no network requests have been in flight for ~500 ms — a strong signal a page has finished loading.
Paper Size
The physical or virtual page dimensions of the output PDF; A4 and Letter are the most common.
Margin Preset
A pre-defined combination of top/right/bottom/left margins so users don't have to specify pixel values.
SSRF
Server-Side Request Forgery — the class of attack we mitigate by blocking requests to private/internal IPs.