Convert an HTML file or web page markup into a PDF with the styling preserved, so the output looks like the rendered page.
This is a text archive of an HTML file, not a pixel-perfect print of a live page. The server strips script and style tags, walks the remaining markup with Python's HTMLParser, and lays the extracted text onto A4 with ReportLab. Use it to save article copy or a template's wording — not to snapshot a designed website.
If you need the page to look like it does in Chrome, print to PDF from the browser. This tool is for getting the words into a shareable A4 file when you already have the HTML on disk.
If your page content is rendered by React/Vue/any JS framework, the PDF captures only the markup in the file. Save the page through your browser after it has rendered so the DOM text is already in the HTML.
img tags are ignored. There is no network fetch and no data-URI decode. If the picture matters, use Images → PDF for the pictures and Merge if you need them next to the text.
A small HTMLParser subclass skips script and style, records text nodes, and inserts a newline at block tags. The joined text is XML-escaped and each non-empty line becomes a ReportLab Paragraph on A4. There is no CSS box model and no headless Chrome.
Fetching arbitrary URLs from our servers would turn the tool into an open proxy. Only the bytes you upload are read. That also means a file that is just a <script> bootstrap with an empty body produces a nearly empty PDF — save the rendered DOM first.
The HTML never goes to xAI. It is processed on our servers, the PDF is sent back, and the temp files are cleaned up with the request. No copy is kept as a stored document.
No. <style> and <script> blocks are skipped. What survives is the visible text, with line breaks at p, div, headings, br, and li. This is not a Chromium print-to-PDF.
No. The converter never fetches URLs. Remote images, fonts, and stylesheets are ignored.
No — only a file you upload. Save the page in your browser first (Save as → Webpage) if you want the current text.
Block tags (p, div, h1–h4, br, li) become line breaks. Everything else is treated as text. Tables are flattened to their cell text.
Yes — HTML to PDF is completely free with no signup required.