HTML to PDF

Render pasted HTML or .html files to A4 PDF with CJK-safe browser fonts

Honest scope: the output is a high-resolution rendered PDF (pixel-faithful to the page) with non-selectable text; local relative-path images cannot load - embed them as base64 or use remote URLs.

About this tool

Server-side "HTML to PDF" services have a classic flaw: without CJK fonts installed, output shows boxes or drops characters entirely. This tool moves rendering into your browser - the same engine that displays this page correctly renders your HTML, then paginates it into A4 sheets with Chinese, emoji, CSS styles and web images all preserved.

Two input modes: paste HTML code (a full document with <style> or a fragment), or upload a .html file (saved web pages, exported emails, report templates). Page setup covers A4 portrait (default), landscape and a single long-image page.

Honest scope: the output is a high-resolution rendered PDF - the page is rasterised and embedded, so text is not selectable and links are not clickable, in exchange for pixel-perfect fidelity and zero font problems. For copyable text use the Word to PDF flow instead.

Features

  • Paste HTML or upload a .html file
  • Browser-engine rendering: CJK, emoji and CSS fully supported
  • A4 portrait / landscape / single long-page layouts
  • 2× high-resolution rendering for crisp print
  • Local rendering - intranet styles and content stay private

How to use

  1. Paste HTML code or upload a .html file
  2. Choose the layout (A4 portrait / landscape / long page)
  3. Click Convert and wait for rendering
  4. Preview and download the PDF

Frequently asked questions

Why don’t Chinese characters disappear here like on other tools?
Server tools render with server fonts; missing CJK fonts produce boxes or dropped glyphs. This tool renders with your browser’s fonts - anything your screen shows correctly, the PDF shows correctly. Local rendering is the whole point.
Is the text in the PDF selectable?
No. The output is a high-resolution image-based PDF: visually identical to the page, but not text-copyable. When you need selectable text the source is usually a document, not a web page - use Word to PDF or EPUB to PDF.
Do local relative-path images load?
Not for a single uploaded .html - browsers will not resolve relative paths to your disk for security. Embed images as data URIs (base64 <img>) or save the page as a complete single-file archive before converting. Remote https:// images load normally.

Related tools