FormaTeX

Convert HTML to PDF Online — FormaTeX

document.html
output.pdf

Your compiled PDF will appear here

Add your source on the left, then click Convert to PDF.

Free, no account required

How to convert HTML to PDF online

Turning an HTML document into a PDF is useful for archiving web content, generating printable invoices and articles, or producing a clean typeset version of markup you already have. FormaTeX converts your HTML to LaTeX with Pandoc and compiles it through TeX Live, so the result is a properly paginated PDF rather than a screenshot of a web page.

Paste your HTML markup or upload an .html file. Referenced images can be attached as companion files so they appear in the compiled document. Press Convert to PDF to compile, preview the result, and download it.

The tool is free, needs no signup, and keeps everything client-driven — paste, attach, compile, and download the PDF in a few seconds.

More tools

Automate with the API

Every tool on this page is powered by the FormaTeX REST API. Integrate the same capabilities into your own apps with a few lines of code.