33 / Convert · PDF → EPUB

PDF to EPUB converter

Turn a text PDF into an EPUB that reflows.

Convert a text-based PDF into a reflowable EPUB for reading on smaller screens. Review detected chapters, extracted pictures and margin cleanup before exporting. The converter uses usable bookmarks or heading-size rules to rebuild structure; scanned pages need OCR first, and complex columns, equations or footnotes may require manual correction.

  • A text-layer PDF up to 200 MB
  • No upload; the PDF stays on your device
  • One EPUB 3 file, no account
All tools
Opening your workspace…

At a glance

PDF to EPUB quick specs

Verified
Input
Text-layer PDF (.pdf)
Output
Reflowable EPUB 3 book
Scope & limit
Up to 200 MB per PDF
Processing
Local in your browser — files never upload
Price & account
Free; no sign-up or install required
Key boundary
Requires selectable text; scanned image PDFs have no OCR (use PDF to CBZ instead)

From file to finished

How to convert a text-layer PDF to EPUB 3

  1. Choose a text-layer PDF with the Choose a PDF button or drop it on the picker. The hint names the 200 MB and 600-page limits and says the file is processed on this device.

  2. Wait for the Preview toolbar. It reports pages, words, chapters and images; the Summary adds sections, tables and the number of margin lines removed.

  3. Read Contents from and the chapter list. PDF bookmarks, Font sizes and One chapter mean different things; if the split is wrong, fix the PDF’s headings or bookmarks and choose it again.

  4. Set Book title, Author and Language under Book details. The title starts as the PDF metadata title or the filename and is required before download; 20 language tags are offered.

  5. Press Download EPUB. When the EPUB 3 ready panel appears, check file size, chapters, words and build time, then open the file in a reader and compare the contents with the PDF.

Formats and inputs

Supported PDF formats and inputs

PDF fixes characters and pictures at page coordinates; EPUB needs a reading sequence of paragraphs and sections. Born-digital text, image-only scans and OCR-backed scans therefore behave differently in conversion. A visible heading is not necessarily a structural bookmark. This tool reconstructs reading order heuristically, so tagged or searchable input is not a guarantee that columns, notes and tables will reflow correctly.

InputSupportWhat to expect
A text-layer PDF from Word, LibreOffice or a publishing appBest fitThe normal case: selectable text, a few font sizes and optional bookmarks. Paragraphs, headings, images and simple tables are rebuilt; page layout is not.
A PDF with at least two usable top-level bookmarksBest fitBookmarks become chapters and nested bookmarks become sections. Dot leaders and trailing page numbers are stripped from the titles; font-size guesses no longer decide the contents.
A PDF whose largest headings are 14–17 ptPartialThose headings are promoted to chapters because no 18 pt heading exists, so every section becomes a chapter and the book has no section level.
A two-column magazine or a page with sidebarsPartialText is read in page order, not column order, so lines from adjacent columns can be joined into one paragraph. The EPUB stays readable, but the order may surprise you.
A scanned PDF with no text layerNot supportedIf the average is fewer than 50 characters per page, the file is refused as scanned. OCR is not run, and no EPUB is produced; run OCR first and choose the searchable copy.
A password-protected PDFNot supportedpdf.js raises a password error before any page is read. Remove the password in a PDF editor, save a new copy, then choose that file. The tool has no password field.
A PDF over 200 MB or 600 pagesNot supportedThe size gate stops before reading; the page-count check runs after the document opens. Split the file or reduce image resolution, then convert the smaller parts.
A PDF with images and simple tablesWorksImages become PNG files in page order, and tables are rebuilt when at least two rows share aligned columns. Tables with merged cells or irregular columns stay as paragraphs.

What it can do

What PDF to EPUB can do

Chapters from font size, or from bookmarks

Text at 18 pt starts a chapter; 14–17 pt starts a section. Lines longer than 120 characters or without letters or digits are excluded. With two usable top-level bookmarks, the outline takes priority: top-level entries become chapters, nested entries become sections, and dot leaders plus trailing page numbers are stripped. If only 14–17 pt headings exist, they become chapters. Contents previews the first 20 chapters.

Headers, footers and page numbers are counted

A line in the top or bottom 8% is a margin candidate. If the same normalized text appears on at least half the pages, with a minimum of two, it is removed as a running head or footer; a bare page number is removed even when it changes on every page. The Summary prints the total and a breakdown into headers, footers and page numbers. Page numbers also count as footers, so the figures overlap.

Paragraphs are rebuilt from placed lines

Glyphs are grouped into lines by baseline, then lines are joined until the font size changes by more than 1 pt, the indent exceeds 1.5 line heights, the gap exceeds 1.85 line heights, or a heading begins. A hyphen at the end of a line is kept and closed up, so “well-” and “known” become “well-known”. Reading order follows the page and the vertical position, not the PDF’s internal object order.

Images and simple tables travel with the text

Embedded images are written as PNG files under OEBPS/images, in page order. Placements under 24 px, source images under 24 px, and images entirely inside the top or bottom margin are skipped; the long edge is capped at 4096 px. At least two rows with the same cell count and aligned columns become an HTML table, with a header row when the first is 0.4 pt larger. Tables with merged cells or irregular columns stay as paragraphs.

The EPUB 3 package is plain and portable

The download contains a stored mimetype, META-INF/container.xml, OEBPS/book.css, images in their own folder, nav.xhtml, toc.ncx, a content.opf declared as EPUB 3.0, and XHTML files that follow the reading order. In a sectioned book the first section file carries the chapter heading. A two-level navigation list is written only when every chapter has at least one section; otherwise the contents list is flat. The file is not tied to this site, and no reader or store is required to open it.

After you run it

What you get from PDF to EPUB

Success is visible in the preview panel and in the downloaded file. These are the parts worth checking before you send the book anywhere.

What you getWhat it means
A contents list that matches the PDFThe nav and NCX list the same chapters in document order. Sections appear under a chapter only when every chapter has at least one section; otherwise the list is flat.
XHTML files that follow the contentsIn grouped mode there is one XHTML file per section, and the first section file carries the chapter heading. A flat list gives one file per chapter. Images sit in OEBPS/images and book.css styles every file.
Paragraphs instead of line breaksWrapped lines are joined, so a paragraph is one block that reflows. A short line, a larger gap or a bigger indent ends it, and a hyphenated line ending keeps its hyphen as one word.
A margin report you can checkThe Summary gives the total removed and a line such as Margin lines removed: 16 headers, 8 footers and 8 page numbers. Page numbers are also footers, so read the categories rather than adding them.
Images in page order, as PNGEach embedded image becomes image-N.png under OEBPS/images and is referenced from the chapter where it appeared. Placements under 24 px and images entirely in the margins are skipped.
A cancel that leaves nothing behindCancel aborts at the next page or image checkpoint and reports Conversion cancelled. No file was downloaded. It covers reading only: once the build starts, the loading panel is gone and the ZIP is written to the end.
A 200-page text PDF in secondsIn a local Chromium test, a 200-page, 131,000-word text-only PDF reached the preview in 1.4 seconds and built its EPUB in 0.1 seconds. Image-heavy files take longer because every image is rasterized to PNG.

When people reach for it

Common PDF to EPUB use cases

Conversion suits text that benefits from reflow more than it depends on fixed page placement. Assess a sample from the hardest part of the PDF, not only its title page, before choosing a book-wide reconstruction.

If you need to…What this tool does
Read a long report on a phoneThe text reflows to the screen instead of forcing pinch-zoom on an A4 page. Repeated report headers and page numbers are removed, and chapter headings become contents entries, so the document is easier to navigate.
Send a manuscript to a beta readerThe reader opens one EPUB in Apple Books, Kobo or Calibre instead of a PDF that pans sideways. Paragraphs are rebuilt from lines, and embedded pictures arrive as separate files in page order.
Turn lecture notes into a study bookHeadings at 18 pt or more become chapters, and 14–17 pt headings become sections inside them. A simple table of dates or formulas stays a table when its columns line up, which is often enough for revision.
Make a text PDF readable on an e-ink screenThe EPUB uses the reader’s font, size and margins, so a 300-page PDF no longer needs zooming. The original page design is lost, but the words, chapter order and images remain.
Check a PDF’s structure before publishingThe preview counts chapters, sections, images, tables and removed margin lines. If the book became one chapter because no heading reached 18 pt, that is visible before you upload anything to a store.
Keep a family history with picturesA text PDF with photographs becomes one EPUB that relatives can open on a phone. Images are capped at 4096 px on the long edge, and a simple name-and-date table stays readable.

Why use it

Why reflow a text-layer PDF into an EPUB 3 book

Choose this conversion when comfortable text reflow matters more than preserving the printed page. A reviewable reconstruction is useful for reports and straightforward books, while layout-dependent publications deserve comparison with the source before the EPUB becomes your main reading copy.

Replace repeated zooming with a text reading layout

A fixed A4 page can be uncomfortable on a phone or e-ink screen. Reflow gives the reader control over type size and line width, provided the source text can be reconstructed in a sensible order.

See how chapter structure was inferred

A PDF does not always contain ebook-style chapters. Reporting whether bookmarks or font sizes supplied the structure helps you judge the output and identify which source change would improve a later export, rather than guessing from the final contents alone.

Review cleanup before it becomes a trusted reading copy

Repeated margins interrupt continuous text, but automated cleanup can also remove a meaningful short line. Counts and preview make that decision inspectable, which is important when a report contains running labels or unusually placed headings.

Know when extraction needs a different starting point

A scan, multi-column magazine or equation-heavy paper may require OCR or source-document editing first. Recognizing that need avoids treating a plausible-looking EPUB as evidence that all the PDF’s information survived in the right order.

When it does not work

Why PDF to EPUB may fail

Most failures are decided before any EPUB is written, when the file is opened or its text is counted. These are the messages the page shows and the branch behind each one.

  • The file is not a PDF

    The picker accepts .pdf or application/pdf and otherwise says Choose a supported file (.pdf,application/pdf). The loader also reports This is not a PDF for a file whose name lacks .pdf. Renaming a .docx or an image does not make it a PDF; export or print it to PDF first.

  • The PDF is too large

    The picker stops any file over 200 MB with This file is larger than 200 MB. Choose a smaller file to keep this browser responsive. Nothing is read, and the loader has a second size guard with its own message. Compress the images or split the PDF into parts.

  • The PDF looks scanned

    If the average is fewer than 50 characters per page, the page shows This PDF looks scanned; OCR is not supported and counts the characters it found. Run OCR in scanner software or a PDF editor, then choose the searchable copy. A PDF of page images will always fail this check.

  • The PDF is password-protected

    pdf.js raises a password error before any page is read, and the page says This PDF is password-protected. Remove the password, then choose the file again. The tool has no password field and does not try to break encryption.

  • The PDF has too many pages

    After the document opens, a page count above 600 stops the conversion with This PDF has N pages. This tool supports up to 600 pages. Split the PDF into parts under the limit; the 200 MB size gate may stop you first.

  • The EPUB cannot be built

    If the title is empty, download is blocked with Add a book title before downloading. If the writer fails, the Build stopped panel appears with The EPUB could not be built and a Try building again button; the original PDF is untouched.

Repair paths

How to fix common PDF to EPUB issues

The first column is the message on screen; the last column is the action that changes the result. Fixing the PDF is usually faster than converting it again unchanged.

What you seeLikely causeWhat to do
Choose a supported file (.pdf,application/pdf)The name has another extension, or the browser reports a different typeExport the document to PDF and choose the export rather than renaming the file; a file whose MIME type is application/pdf but whose name lacks .pdf gets the loader message This is not a PDF.
This file is larger than 200 MBThe picker checks size before the file is readCompress the images, split the PDF into parts under 200 MB, or export a text-only copy without embedded pictures.
This PDF looks scannedFewer than 50 characters of selectable text per page on averageRun OCR in your scanner software or a PDF editor, save the searchable PDF, and choose that copy instead of the image-only scan.
This PDF is password-protectedThe document is encrypted and pdf.js asks for a passwordOpen the copy you own in a PDF editor, remove the password, save a new PDF, and choose the unprotected file.
This PDF has N pages… up to 600 pagesThe page count is above the limit, checked after the document opensSplit the PDF into volumes under 600 pages, convert each one, and merge the EPUBs in an editor if you need one book.
The EPUB could not be builtThe title is empty, or the browser could not finish packing the ZIPAdd a book title, close other tabs, press Try building again, or reduce the image count before converting.

Plain-language notes

Key PDF to EPUB conversion terms explained

These terms decide what the converter keeps, where it goes, and what the result can be used for.

Text layer

The selectable characters stored in a PDF alongside the page drawing. A scanned PDF has only a picture of the page, so this tool finds no text layer and refuses it; OCR is what creates a text layer from an image.

Reflowable EPUB

An EPUB whose text wraps to the reader’s screen. The reader chooses font, size, margins and page breaks, so the PDF’s fixed page size, columns and line positions have no direct equivalent in the book.

PDF bookmark (outline)

A named destination in the PDF’s outline, usually shown in a reader’s sidebar. Top-level entries can become chapters and nested entries sections, but only entries with an integer page destination and at least two top-level entries are used.

Running head

A line repeated at the top of most pages, often the book title or chapter name. The tool treats a normalized line in the top 8% as a running head when it appears on at least half the pages, then leaves it out of the EPUB.

Margin line

A line that sits in the top or bottom 8% of the page. It may be a header, a footer or a page number; the Summary counts each kind separately, and page numbers also fall inside the footer count.

EPUB 3 package

The ZIP that holds the book: a stored mimetype, META-INF/container.xml, content.opf version 3.0, nav.xhtml, toc.ncx, book.css, XHTML files for the reading order, and images. A reader opens content.opf to find the reading order.

Two-level contents

A navigation list with chapters and sections. The writer emits it only when every chapter has at least one section; if even one chapter has none, the whole list is flat and sections remain headings inside the chapter.

Heuristic conversion

A rebuild based on rules of thumb rather than the PDF’s original layout engine. Font size, indent, line gap and column alignment decide structure, so an unusual page can be classified differently from what its designer intended.

Tagged PDF and reading order

Tags can describe document structure, but this converter’s decisions follow its implemented extraction, bookmark and heading rules. Do not assume it consumes every structural hint in a tagged PDF; compare columns, captions and notes against the original.

OCR text quality

Recognized text can contain wrong letters and an incorrect reading sequence even when the page image looks clear. Conversion reuses that text rather than checking it against the scan, so review quotations, numbers and columns before trusting the resulting EPUB.

Other ways to do it

PDF to EPUB vs. alternatives

Converting on a desktop, in a script or not at all can be the better choice. These are the cases where another route wins and what it costs.

OptionBetter whenTrade-off
Calibre desktopYou convert a shelf of PDFs and want a queue, presets and a library to keep the results.A desktop install and its own conversion settings; the chapter split comes from structure detection, not from a preview of this file.
Extract text first, then convert it with PandocYou want a repeatable command over many files or another output format.PDF is not a direct Pandoc input route. Prepare suitable text, Markdown or another supported source first, then reconstruct headings, images and notes as needed.
An OCR tool, then this converterThe PDF is a scan with no text layer, and you need the words more than the layout.OCR adds a step and can misread names, numbers and columns; the EPUB is only as good as the OCR text.
Adobe Acrobat or another PDF editorYou need to repair bookmarks, remove a password or reflow a complex layout before conversion.A paid or desktop tool and manual work per file; the export still has to be checked in a reader.
Keep the PDF and read it as a pageThe layout is the point: a form, a poster or a fixed-page manual.Preserves the original page arrangement, which may be essential for forms and diagrams. Reading controls and reflow options depend on the PDF app; no new EPUB is generated.

Your files and this tool

Privacy, accuracy and PDF to EPUB limits

The PDF stays in the browser, but that is not a promise about the result. These are the boundaries worth knowing.

  • The PDF is opened with the File API and parsed with pdf.js in this tab. No request carries the file, its text or its images; there is no upload endpoint, account or conversion queue.
  • The converter, EPUB writer and Google Analytics load as standard page scripts. No request carries your PDF, and no third-party API is called to read it.
  • Nothing is stored in localStorage, IndexedDB or a cookie by this tool. The preview, extracted images and object URLs live in memory and are cleared when you reload or close the tab.
  • The original PDF is never written back. The EPUB is a normal download; no copy is kept on the site, and the browser’s download folder is the only place it lands.
  • The EPUB is not validated with EPUBCheck and no store preview is run here. Structure, metadata and readable text are what the page can confirm; acceptance by a store is a separate check.

A little more detail

Frequently asked questions about PDF to EPUB

Is my PDF uploaded?

No. The PDF is opened with the browser’s File API and processed by pdf.js in this tab. No request carries the file or its text, there is no account and no server-side queue. Closing the tab clears the preview and the extracted images. Your original PDF on disk is not modified.

Why does the tool say my PDF looks scanned?

A scanned page is an image of text, so there is nothing selectable to reflow. If the file has fewer than 50 characters of text per page on average, it is refused with This PDF looks scanned; OCR is not supported. Run OCR in your scanner software or a PDF editor, save the searchable copy, then choose that file.

How are chapters and sections decided?

With at least two usable top-level bookmarks, bookmarks win: top-level entries become chapters and nested entries become sections. Without them, text at 18 pt or larger becomes a chapter and 14–17 pt becomes a section. If only 14–17 pt headings exist, they are promoted to chapters. A PDF with neither becomes one chapter.

What happens to headers, footers and page numbers?

A line in the top or bottom 8% that repeats on at least half the pages is removed as a running head or footer. A bare page number is removed even when it changes on every page. The Summary prints the total and the split between headers, footers and page numbers; page numbers also count as footers.

Are images and tables included?

Embedded images are extracted as PNG files in page order and referenced from the chapter where they appeared. Placements under 24 px, source images under 24 px and images entirely inside the top or bottom margin are skipped, and the long edge is capped at 4096 px. A table is rebuilt only when at least two rows share the same cell count and aligned columns.

Will the EPUB look exactly like the PDF?

No. EPUB is reflowable, so the reader chooses the page size, font and line spacing. The tool keeps the words, paragraph order, chapter structure, images and simple tables, not the PDF’s columns, page breaks, headers or fonts. Open the EPUB in a reader before publishing to see how it behaves on a narrow screen.

What are the limits?

One PDF up to 200 MB and 600 pages. It must have a text layer; OCR, password removal and batch conversion are not supported. Very long PDFs take longer and the tab must stay open, because every page is read in the browser. A PDF with no usable bookmarks or heading-sized text becomes a single chapter.

Can I convert a PDF with bookmarks?

Yes, and bookmarks are preferred when they are usable. At least two top-level entries must point at integer pages; nested entries become sections, and third-level entries are flattened into the second level. Dot leaders and trailing page numbers are stripped from the titles. If the outline is present but unusable, the page says so and uses font sizes instead.

Does OCR make every scanned PDF suitable for EPUB conversion?

OCR can supply a text layer, but it does not guarantee correct words, paragraph order or chapter structure. Recognition can confuse columns, captions, footnotes and equations even when individual characters look plausible. Proofread a representative section and compare it with the scan before converting the whole document. Keep the PDF when visual arrangement is essential to understanding the content.