Convert HTML to PDF with a Filtered Preview
Preview supported HTML and inline formatting, then export an image based PDF.
HTML to PDF Studio 100% Local RAM
Raw HTML/CSS, invoices, receipts & code templates rendered directly into PDF.
How to convert your files
Enter HTML code
Paste HTML, choose an .html file, or load the fictional invoice. This tool does not fetch a web page URL.
Check the filtered preview
Review supported inline formatting. Choose paper size, orientation and margins.
Download and review
Use Download Formatted PDF, then inspect the saved page breaks and image quality.
What is retained in the preview
Supported HTML tags and inline formatting retain colors, spacing, borders, tables and basic flex layouts. Scripts, event handlers, frames, SVG, style sheets, external fonts, network images and navigation are excluded. Embedded base64 PNG, JPEG, GIF and WebP images are allowed. CSS Grid, arbitrary CSS classes and full browser print fidelity are not supported.
PDF output and pagination
The filtered preview becomes raster images embedded in PDF pages. Text is not selectable, links are not active, and continuous content is sliced at page boundaries. Rows or paragraphs may be split. Very tall content can exceed canvas limits. Review the saved PDF; use browser printing or a dedicated typesetting engine when exact print CSS behavior is required.
Document processing and website privacy
Document contents are processed in your browser without uploads to a remote document processing server. The website can still make network requests for application code, fonts, samples and analytics. Product events exclude document contents and file names. Local processing does not certify a document or guarantee regulatory compliance.
Common questions
Can I convert a website address?
No. This tool accepts HTML code or a local HTML file. It does not download a website or its external assets.
Why did part of my styling disappear?
The preview keeps only allowed tags, attributes and inline CSS properties. Style sheets, positioning, external fonts, resource URLs and unsupported properties are removed. Use supported inline formatting and review the preview.
Does the PDF contain searchable text?
No. The current export is a PDF containing rasterized page images. It does not add a searchable text layer.
html2canvas rendering limitations
Reviewed October 24 2026