Use HTML to PDF - free
Frequently asked questions
Does it support CSS and JavaScript?
Inline CSS and `<style>` blocks are fully supported. External stylesheets and JavaScript may not load due to browser security policies - inline everything for best results.
How do I control the page size and margins?
Set `@page { size: A4; margin: 20mm; }` in your CSS, or adjust margin settings in the browser print dialog that opens.
Can I convert a live website URL instead of pasting HTML?
This tool works with pasted HTML. For a live URL, open the page in your browser and use its built-in Print → Save as PDF option.