HTML to PDF
Convert an HTML file to a PDF document after upload. Files are deleted automatically within an hour. Free, with no sign-up needed.
Your file is processed securely and automatically deleted, normally within about one hour.
About HTML to PDF
HTML to PDF turns an .html file you wrote, such as a letter, a simple report or an invoice, into a PDF. Choose the file, press Process File and download.
What comes through well
Headings and paragraphs become selectable text, pictures stored inside the file are included, accented letters are correct and the page title becomes the PDF title.
Put everything inside the file
Outside stylesheets, web fonts and linked pictures are not guaranteed to load, so place your CSS and pictures in the HTML file itself.
What to watch for
Scripts do not run, text copied from tables can come out in pieces, and some Chinese characters may not be extracted correctly. Check long tables, right-to-left layouts and page margins in your result.
Converting a live web page?
Your browser's own Print to PDF usually gives a more faithful copy of a website, with working links and page breaks. Use this tool for simple documents you made yourself.
How your file is handled
The file is uploaded over an encrypted connection and deleted automatically within about one hour. Do not upload pages that contain secrets.
Free plan and watermark
Free and guest downloads carry a small Toolysite.com line on the page. Paid plans download a clean file.
How to use HTML to PDF
- Choose the HTML file.
- Press Process File.
- Wait until the page says the file is ready.
- Download the PDF and check the layout.
Help & FAQ
Does this tool upload our HTML file?
Yes. The browser sends the file to Toolysite's jobs service. The page says it is deleted automatically within about one hour.
Does JavaScript run?
No. A script that should have changed a paragraph had no effect, so the PDF showed the original text.
Is print CSS applied?
No. A paragraph hidden with @media print was in the PDF.
Do page breaks work?
No. A CSS page-break-before did not start a new page; the content stayed on one page.
Are links clickable?
No. The PDF had no link annotation for the link.
Are pictures included?
A picture stored inside the HTML file was included. External files are not carried over.
What page size do we get?
A4: 595.3 x 841.9 points.
Do tables work?
The extracted text of the three-row table was fragmented, so check tables in the rendered result.
Is there a watermark?
Yes on the free plan: the text 'Toolysite.com' appears on the page and a Toolysite entry is added to the document information.
Should we use this or our browser's Print to PDF?
For a more faithful copy of a web page the browser's Print to PDF is generally a better choice. This tool suits simple documents.
Can we convert a web address instead of a file?
No. The tool converts an HTML file that you upload. It is not a page-capturing tool, so it cannot open a web address.
Can we convert several HTML files or a ZIP with CSS and images?
No. It takes one .html file at a time, and a file that needs outside resources will not carry them. Put the styles and the pictures inside the HTML file itself, for example with inline styles and pictures stored as data addresses.
Can we select and copy the text in the PDF?
Yes. The headings and paragraphs came through as real text that can be selected, searched and copied.
Can we change the orientation or the margins?
No. The tool has no settings for either. The page came out as A4 portrait.
Can we edit the PDF after it is created?
Use the PDF Editor to add text, boxes, highlights and images on top of the pages. The existing text cannot be changed there.