Convert HTMLZ to PDF

Turn HTMLZ books into PDF. Printed on A4 pages unless page_size says letter, with the headings, paragraphs, lists, tables, notes and images in a plain style.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop HTMLZ files on the dialor turn it to pick what to do

An HTMLZ book as a PDF.The book comes out as one PDF with its text and images in a plain style.

  1. What you get

    One PDF file, printed on A4 pages. The headings, paragraphs, lists, tables, notes and images of the book are all there, set in a plain style.

    PDF pages look the same everywhere, so the file suits anything you plan to print or sign.

  2. What it leaves behind

    The book's own fonts and layout are not kept. HTMLZ holds the book as HTML, and the PDF sets it again in the plain style instead of copying how the book looked.

  3. Page size

    Set Page size to choose the pages. A4 is the default and measures 210 × 297 mm. Letter measures 8.5 × 11 in and is the usual size in North America.

    Auto lets each page take the size of its own content.

HTMLZ and PDF.What each format is, and the options this conversion takes.

  1. 01 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto default a4

The formats

From · HTMLZ

HTMLZ

Calibre's single-file HTML book. A zip with one HTML file, its images and metadata.

Extensions
.htmlz
MIME type
application/x-htmlz
Kind
Ebooks
To · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents

In your code.The same HTMLZ to PDF conversion through the API, for your app or your agent.

terminal
$ cv convert report.htmlz report.pdf
$ cv convert report.htmlz report.pdf

Questions.What people ask about HTMLZ to PDF.

01OF 04

A4, unless you set Page size to Letter or Auto. With Auto, each page takes the size of its own content.

No. The headings, paragraphs, lists, tables, notes and images are kept, but the book's own fonts and layout are not.

The conversion stops with input_corrupted when the HTMLZ file could not be parsed.

Yes. The whole book becomes one PDF.

More conversions.Other ways in and out of HTMLZ and PDF.