Paste HTML, get a PDF
Paste HTML. Get a PDF that keeps the formatting. Free, no account, no watermark.
The same render over the API, with a free key: 50 renders a month, no credit card.
Free fair use: a few renders per minute and ten per day per address, one shared pool across every tool. For anything automated, the API includes 50 free renders a month.
Public http(s) sources only. Private and local addresses are refused; bot protection, login requirements, unreachable pages, and thin content can prevent output. Target limits and render errors.
How it works
- Your pasted HTML loads in a real headless Chromium as a standalone document.
- If you gave a base URL, relative image and stylesheet references resolve against it, exactly like an explicit base element would; a base element already inside your document is honoured as authored.
- The print engine lays the document out at the chosen paper size and streams the PDF back.
The base URL is the part that matters
A pasted document has no origin, so src="photo.jpg" has nothing to resolve against and comes out broken. Point the base URL at the document's home directory and the pieces load; that single field is the difference between a PDF that keeps the formatting and one that does not. Filling it for a document that already carries a
Who uses this
People turning an email or a template into a file, teams rendering an invoice or report body without standing up a renderer, and developers checking what their markup looks like on paper before wiring the HTML to PDF API into a service. The rendered bytes are the same engine the API sells, a curl away; the curl shown after a successful render is the exact calls, and a free key does 50 renders a month.
The limits that actually bite
The document is the free slice: paper sizes here are A4 and Letter, and margins, headers, footers, page ranges and encryption are API-only (they are listed on the formatting guide). The anonymous allowance is a few renders per minute and ten per day per address, one shared pool across every tool on this site. The 1 MB request cap bounds the pasted document.
Questions
Why do my images and stylesheets not load?
A pasted document has no origin, so relative references like src="photo.jpg" have nothing to resolve against. Give the base URL field your document's home (for example https://example.com/docs/) and the browser resolves relatives against it, the same way an explicit base element would.
What happens if my document already sets its own base?
It is honoured as authored. When you also fill the base URL field, the request is refused rather than guessed at: the two ways of setting a base conflict, and the error tells you so.
Why was my document refused for thin content?
The print engine refuses documents with almost no text (an image-only canvas, for instance) because that is almost always a mistake, and a PDF of empty pages is never what was wanted. Add real content or render a page URL instead.
Do scripts in my document run?
The document is loaded in a real Chromium and given the same settle budget as any render, so scripts run within configured limits. References to internal or private addresses are stripped from the render by the same request guard the API uses.
Which paper sizes can I pick?
The form offers A4 and Letter, and the free endpoint accepts the API's full page-size list: A4, A3, Letter, Legal, A5. Margins, headers, footers, page ranges and encryption stay API-only; this page is the free slice.
Render your first page in seconds
Mint a key, POST a URL, and the finished document comes back in the same response; pass ?wait=false for a job ticket with poll and download URLs. The first 50 renders a month are free, and there is no credit card. Not ready for a key? The free URL to PDF tool renders public pages without one.