How to convert HTML to PDF
Turn an HTML document or snippet into PDF pages for an offline review, simple handout or visual proof. This converter takes your supplied markup, sanitizes it and renders a local snapshot rather than visiting a web address.
- Paste local HTML or choose Open file, select portrait or landscape and export.
- Include needed formatting directly in the supported markup and inspect the result's page breaks.
- Select Convert file and review the result.
Example input
<main><h1>Field Notes</h1><p>A notebook for daily <strong>ideas</strong>.</p></main>
Example use
When reviewing a self-contained table from a report, paste its HTML and choose landscape if there are many columns. Keep the markup as the editable copy for future changes.
Output and compatibility
Scripts and external resources are excluded. Browser-rendered styles that depend on a full website, external assets or unsupported markup may look different. The downloaded pages are image snapshots.
Prepare markup and check page breaks
Use headings, paragraphs and simple tables that remain readable in a fixed-width print layout. Inspect each page when wide images, long code lines or table rows meet a page boundary. If the document needs external styles or fonts, compare the result with the source browser’s own print-to-PDF workflow.
Troubleshooting
If a web-font or image is missing, inspect whether it was referenced remotely. Switch to supported local markup and avoid assuming print rendering matches the live site's CSS.
Use HTML to Word when the recipient needs a DOCX they can edit.
Frequently asked questions
Can I paste a URL and turn a webpage into PDF?
This tool takes the HTML source you paste or open. A link to a remote page does not import it.
Can I include a page with JavaScript effects?
Scripts are not executed. Export the rendered content from the original system and include supported static markup.
Is there a landscape option?
Yes. Set Page orientation to Landscape for a wide report or table.
Does it keep text selectable?
The PDF is image-based. Use Text to PDF for plain text you need to copy later.
Where can I preview before converting?
For pasted markup aimed at email, HTML Email Preview can help check a sanitized rendering on different widths.