PDF to EPUB Converter
Convert PDF text to EPUB ebook format in your browser. Extracts text from PDF pages, splits into chapters by page or heading, generates a complete EPUB (mimetype, container.xml, content.opf, NCX/NAV TOC, chapter XHTML files), and packages as a .epub ZIP. 100% client-side.
About PDF to EPUB Converter
Convert PDF text to EPUB ebook format in your browser. Extracts text from PDF pages, splits into chapters by page or heading, generates a complete EPUB (mimetype, container.xml, content.opf, NCX/NAV TOC, chapter XHTML files), and packages as a .epub ZIP. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What does this tool do?
It extracts text from your PDF using a pure-JS PDF parser, splits the content into chapters (one per page, or by detected headings), generates valid EPUB structure (mimetype, META-INF/container.xml, OEBPS/content.opf, OEBPS/toc.ncx, OEBPS/chapterN.xhtml), and packages everything into a .epub ZIP archive. The result opens in Apple Books, Calibre, Kobo, Nook, and most e-readers.
What chapter splitting modes are supported?
Three: (1) 'page' — one chapter per PDF page (default). (2) 'heading' — splits at lines that look like headings (ALL CAPS, Markdown #, or numbered headings like 'Chapter 1'). (3) 'single' — the entire PDF becomes one big chapter.
Why is the EPUB text-only?
EPUB is a reflowable ebook format — it stores text as HTML with CSS styling, not as page images. We extract the PDF's text layer (not vector graphics or images) and wrap it in XHTML. If your PDF is a scanned document (images of text), we can't extract text — you'd need OCR first. For text-based PDFs (Word exports, text PDFs), the conversion is excellent.
What extra features does this tool have compared to others?
10 extras: (1) Drag-drop input. (2) Three chapter-splitting modes (page / heading / single). (3) Custom title and author metadata. (4) Configurable base font size (12–24pt). (5) Stats — chapters, words, characters. (6) Live preview of the first chapter's XHTML. (7) Custom CSS injection into the EPUB stylesheet. (8) Conversion history in localStorage (last 10). (9) Shareable URL with conversion options. (10) Both NCX (EPUB 2) and NAV (EPUB 3) tables of contents for maximum reader compatibility.
Is my PDF uploaded anywhere?
No. All PDF parsing, chapter splitting, EPUB XML generation, and ZIP packaging happens in your browser. File contents never leave your device.
Will the EPUB preserve images from the PDF?
No. We currently extract text only. PDF images (raster or vector) are not extracted and embedded in the EPUB. This keeps the converter pure-JS and lightweight. If you need image extraction, use a desktop tool like Calibre or pdf2epub.
Related tools
7Z Extractor
Inspect and extract files from 7z archives. Detects the 7z signature (0x37 0x7A 0xBC 0xAF 0x27 0x1C), parses the SignatureHeader and StartHeader, lists files from the archive metadata, and extracts STORE-method files when possible. Honest about LZMA compression limitations. 100% client-side.
APK Extractor
Extract and inspect Android APK files in the browser — pure JavaScript APK (ZIP) parser. View AndroidManifest.xml (binary XML detection), list DEX files, resources, and assets, extract individual files, detect app info (package name, version) from manifest. 100% client-side.
ARJ Extractor
Inspect ARJ archives. Detects the ARJ magic (0x60 0xEA), parses header structures, lists file entries with sizes and CRCs, and extracts STORE-method files when possible. Honest about ARJ compression limitations. 100% client-side.