How to convert EPUB to PDF, and PDF to EPUB
Updated · 4 min read
EPUB and PDF both hold books and documents, but they work in opposite ways. An EPUB is like a small website that reflows to fit whatever screen it's on; a PDF is a set of fixed pages that look the same everywhere. That difference decides how well a conversion goes: EPUB to PDF works well, PDF to EPUB often doesn't. Here is how both directions work with free apps on your own computer, what to expect from each, and which ebooks can't be converted at all.
In this guide
EPUB and PDF in one minute
| EPUB | ||
|---|---|---|
| Layout | Reflows to fit the screen by default; fixed layouts are possible | Fixed pages, the same on every device |
| Text size | The reader chooses | Zoom in on the page |
| Inside the file | A ZIP of web files (HTML, CSS, images) | Pages described for display and print |
| Standard | EPUB 3.3, a W3C Recommendation | ISO 32000 |
| Best for | Novels and text read on phones and e-readers | Forms, papers, manuals, anything printed |
EPUB to PDF
Going from reflowing text to fixed pages is the easy direction: the converter lays the book out on pages of a size you choose.
calibre (Windows, Mac, Linux)
- Install calibre from calibre-ebook.com. It's free and open source.
- Select Add books and choose the EPUB.
- Select the book, then Convert books.
- Set Output format to PDF. Under PDF output you can set the page size and margins.
- Select OK. When the job finishes, the PDF appears in the book's formats; choose Click to open next to Path to find it.
For a book you'll read on a phone, a smaller page size keeps the text large; for printing, choose A4 or Letter.
PDF to EPUB
This direction is hard because a PDF stores where each piece of text goes on the page, not which words form a paragraph or a heading. A converter has to guess the reading order. calibre's own manual is blunt: PDF documents are one of the worst formats to convert from, and complex, multi-column and image-based documents aren't supported. Results range from decent to unusable.
- Simple PDFs (one column of text, like a novel exported from a word processor) convert reasonably well in calibre: Add books, then Convert books with Output format EPUB.
- Scanned PDFs are pictures of pages. They need text recognition (OCR) before any conversion can produce text.
- If you have the original document (Word, Google Docs, LibreOffice), export the EPUB from that instead. LibreOffice has File > Export As > Export as EPUB, which keeps the real headings and paragraphs.
Tip: If you only need the words, not a polished ebook, take the text out of the PDF and work from that. PDF to Text does it in your browser; PDF to Word keeps more of the formatting for editing.
Pulls the text layer out of a PDF, page by page, without uploading it.
Just want to read it?
You may not need to convert at all:
- Apple Books on a Mac imports PDFs and many EPUB books with File > Import (PDFs then open in Preview).
- Google Play Books reads both: upload the .pdf or .epub to your library. That copies the file to your Google account, so it's not the choice for private documents.
Books that can't be converted
Most ebooks bought from stores are protected with DRM, which ties the file to the store's apps. calibre's FAQ notes that most purchased EPUB books have DRM, which prevents calibre from opening them, and some formats (ACSM or AZW files, for example) open only in their own apps. Converting those isn't possible with ordinary tools; read them in the app they came with.
Where this site fits
This site doesn't convert EPUB files yet. For PDFs it can do the steps around a conversion in your browser, without uploading: get the text out with PDF to Text, make an editable copy with PDF to Word, and once you've made a PDF from an EPUB, Compress PDF if it's too big to send.