A PDF keeps every line where it was printed, so on a phone or an e-reader you zoom and pan across a page made for paper. An EPUB stores the text itself and lets the reader lay it out for the screen and the font size you choose. This converter rebuilds a PDF book as an EPUB: it finds the paragraphs, chapters and footnotes and drops what only made sense on paper.
Convert a PDF book to EPUB on your device
The conversion runs in your browser. The book is not uploaded anywhere, which matters for manuscripts, course packs and anything you would rather keep to yourself. There is no account, no page limit and no watermark. A typical novel of 300 pages is read in under a minute on a laptop.
What gets fixed: paragraphs, headers, page numbers, chapters
| In the PDF | In the EPUB |
|---|---|
| Line breaks | Whole paragraphs, found by indents and spacing, that reflow on any screen |
| Hyphenated words | A word broken at the end of a line is joined again |
| Running heads | Removed, with page numbers: lines repeated at the top or bottom of many pages |
| Bookmarks, headings | Chapters and a table of contents |
| Footnotes | Notes at the end of the chapter, linked from the number in the text |
| Pictures | Pictures and drawings in the same place in the text |
| Title, author | Book title and author in the EPUB, cover made from page 1 |
Each change can be switched off: keep running heads, keep footnotes on their page, drop the pictures for a smaller file, or choose how chapters are found.
Scanned PDFs: text recognition first
A scanned book is a stack of photos with no text inside, so there is nothing to reflow. When the converter finds such pages it asks for the language of the book and recognizes the text first (this is called OCR). Recognition runs on your device too; only the language model is downloaded once, about 2 to 15 MB. It takes time: about 2 to 5 seconds a page on a computer and several times longer on a phone, so a 300 page scan takes 10 to 25 minutes on a computer. Clean, straight scans at 300 dpi give the best text; you can straighten crooked ones with Deskew PDF first.
Preview chapters before you download
Before anything is saved you see the table of contents and the chapters as they will read on an e-reader. If chapters are missing or a running head slipped into the text, change the settings and the preview updates at once. When it looks right, make the EPUB.
Read on Kindle, Kobo, Apple Books
- Kindle: send the EPUB with Send to Kindle (the app, the website or by email). Amazon converts it for your Kindle and it syncs to the Kindle apps.
- Kobo, PocketBook, Tolino and other readers: they open EPUB directly. Connect the reader by USB and copy the file, or add it to the library app you use.
- Apple Books: open the EPUB on an iPhone, iPad or Mac and it is added to your library.
- Android and Windows: any EPUB reading app opens it, for example Google Play Books after an upload to your library.
How it works
The PDF is read with pdf.js, the PDF engine used by Firefox: every piece of text comes with its position, size and style. Lines that repeat in the same place on many pages are treated as running heads; lines of small text at the bottom of a page that start with a number are footnotes. Lines are joined into paragraphs where the spacing and indents say a new paragraph begins. Scanned pages go through Tesseract, an open source text recognition engine. The EPUB is then written in the browser with a table of contents that every reader understands.
When PDF to EPUB will not work well
It is made for books that are mostly running text: novels, memoirs, essays, reports. Be ready for rough results with:
- Text in two or more columns, as in magazines and some papers: columns may be read in the wrong order.
- Tables: they come out as lines of text, without the grid.
- Math formulas: symbols lose their layout.
- Textbooks with side boxes, captions and margin notes: these land between paragraphs.
- Large scanned books: recognition takes minutes, and longer on a phone; mistakes in the scan become mistakes in the text.
For such documents a PDF is often better on a tablet. To print an e-book instead, use EPUB to PDF.