HTML to PDF
Turn a web page or your own HTML into a PDF, with page size and margins.
Processed on our server, then deletednew
Pasted HTML renders right in your browser. Capturing a live web page happens on our server, because something has to fetch the page.
How to use HTML to PDF
- Paste your HTML, or give a web address if a document service is connected.
- Set page size and margins, and check the live preview.
- Print to PDF.
Questions
- Why does capturing a live URL need a server?
- Something has to fetch the page, and a browser cannot fetch another site on your behalf without hitting cross-origin rules. Pasting HTML has no such limit and works with no server at all.
- Will my CSS be applied?
- Inline styles and a style block in the pasted HTML are applied. External stylesheets are not fetched.
- Can it save a page from a website?
- Paste the page’s HTML and it converts. It does not fetch a URL for you: a tool that fetched arbitrary addresses from a server would be a gift to anyone probing private networks.
- Why does my page look unstyled?
- Styles that live in a separate file are not there once the HTML is pasted on its own. Inline the CSS in a style block and the layout comes back.
Also called
- web page to PDF
- save a website as PDF
- URL to PDF
HTML to PDF does all of these. Looking for something else? Search every tool.
Other Convert to PDF tools
new
JPG to PDF
Turn photos and scans into a single PDF, with page size, margin and orientation controls.
Launch toolnew
Word to PDF
Convert .docx to PDF. Simple documents convert here; complex ones need a converter.
Launch toolPowerPoint to PDF
Pixel-accurate slide conversion through LibreOffice.
Launch toolExcel to PDF
Render a worksheet to a paginated PDF with your choice of orientation and fit.
Launch tool