What HTML to PDF does
HTML to PDF accepts a complete UTF-8 HTML document rather than a web address. It extracts the body, keeps a restricted set of structural text and table elements, removes unsafe or URL-bearing content, and asks LibreOffice to produce PDF.
This sanitizing process is intentionally conservative. Scripts, styles, images, forms, embeds, frames, event handlers, and links are not reproduced, so the result represents safe document text and structure rather than a pixel-perfect website capture.
How to use HTML to PDF
- Save the desired content as one complete UTF-8 HTML or HTM file no larger than 25 MB.
- Upload the file and start the temporary server conversion.
- Download the PDF and check headings, lists, tables, and any content changed by sanitization.
Important details
Unsafe and remote content is discarded
The sanitizer keeps common text, section, list, and table tags with a narrow attribute allowlist. CSS, scripts, media, forms, embeds, external URLs, and active document features are removed before LibreOffice sees the file.
This is not a browser screenshot
The converter does not navigate to a URL, run JavaScript, load a stylesheet, or fetch remote images. Complex web layouts will look different or reduce to their surviving semantic content.
Practical uses
- Turn a simple self-authored HTML article into a printable PDF.
- Preserve headings, paragraphs, lists, and basic tables from a safe local export.
- Create a static review copy of HTML content when live webpage rendering is unnecessary.
Privacy and limitations
The HTML is temporarily uploaded to PagesTools, sanitized, and processed by LibreOffice. Input, output working file, and isolated profile are deleted after the response completes, fails, or is cancelled, with no-store response headers.
One complete UTF-8 HTML file up to 25 MB is accepted, with 50 MB output and an approximately 52-second timeout. Styling, images, scripts, forms, links, embeds, external resources, and browser-generated content are removed, so visual fidelity to a webpage is not expected.