Open Doc Tools

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

  1. Paste your HTML, or give a web address if a document service is connected.
  2. Set page size and margins, and check the live preview.
  3. 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

HTML to PDF — Open Doc Tools