HTML to PDF
Convert HTML code to PDF. Perfect for creating printable documents.
Enter valid HTML code. Inline CSS is supported.
How to use
- Paste your HTML code
- Set document name
- Click Convert to PDF
- Use print dialog to save as PDF
Features
- Supports inline CSS
- A4 page format
- Print preview
- 100% browser-based
Note: This tool uses your browser's print function. In the print dialog, select "Save as PDF" as the destination to download the PDF file. For advanced PDF generation with more control, consider using server-side solutions like Puppeteer or wkhtmltopdf.