Skip to content

HTML to PDF

Paste HTML or drop an .html file and get a PDF with real, selectable text. Scripts are never run and nothing is uploaded.

Processed on your device · no upload

Drop HTML files here or choose files

HTML files (.html) · drop several for a batch · or paste with Ctrl+V

PreviewA4 · clean

Your document appears here.

Add some html to get a PDF file

Type, paste or drop a file above, or press “Try a sample”.

What to do next

How to use HTML to PDF

  1. Add your HTML

    Paste the HTML or drop one or more .html files. The preview shows exactly what goes into the PDF.

  2. Pick the look

    Choose A4 or Letter, the margins, a style, text size, page numbers and an optional table of contents.

  3. Download the PDF

    One click gives a PDF with selectable text and clickable links. Several files give a ZIP, or one combined PDF.

  4. Edit more

    Open the result in the PDF editor to add a signature, text or pictures.

Frequently asked questions

Is the HTML uploaded or run?
No. The HTML is cleaned in your browser (scripts, styles, frames and forms are removed with DOMPurify) and turned into a PDF on your device. Nothing is sent anywhere and no script ever runs.
Does it work like “print to PDF” in a browser?
Not exactly. It converts the content and its structure: headings, paragraphs, lists, tables, links, pictures, code, and basic inline formatting such as colour, bold, italic and alignment. Page CSS, classes, scripts and complex layouts (columns, floats, grids) are not reproduced. For a page that depends on its design, use your browser’s Print › Save as PDF.
Can I convert a web page by URL?
No. Websites usually block other pages from reading them. Open the page, copy its HTML or save it as .html, and paste or drop it here.
Why is a picture missing?
A picture that lives on another website can only be used if that site allows it. Pictures inside the HTML as data: links or relative to nothing always work; others may be left out and you are told how many.
Is the text selectable and searchable?
Yes. It is a real text PDF with embedded fonts. Vietnamese, Cyrillic and Greek work; Chinese, Japanese, Korean and emoji are drawn as small pictures.
Is there a watermark or limit?
No watermark, no signup, no page limit.