Skip to main content
ToolsBay

Runs in your browser — nothing is uploaded · verify

HTML to PDF — free, and nothing is uploaded

Render raw HTML markup into a downloadable PDF.

  • Paste a fragment or a whole document — nothing about your site is disclosed.
  • Text comes out selectable and searchable, not baked into a bitmap.
  • Headings, lists, bold and italics are carried into the document structure.
Tab indents · Esc then Tab to leave1 line
  • 70 tools

    Free, with no account and no watermark

  • 0 bytes

    Of your files or text uploaded — this tool runs in the tab

  • No queue

    The work happens in this tab, not in a line behind other users

Three steps, nothing to install

HTML to PDF in three steps

  1. HTML123456Paste it in — it never leaves the tab

    Paste your markup

    Drop in a fragment or a whole document. It is parsed in the page, so nothing about your site is disclosed.

  2. HTMLPDFConverted on your own device

    Lay the content out

    Elements are measured and flowed onto pages, with headings kept with the text that follows them.

  3. Download PDF

    Download the PDF

    A document whose text you can still select, search and copy.

Why use HTML to PDF

  • Text runs, not a rasterised page

    The layout engine emits real text. Screen-capturing the markup instead is what produces a PDF you cannot search a single word of.

  • Parsed, not pattern-matched

    The input is read with a real parser and the output is written from what it found, rather than by rewriting the text with regular expressions.

  • Your text stays in the page

    What you paste is not transmitted or stored, so an API response full of customer records, a token or an internal query never leaves your machine.

Frequently asked questions

Yes. The PDF contains real text runs, so it can be selected, searched, copied and read by a screen reader. Tools that screenshot the page produce a PDF with none of those properties.

How this converts markup to a document

The HTML is parsed into a document tree, walked into a list of blocks — heading, paragraph, list item, table row, quote, code — and each block is typeset onto A4 with real text. Nothing is rendered to a canvas, so the output is a genuine text PDF rather than a picture of one.

Parsing happens with DOMParser into a detached document, so nothing in the markup you paste can execute or touch the page you are on.

What you gain and what you give up

You gain selectable, searchable, accessible text and a file measured in kilobytes rather than megabytes. You give up visual fidelity: this will not reproduce a styled marketing page. For document-shaped content — an invoice, a report, an article, a set of notes — that trade is almost always the right one.

For the reverse, PDF to HTML extracts a PDF's text into markup. To tidy the HTML before converting, use the HTML beautifier. For plain text input, Text to PDF is more direct.

  • PDF to HTML

    Convert the text layout of a PDF into an HTML document.

  • Text to PDF

    Turn pasted plain text into a paginated PDF.

  • Rotate PDF

    Turn every page 90, 180 or 270 degrees and save the result.

  • Extract PDF Pages

    Pull chosen pages out of a PDF into a new document.

  • Remove PDF Pages

    Delete pages from a PDF and keep everything else intact.

  • Watermark PDF

    Stamp text such as CONFIDENTIAL or DRAFT across every page.

More tools

70 tools, none of which want your file

Everything this tool does happens in the page you are looking at. No account, no upload, no watermark.