Convert an EPUB eBook to PDF
Converting EPUB to PDF paginates a reflowable e-book — internally a ZIP of HTML chapters and CSS with no fixed pages — into a document with a permanent page size, page breaks and page numbers. Because the pages must be invented during conversion, the page size, margins and font size you choose determine the entire result. This guide shows how to do it with Calibre, the standard free tool, and which settings actually matter.
Paginating a book means unpacking the EPUB, rendering hundreds of HTML chapters with their CSS, and making thousands of page-break decisions — work that needs a full layout engine and real settings choices, not a single button. The Calibre-based method below does it properly and gives you control over the result.
Disclosure: this page contains affiliate placeholder links. If they were live, we could earn a commission at no extra cost to you.
AFFILIATE PLACEHOLDER: Recommended desktop PDF suite (placeholder link)
How to convert EPUB to PDF (step by step)
Method 1 — Calibre's conversion dialog (recommended)
- Install Calibre (free; Windows, macOS, Linux), open it, and drag the .epub into the library window.
- Select the book and click Convert books. In the top-right Output format box choose PDF.
- Open the PDF output section and set the layout: paper size (A4 or Letter for printing, A5 for on-screen reading), default font size around 11 pt, and margins of 15–20 mm. Optionally enable page numbers in the footer template.
- Click OK. When the job finishes, use Save to disk or click the PDF entry under Formats to get the file.
Method 2 — Calibre's command line, ebook-convert
Calibre installs ebook-convert, the same engine without the GUI — ideal for scripting or converting a folder of books:
ebook-convert book.epub book.pdf --paper-size a5 --pdf-default-font-size 11 \
--pdf-page-margin-left 40 --pdf-page-margin-right 40 \
--pdf-page-margin-top 40 --pdf-page-margin-bottom 40
Margins here are in points (40 pt ≈ 14 mm). Add --pdf-add-toc to append a printed table of contents at the end, and --embed-all-fonts if the book relies on its own typefaces. Run ebook-convert book.epub book.pdf --help to list every PDF option.
Method 3 — Print from any EPUB reader
Readers with a print function (e.g. Calibre's own viewer, or Apple Books via File → Print → Save as PDF) can produce a PDF of the book using the OS print pipeline. This is quick for an excerpt, but you get the reader's current rendering settings, usually no PDF bookmarks, and no control over chapter page breaks — use it for convenience, not for a keeper copy.
How it works
Rename an .epub to .zip and unpack it and you will find the whole trick: a mimetype file, a manifest (content.opf) listing every resource, a navigation document for the table of contents, and the book itself as a series of XHTML chapter files styled by CSS, with images alongside. An EPUB is a small website in a box. It deliberately contains no pages — a reader flows the text to fit whatever screen and font size the person chooses, which is exactly what PDF forbids.
A converter must therefore make every layout decision the format left open. Calibre first normalizes the chapters into a single internal document tree, then renders that tree with an HTML engine at your chosen page size and base font, walking through the content and cutting it into pages. This is where the pagination decisions live: honoring CSS page-break-before hints so chapters start on fresh pages, avoiding widowed headings, deciding whether an image that does not fit is scaled down or pushed to the next page. Change the paper size or font size and every one of those cut points moves.
Finally the rendered pages are serialized as PDF: text as positioned glyph runs with embedded font subsets, images as XObjects, and the EPUB's navigation document mapped to PDF outline entries (bookmarks) targeting the pages where each chapter landed. The output is faithful to your settings — but it is a snapshot: unlike the EPUB, it can never reflow again, which is why choosing the page size for the device you will actually read on is the single most important decision in the process.
Worked example: a 96,000-word novel
Source: north-and-south.epub (Project Gutenberg, DRM-free), 52 chapters, 1.8 MB including a cover image. Converted with ebook-convert to A5 at 11 pt with 40 pt margins: the result was a 428-page, 3.9 MB PDF with 53 bookmarks (cover plus one per chapter), produced in 19 seconds on a laptop.
The same book to A4 at 12 pt came out at 214 pages — half the count, but with 105-character lines that are tiring to read on screen. Re-running the A5 conversion at 13 pt for easier reading raised the count to 561 pages while the file size barely moved (4.0 MB), confirming that pagination settings drive page count, not size: the bytes are dominated by the embedded fonts and cover image, which are stored once regardless.
Frequently asked questions
Why do converted EPUBs have strange page breaks in the PDF?
An EPUB has no pages, so the converter invents page breaks by pouring the text into your chosen page size until it runs out of room. Headings stranded at the bottom of a page or images pushed to the next one are artifacts of that pagination, and larger pages or smaller fonts change where every break falls.
What page size should I pick when converting EPUB to PDF?
Match the screen or paper you will read on: A4 or Letter for printing, A5 or 6x9 inches for tablet reading, since novel-length lines on A4 are uncomfortably wide. Changing size later means reconverting, because PDF pages cannot reflow.
Does the table of contents survive conversion to PDF?
Yes. Calibre converts the EPUB navigation document into PDF bookmarks, the clickable outline shown in a viewer sidebar, and internal links keep working as jumps to the matching page.
Can I convert a DRM-protected EPUB to PDF?
No. Calibre and other converters refuse DRM-encrypted files, and stripping DRM is unlawful in many countries even for books you bought. Only DRM-free EPUBs, such as those from Project Gutenberg or DRM-free stores, convert directly.
Why is my PDF much bigger than the original EPUB?
The PDF embeds subsets of every font used and stores each image plus fixed layout data for every generated page, while the EPUB stored each chapter once as compact HTML. A two to four times size increase is normal for a text-heavy book.
Is there a quicker way than Calibre for a one-off conversion?
If the book is a single continuous text you can open the EPUB in a reader that prints, or unzip it and print the HTML chapters to PDF from a browser. You lose the automatic table of contents and per-chapter joins, so for anything beyond a quick excerpt Calibre remains the better route.