, 4 min read
PDF vs EPUB: which format for which use
Fixed pages or text that reflows: what each format is built for, and what a conversion loses
A PDF keeps every page exactly as it was made. An EPUB lets its text flow to fit the screen it is read on. Neither is better in general: the right one depends on whether the page or the text matters more for what you are doing.
PDF: a page that stays the same
Adobe created PDF; it is now an open standard maintained by the International Organization for Standardization (ISO). A PDF records the size of each page and the exact place where every piece of text, line and picture is drawn. The page looks the same on any screen and comes out of any printer as designed.
That is also its limit on a small screen. An A4 page shown on a six-inch e-reader is either shrunk whole, with small text, or enlarged and read piece by piece. The text cannot be made larger without the page growing with it.
For documents that must last, there is a stricter variant, PDF/A (ISO 19005), meant for long-term preservation: among other rules, every font must be embedded in the file, so the pages can be drawn again years later without the fonts of the machine that made them.
EPUB: text that takes the shape of the screen
EPUB is maintained by the W3C, the body behind web standards, which defines it as a distribution and interchange format for digital publications. Its chapters are web pages (XHTML) styled with CSS and packed in a zip file with a list that sets their reading order and a table of contents.
By default an EPUB is meant to reflow to fit the available screen: the reader chooses the type size, the font and the margins, and the lines are recomposed for each screen. Fixed layouts exist in EPUB too, for picture books or comics, but they are the exception.
Which one to keep
- To print, to sign, or to archive a document as it was issued: PDF, or PDF/A for archives.
- When the layout carries the meaning (a plan, a form, a magazine page, a score, a paper full of equations): PDF, on a screen large enough for the page.
- To read a book or a long text on an e-reader or a phone: EPUB.
- A text-heavy PDF you want to read on an e-reader: convert it to EPUB, knowing what will be lost (below).
What a conversion loses
From PDF to EPUB, the converter has to rebuild paragraphs and chapters from the position of each piece of text, because a PDF does not store them. Calibre’s manual calls PDF one of the worst formats to convert from and says that complex, multi-column and image-based documents are not supported. Krinkl’s converter keeps the text only: lines joined into paragraphs, chapters from the PDF’s bookmarks or every ten pages, no images, and no scans, since it does no character recognition.
From EPUB to PDF, the converter chooses a page size and sets the text with fonts that must cover the book’s alphabet. Krinkl’s converter makes A4 pages in Times with page numbers, bookmarks and the book’s JPEG and PNG pictures; it handles Western European languages only and refuses books with DRM, whose text is encrypted.