Skip to content

PDF to EPUB

PDF to EPUB

Convert PDF documents to EPUB e-book format

  • Runs in your browser
  • Nothing uploaded
  • No sign-up
  • Free, no daily limits
  1. 1Add your file
  2. 2Choose settings
  3. 3Download
Loading PDF to EPUB Converter...

100% Private: All processing happens in your browser. Your files never leave your device.

Last updated

TryDocsy's PDF to EPUB converter extracts selectable text from PDF documents and packages it into reflowable, standard EPUB 2.0 e-books right in your browser. While fixed-layout PDF files require endless pinching and horizontal panning on mobile screens, EPUB files reflow naturally to match any screen dimensions, font size, or reading device.

The conversion engine operates 100% on your device using client-side JavaScript and WebAssembly, ensuring that private documents, unreleased manuscripts, and personal reading materials are never sent to a cloud server. Keep in mind that this tool is designed for text-centric publications: it reconstructs paragraphs and headings into clean XHTML chapters, but omits embedded images and complex vector artwork.

How it works

  1. 1. Upload your PDF document

    Under 'Drop a PDF here', select a text-based PDF up to 100 MB. The tool verifies your document and displays its file name, file size, and total page count.

  2. 2. Set custom e-book metadata

    In the 'Book Metadata (optional)' card, enter your preferred 'Title' and 'Author' so that e-reader apps display the book accurately in your digital library.

  3. 3. Extract text and compile the e-book

    Click 'Convert to EPUB'. The tool reads text content page by page, groups lines into paragraphs, and builds an EPUB package directly in memory.

  4. 4. Download your completed EPUB

    Once the 'EPUB Created!' confirmation appears, click 'Download EPUB' to save your new e-book, or click 'Convert Another' to process another document.

When you'd use it

  • Reading long PDF documents on mobile smartphones and e-readers

    Fixed A4 or Letter PDFs are difficult to read on 6-inch phone screens or e-ink readers. Converting to EPUB allows you to adjust font size, margins, and line spacing without horizontal scrolling.

  • Transferring articles and reports to Amazon Kindle devices

    Amazon's 'Send to Kindle' service natively accepts EPUB files and converts them directly into Kindle format with custom fonts, Whispersync progress, and dictionary lookups.

  • Enabling accessibility, screen readers, and text-to-speech

    Reflowable EPUB markup structured with standard HTML paragraphs and heading tags allows screen readers and assistive text-to-speech tools to parse content smoothly.

  • Comfortable nighttime reading with dark mode and custom fonts

    Unlike fixed PDF scans that can blind readers with bright white page backgrounds, EPUB files let e-reader software apply true dark mode, sepia tones, and dyslexic-friendly typefaces.

Automatic OCR for scanned book pages

TryDocsy extracts text using Mozilla's pdf.js parser, reading positioned font glyphs and character coordinate matrices from each page. When your PDF contains scanned book pages or photographed documents, standard text layer extraction finds no character tokens.

Instead of failing, the tool identifies scanned pages and presents an in-browser OCR panel. You can select your language and recognition model (AI, Accurate, or Fast), and the engine extracts chapters and paragraphs locally before compiling the EPUB e-book.

EPUB 2.0 container architecture and structural formatting

The generated .epub file is a standards-compliant ZIP archive compiled with JSZip. It features an uncompressed mimetype file (application/epub+zip) at byte offset zero, standard container metadata (META-INF/container.xml), a Georgia serif stylesheet (OEBPS/styles/style.css), an OPF package manifest (content.opf), and an NCX navigation map (toc.ncx).

Each page of your PDF is mapped to an individual XHTML chapter (text/page1.xhtml, text/page2.xhtml). The extractor analyzes font sizes and vertical gaps between lines to distinguish section headings from body text. Lines with oversized font metrics are tagged as semantic '<h2>' headings, while regular lines are grouped into indented body paragraphs with clean line-height formatting.

Understanding what is excluded from the conversion

To deliver fast client-side performance and clean text reflow, the converter focuses on text content. Embedded JPEG and PNG images, vector illustrations, complex spreadsheet grids, and background watermarks are not imported into the EPUB package. Tables are flattened into sequential text lines.

Similarly, in multi-column layouts like academic research papers or newspapers, text items are grouped based on vertical coordinate proximity. While simple layouts flow cleanly, complex multi-column sidebars may occasionally merge into the main reading stream. For heavily illustrated magazines or complex technical manuals, retaining the original PDF layout is often preferable.

Measured benchmark results: mock report test

In our test run, we converted our mock operational report (sample-report.pdf, 2,499 bytes) into an EPUB e-book. The converter compiled a 1,558-byte reflowable EPUB archive (output-pdf-to-epub.epub) containing structured XHTML chapters and navigation metadata.

On our scanned test file (sample-scanned.pdf, 921 bytes), the e-book compiler found zero extractable characters and halted before generating chapters, prompting for OCR preprocessing. For a full breakdown of e-book versus document conversions, inspect our document conversion fidelity matrix.

Frequently asked questions

Can I read the converted EPUB file on Amazon Kindle?

Yes. Amazon Kindle devices and apps support EPUB files via the 'Send to Kindle' feature (via email, web upload, or the Kindle app). Amazon converts the EPUB into its native Kindle format while preserving adjustable typography and bookmarking.

Can I convert scanned book PDFs to EPUB?

Yes. The converter automatically detects scanned pages and runs optical character recognition directly on your device. You can configure recognition language and speed to build reflowable e-book chapters.

Are illustrations, photos, and diagrams included in the EPUB?

No. The converter extracts text content only. Graphics, diagrams, raster images, and mathematical equations drawn as vectors are omitted to produce lightweight, purely reflowable e-books.

What is the file size limit for PDF to EPUB?

The tool accepts PDF documents up to 100 MB. Conversion runs locally in your browser memory without cloud processing limits.

How does the tool distinguish chapter headings from regular paragraphs?

The parsing algorithm checks the font size and character length of each line. Lines with larger font sizes (above 13pt) and fewer than 100 characters preceded by a vertical line gap are automatically formatted as heading elements ('<h2>').

Can I customize the e-book title and author in my e-reader library?

Yes. Before clicking 'Convert to EPUB', fill in the 'Title' and 'Author' inputs in the Book Metadata card. These fields are written directly to the Dublin Core metadata elements inside the EPUB package.