HTML to PDF
FreePaste HTML with inline or embedded CSS and download a pixel-perfect PDF. Useful for generating reports, invoices, and documentation from HTML templates.
How to Use HTML to PDF
- 1
Paste your HTML with inline or embedded CSS into the editor panel. External scripts are not executed for security reasons.
- 2
Select your desired page size (A4 or Letter) and orientation (portrait or landscape) from the settings panel.
- 3
Click "Convert to PDF" to generate the PDF. Images from public HTTPS URLs are fetched and embedded automatically.
- 4
Download the pixel-accurate PDF. Your HTML content is permanently deleted from our servers immediately after conversion.
Features
- ✓ CSS support
- ✓ Custom page size
- ✓ Header and footer options
Frequently Asked Questions
What CSS is supported?
Most standard CSS including flexbox, grid, custom colours, borders, shadows, and Google Fonts via @import. JavaScript is not executed.
Can I use external images?
Images referenced via public HTTPS URLs are included. Local file:// paths are not supported.