Skip to content

§ Convert HTML to PDF

Convert HTML to PDF

Paste your HTML below, pick a page size, and download a real PDF right now, free, in your browser. When you need the same job done 10,000 times a month, the Sitepdf API does it with one call and archives every page it renders.

  • Early access, launching soon
  • No card required
  • Your HTML stays yours

§ Live demo

Runs in your browser. Nothing is uploaded.

Your PDF is downloading. Want this as one API call, with the page archived too?

§ 01

Convert HTML to PDF without installing anything

The converter above runs entirely in your browser. Your markup is rendered exactly as a browser sees it, then written to a downloadable PDF on your own machine. Nothing is uploaded, nothing is stored, and there is no signup wall between you and the file. It is the fastest way to turn an invoice template, a report, or any fragment of HTML into a document you can send.

Pick A4, Letter or Legal, portrait or landscape, and set the margins. If the output looks wrong, edit the HTML on the left and the preview updates as you type. When it looks right, generate the PDF again. That loop, edit, preview, download, is the whole tool.

§ 02

When the browser tool stops being enough

A one-off conversion belongs in the browser. Production does not. The moment PDFs become part of your product, invoices after checkout, monthly statements, signed reports, you need conversions that run server side, unattended, at volume, with the same output every time. That is an API job, and when it is thousands of files at once it becomes a bulk HTML to PDF batch.

One call to Sitepdf takes a URL or raw HTML and returns a pixel perfect PDF rendered by real managed Chromium: your CSS, your web fonts, your JavaScript, all honored. The same call can archive a timestamped snapshot of what was rendered, so you keep proof of every document you ever generated. See how the render and archive flow works step by step.

§ 03

One call, from your stack

No headless browser to install, no queue to babysit, no font packages to patch. Send the HTML, get the document. If your source is a live page rather than markup you already have, the web page to PDF and URL to PDF API pages cover that path.

The API shape early access unlocks: raw HTML in, PDF plus archive out.
curl https://api.sitepdf.com/v1/render \
  -H "Authorization: Bearer $SITEPDF_KEY" \
  -F [email protected] \
  -F format=A4 \
  -F margin=normal \
  -F archive=true

{
  "pdf_url": "https://api.sitepdf.com/v1/documents/doc_8f3k2.pdf",
  "archive": {
    "id": "arc_o2m91",
    "captured_at": "2026-07-11T09:14:02Z",
    "retrieve_url": "https://api.sitepdf.com/v1/archives/arc_o2m91"
  }
}

The API is in early access; this is the documented call shape it opens with. Full request and response walkthrough.

§ 04

Questions about this job

Is the HTML to PDF converter on this page really free?
Yes. It runs fully in your browser, so it costs us nothing to serve and costs you nothing to use. No signup, no watermark, no upload. The paid product is the API, which does the same conversion server side at scale and archives every render.
Does my HTML get uploaded when I use the demo?
No. The demo renders and converts your markup inside your own browser tab. Your HTML never leaves your machine. That is also why the demo takes pasted HTML rather than fetching URLs: browsers cannot fetch arbitrary sites cross origin. The API, which runs on our servers, does fetch live URLs.
Will my CSS and web fonts survive the conversion?
In the browser demo, whatever your browser can render is what lands in the PDF. Through the API, pages render in managed Chromium with full CSS, web font and JavaScript support, plus a wait for selector option for content that arrives late.
How do I convert HTML to PDF automatically every day?
That is exactly what the API is for: one HTTP call from a cron job, a queue worker or your backend code. Join early access and we will email your invite; planned pricing starts at $29 a month, locked for early access members.

§ Early access

Get on the early-access list

The API opens to the list first, in order. Early access locks the planned launch rates for 12 months. No card required, launching soon.

Render + archive, one API