Skip to content

HTML to PDF (text and structure)

Turn HTML into a PDF with headings, lists and simple tables. Runs no scripts and does not reproduce CSS. In your browser.

AvailableIn your browserInput: Text

How to use: HTML to PDF (text and structure)

  1. Paste HTML code or load an .html file.
  2. Choose page size and whether to show link addresses.
  3. Generate the PDF and download it.

What it accepts and what you get

Input
HTML up to 2 million characters.
Output
A PDF with the text and structure (headings, lists, simple tables).
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • It is not a screenshot of the page: CSS, colours, layout and images are not applied.
  • The HTML is read as data: no script ever runs and nothing external is loaded.

Frequently asked questions

Is this a screenshot of my web page?

No: the PDF holds the text and structure (headings, lists, simple tables). CSS, colours, layout and images are not applied.

Do the scripts in my HTML run?

No. The HTML is read as data: no script runs and nothing external is loaded. You can choose to show link addresses.

When to use it

  • When you have HTML with text and want a PDF to save or send.
  • To archive the content of an email saved as HTML.

Examples

A simple HTML
Paste the code, choose page size and whether to show link addresses and download the PDF.
With simple tables
Headings, lists and simple tables are kept.

Common mistakes

  • Expecting a screenshot of the page: CSS, colours, layout and images are not applied.
  • Thinking code runs: the HTML is read as data and nothing external is loaded.

Suggested next steps