Four ways to add your HTML
- An HTML file. Upload a single .html or .htm file with its styles inside, ideal for exported reports and receipts.
- A folder. Upload the page's whole folder, or drag it in. Stylesheets, images and fonts linked with relative paths are found, even in sub-folders.
- A ZIP. The same, packed in one file. If it holds several pages, you choose which one to convert.
- Pasted code. Type or paste into the editor and watch the live preview. There's a dedicated page for converting HTML code to PDF.
Two ways to create the PDF
Download PDF makes the file in one click. Every word is real, selectable text with embedded fonts, links stay clickable, and effects such as shadows, rounded corners and gradients are drawn by your browser behind the text. The preview shows this exact file.
Best quality opens the page in your browser's own print dialog with the page size and margins you chose. Pick “Save as PDF” there for the browser's full print engine. It is a good choice for very complex designs.
Page settings explained
Size and orientation: A4, Letter, Legal or a custom size in millimeters or inches, upright or sideways. Margins: none, small, normal, large or your own value. Scale: from 50 to 150 percent. Fit to width is on by default and shrinks wide layouts so nothing is cut off at the side. Backgrounds can be turned off to save ink. Header and footer can add page numbers, the date and the title.
If your HTML has an @page rule, its size and margins are used automatically. The page keeps its screen look unless you turn off Use screen styles; then print styles apply, so anything hidden with @media print stays out of the PDF. The properties break-before, break-after and break-inside, and their older page-break names, decide where pages end.
A real PDF, not a screenshot
Many converters take a picture of the page and paste it into a PDF, which gives you blurry text you can't search. This tool reads where the browser placed every word and writes it as real text with embedded, subset fonts. You can select and copy it, screen readers can read it, and files stay small. Web fonts from your ZIP are embedded when their license allows; otherwise a similar open font is used. Urdu and Arabic are shaped and ordered properly.
Lines, table rows and images aren't sliced between pages, table headers repeat on each new page, and links stay clickable, including links that jump within the document.
Safe for code you didn't write
Your page runs in an isolated sandbox, separate from this site. Its scripts can't read your cookies or other files, open pop-ups, submit forms or leave the frame. With Load online files on, your browser downloads the page's fonts, styles and images from their websites, as when you open the page; turn it off to keep everything offline. What reaches the PDF is a static copy of the finished page, with no scripts. Anything missing is listed, so you can add it to the folder or ZIP. Your files never leave your device.
Honest limitations
Most pages convert with the same look. A PDF can't play animations, so the finished frame is captured, and FAQs and accordions are opened. Files on websites that don't allow copying can't be included. Rotated or gradient-filled text is added as an image.
Common uses include saving invoices, reports, receipts, documentation and newsletters. Afterwards you can combine files with Merge PDF, add a password with Protect PDF, or, for Office documents, use Word to PDF. To print the HTML source itself, with syntax highlighting and line numbers, use Code to PDF.