FirePDF

Home › Tools › HTML to PDF

Convert HTML to PDF Online, Free

Make a PDF from HTML or plain text you paste or upload

HTML to PDF takes HTML markup or plain text and produces a PDF. You can paste the source into the box, or choose an .html, .htm or .txt file. The content is drawn in a locked frame, so scripts and forms do not run, and the result is saved as PDF page images. It suits invoices, notes and simple pages that you want to share as a fixed document.

When to use it

For a page that depends on scripts or interactive parts, the browser's own print dialog, with Save as PDF, is the better choice.

How to make a PDF from HTML or text

  1. Press Open HTML to PDF above.
  2. Either paste HTML or text into the box, or press Choose files and pick an .html, .htm or .txt file. A file is loaded into the box so you can read and edit it before converting.
  3. Choose the page size: A4 or US Letter.
  4. Press Create PDF. The status line shows “Rendering…”.
  5. Download the file. It is always named html-to-pdf.pdf, so rename it if you need a different name.

The box keeps what you typed while you stay on the page, so you can use another tool and come back. The text is cleared when the page is reloaded.

How the input is read

Page layout

What the PDF contains

Common problems and fixes

When another tool is better

Questions and answers

Does it run JavaScript?

No. Scripts, forms and pop-up windows are blocked. Only the HTML and CSS of the content is drawn.

Can I select the text in the PDF?

No. The text is part of the page picture, so it cannot be selected, copied or searched.

Why is an image missing?

Images are loaded by the browser from their address. If an address cannot be loaded, or the image is on a site that does not allow it, the image does not appear.

Why is a line split across two pages?

Pages are cut at fixed heights, and the tool does not check where paragraphs end. Shorten the content or split it into separate documents to move the break.

Privacy

The HTML or text you paste is read and drawn in your browser. This tool does not upload it to a FirePDF server. Pictures that your HTML links to on other websites are fetched by your browser when the page is drawn, the same as when you open that page yourself. Read the Privacy Policy and the Security page for details.

You may also need

See all FirePDF tools · ← Back to Home

Related PDF tools