Convert an HTML file to PDF
An HTML file — an exported invoice, a saved page, a report generated by a script — converts to an A4 PDF, ready to print, send or archive. The rendering honours the file's HTML and CSS.
Offline rendering, for safety
The file is rendered with no network access: no remote image, external stylesheet or local file is
loaded. This stops a malicious HTML file from probing the server. For a good result the file must be
self-contained: styles in a <style> tag, images embedded as data: URIs.
What isn't supported
JavaScript is not run: the page is rendered as a static document. A page that builds its content with JavaScript on load will therefore appear empty or incomplete.
Privacy
The file is deleted automatically 30 minutes after processing.