Home › File & PDF Tools › PDF to EPUB
PDF to EPUB
PDFs are built for printing, not for reading on a phone: the text is frozen at one size, and you pinch and scroll your way down every page. This free tool to convert pdf to epub reads the text out of your PDF right in your browser and rebuilds it as a real EPUB ebook — with chapters and a table of contents — that any ebook reader can reflow to fit your screen. Nothing leaves your device.
Nothing leaves your device. The PDF reader library (pdf.js) loads from a public CDN, but your document is opened and converted on your own machine and is never uploaded.
How it works
An EPUB is not one file format so much as a small website zipped into a book: a set of XHTML chapters, a contents file (the OPF) describing them, and a table of contents. This converter builds exactly that. pdf.js — the same open-source reader that powers Firefox's built-in PDF viewer — opens your PDF and reads out the text of every page, line by line, in reading order. The tool then sorts the lines into paragraphs, wraps each chapter in clean XHTML, writes the EPUB plumbing (mimetype, container, contents, navigation), and zips the package with JSZip, the library the rest of this site uses for ZIP files.
Two honest limits shape what comes out. First, only the text layer is converted. If a PDF was born digital — exported from Word, a browser, or a publishing tool — its text is really in there and converts well. If it is a scan, each page is just a photograph; there is no text to read, and the tool will tell you it found almost nothing instead of quietly handing you an empty book. Second, EPUB is deliberately not a photocopy: images, tables, columns, fonts and page layout stay behind, because an ebook's whole job is to let the reader re-wrap the words onto any screen. The title and author are taken from the PDF's own metadata when it has any — edit them before converting if they are wrong.
Worked example
A student has a 24-page course handout, week-notes.pdf (about 900 KB), exported from her lecturer's slides tool, and wants to read it on her phone's book app.
Step 1: She drops week-notes.pdf onto the box. The tool shows "✓ Chosen: week-notes.pdf (0.88 MB)" inside the box, reads the file, and reports 24 pages and roughly 6,000 words of text found.
Step 2: The title box already holds the handout's own title from the PDF metadata; she adds the lecturer's name as author and leaves chapters on "One chapter per PDF page".
Step 3: She presses Convert to EPUB, then Download EPUB.
She gets week-notes.epub: a standard EPUB with a table of contents listing the pages as chapters, which opens in Apple Books on her phone with text she can resize. Had the handout been a scanned printout instead, the tool would have stopped after Step 1 with a clear "almost no text" message — because an ebook with no words in it helps nobody.
Which chapter mode should you use?
One chapter per page suits slide decks, short reports and anything whose pages are natural units: the table of contents stays useful and a reader can jump straight to a page. Pages with almost no text (covers, dividers, image pages) are skipped automatically and counted in the result line. Whole book in one chapter suits long, flowing documents — a book draft or a long article saved as one PDF — where page boundaries are an accident of the print layout and would chop sentences mid-thought.
FAQ
How can a web page convert a PDF to EPUB without uploading it?
The page loads pdf.js — the reader library behind Firefox's built-in PDF viewer, served from the cdnjs public library — and runs it in your browser to read the text out of your PDF. It then packages that text as a standard EPUB file using JSZip. Your document is opened and rebuilt on your own device; only the libraries travel over the network.
Why did the tool say my PDF has no text?
Because it almost certainly is a scan: a photographed or scanned PDF is a set of page images with no text layer inside, so there is nothing to put into an ebook. A quick test: open the PDF and try to select a sentence with the mouse. If you cannot select text, converters cannot read it either — it needs OCR (optical character recognition) software first, which this tool does not do.
Will the EPUB look like the PDF?
No — and that is the point of the format. EPUB keeps the words and the reading order, then lets your reader app choose the font, size and line length, reflowing the text to fit a phone or an e-reader. Tables, columns, images, footnotes and exact page layout from the PDF are not carried over. For documents you mainly read — reports, manuals, drafts, stories — that trade is usually worth it.
What do the chapter options do?
"One chapter per page" gives every PDF page its own EPUB chapter, which suits short pages and keeps the table of contents detailed; pages with almost no text are skipped. "Whole book in one chapter" puts everything into a single continuous chapter, which suits long flowing text and simple readers. Either way the words are the same.
Which readers open the EPUB file?
EPUB is the standard ebook format outside Amazon's ecosystem: Apple Books, Google Play Books, Kobo readers and apps, and most library apps open it directly. Kindle devices accept EPUB through Amazon's Send to Kindle service, which converts it on the way in.
Is my PDF uploaded to a server?
No. The pdf.js library loads from a public CDN, but your document itself never leaves your device — it is read, converted and saved in your browser, on your own machine.