HTML to PDF
Turn a web page or your own HTML into a PDF, with page size and margins.
Needs a server connectionnew
Pasted HTML renders in your browser with no server at all. Capturing a live URL needs the document service, because someone has to fetch the page.
How to 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.
More 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