Open an EPUB to see its chapters, then save the text as TXT or Markdown. You can also split it by size for AI tools, save the images, or print to PDF. DRM-protected EPUBs can’t be converted.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsHow to Extract Text from an EPUB File, Chapter by Chapter
An EPUB is a ZIP archive of HTML files, images and a table of contents, so a text editor or an AI chat can’t read it directly. This converter reads the table of contents, splits the book into chapters, and saves each chapter as plain text or Markdown.
Beyond extraction, you can number paragraphs, split the output by size for AI tools, search the text and copy a quote with its source, save the images as a ZIP and print to PDF. For Japanese EPUBs, you can also choose how ruby text is handled. It suits people who want to feed a book to an AI for summaries and questions, quote a passage accurately, proofread their own EPUB, or move a public-domain book into a notes app.
DRM-protected EPUBs can’t be converted, and the tool doesn’t remove DRM. Use DRM-free EPUBs, EPUBs you made yourself, or public-domain books such as those from Project Gutenberg.
Common Uses: AI Prompts, Quotes, Proofreading and Notes
Summarize a book or ask questions with an AI
Choose Markdown and “Split by size for AI” to cut the book into files of about 30,000 characters, for example. The title and author header and the token estimate make it easier to feed a long book to an AI one piece at a time.
Quote a book accurately in a paper or report
Search the text, select a passage in the preview and click “Copy selection as a citation” to copy it with the author, title and chapter. Paragraph numbers make it easy to point to the exact spot.
Proofread an EPUB you’re producing
Convert your EPUB to text chapter by chapter and paste it into a spell checker, Word or Google Docs. With paragraph numbers turned on, you can send feedback such as “chapter 3, P12”.
Move a public-domain book into a notes app
Turn a DRM-free EPUB, such as a Project Gutenberg download, into Markdown for Obsidian, Notion or any Markdown editor. Images can come along in an images folder.
Save an EPUB as TXT or Markdown in 4 Steps
- Drop an EPUB file onto the box, or click it to choose a file. The title, author and chapter list appear.
- Choose Markdown or Plain text, then set options such as chapter headings, a title and author header, and paragraph numbers.
- Check the chapters you want. The contents page and pages without text start unchecked. You can also rename chapters and search the text.
- Choose “One file per chapter”, “Merge into one file” or “Split by size for AI”, then save, copy or print to PDF.
Note: The preview and output update as you change settings.
Limits and Things to Know Before You Convert
- DRM-protected EPUBs can’t be converted. The tool doesn’t remove or bypass DRM, and it shows a message when it detects encrypted text.
- Only EPUB files load. Kindle formats (AZW3, KFX, MOBI), PDF and other formats won’t open, and renaming the file extension doesn’t help.
- Chapter breaks follow the EPUB’s table of contents. If the table of contents is incomplete, the breaks may not match the book’s real chapters.
- Fixed-layout EPUBs, such as comics and photo books, have little or no text. Save their images as a ZIP instead.
- PDF output uses horizontal text only, and vertical text isn’t supported. Token counts are estimates and vary by AI service.
- Files up to 400 MB can be loaded. Large books need more browser memory.
- The copyright in extracted text and images stays with the original rights holder. Use them within the work’s license and applicable copyright law.
Which Files Can Be Converted? DRM, Kindle and Other Formats
Check your file against this list. What matters is whether the file has DRM and what format it is.
| File type | What this tool does | Notes |
|---|---|---|
| DRM-free EPUB (novels, nonfiction) | Yes: text and images | Reflowable books, where the text wraps to the screen |
| Project Gutenberg and other public-domain EPUBs | Yes | Public-domain works. Ruby options appear for Japanese books |
| An EPUB you made yourself | Yes | Made in Sigil, Pandoc or similar. Handy for proofreading |
| Fixed-layout EPUB (comics, photo books) | Images only | Little or no text |
| DRM-protected EPUB | No | The text is encrypted. DRM isn’t removed |
| Kindle books (AZW3, KFX, MOBI) | No | Not EPUB, and many have DRM |
| PDF, Word and other formats | No | This tool reads EPUB only |
Choosing an output format
The best format depends on what you will do with the text.
- Markdown: Best for AI tools and for notes apps such as Obsidian or Notion. Keeps headings, bold text, tables and lists.
- Plain text: For Word, proofreading tools or text-to-speech software. No Markdown symbols.
- PDF: For printing or sharing. Horizontal text, with a page break before each chapter.
“Yes” assumes the file isn’t protected by DRM. Whether a file can actually be read is checked when you load it.
Inside an EPUB: Chapters, Ruby Text and Preparing Text for AI
What an EPUB contains, and how to extract it for each kind of use.
Short answer: an EPUB is a ZIP of HTML chapters and images, split by its table of contents
An EPUB is a ZIP archive holding HTML files with the text, images and a table of contents. Changing the extension to .zip lets you look inside.
This tool opens the archive, reads chapter breaks from the table of contents (nav or NCX), strips the HTML tags and tidies the result into plain text or Markdown. When one HTML file holds the whole book, it splits at the positions the table of contents points to.
For AI tools, use Markdown and split by chapter or by size
AI services limit how much text they accept at once. Pasting a whole book may get cut off, or the answers about later chapters may get worse.
It works better to send one chapter at a time, or pieces of a set size. Splits fall between paragraphs, so sentences stay whole. The title and author header tells the AI where the text came from.
Ruby text, gaiji and emphasis dots in Japanese EPUBs
Japanese EPUBs often contain ruby (furigana) reading aids, special characters shown as images (gaiji) and emphasis dots (bouten). Keeping ruby inline can break a word into pieces so a text search misses it.
For searching, summaries and quotes, choose Remove. To keep the readings, choose In parentheses or Aozora style. A gaiji image is output as its alt text when it has one. If emphasis dots are marked with an emphasis tag whose class name suggests them (such as bouten or sesame), Markdown output shows them in bold.
DRM and copyright: what can be extracted, and how to quote
A DRM-protected EPUB has encrypted text, so this tool can’t convert it and doesn’t remove DRM. A DRM-free EPUB is still covered by copyright.
When you quote a book, use only what you need, mark it clearly as a quotation and name the source. The “Copy selection as a citation” button adds the author, title and chapter. For legal questions, ask a professional.
EPUB Won’t Convert? Common Problems and Fixes
Loading a DRM-protected EPUB and getting an error
You open an EPUB bought from a store and the tool says it can’t convert it, because the text is encrypted. Buying a book doesn’t guarantee a DRM-free file.
💡 See the solution▼
Renaming a Kindle or PDF file to .epub
Changing the extension of an AZW3, MOBI or PDF file to .epub doesn’t change its format. The tool reports that it can’t read the file as a ZIP archive.
💡 See the solution▼
Pasting a whole book into an AI chat at once
Pasting hundreds of thousands of characters at once can go over what the service accepts, so only part of the book is read or later chapters are ignored.
💡 See the solution▼
Exporting the cover, contents and copyright pages with the story
If every page is included, the table of contents, copyright notice and ads end up in the text. That adds noise to summaries and searches.
💡 See the solution▼
Chapter names that read “Section 12” or repeat
When an EPUB’s table of contents is incomplete, some sections get a generic name, or the title is taken from the first heading on the page.
💡 See the solution▼
EPUB Converter FAQ
Q.How do I convert an EPUB to text or Markdown?
A. Drop an EPUB onto the page or click to choose one. The title, author and chapter list appear right away. Choose Markdown or Plain text, check the chapters you want, and click “Save ZIP” to get one file per chapter. To put everything in one file, choose “Merge into one file”. To paste the whole book into an AI chat or another app, click “Copy all text”. There is nothing to install and no account to create.
Q.Can I convert an EPUB that has DRM?
A. No. The text of a DRM-protected EPUB is encrypted, so the tool can’t read it. The tool doesn’t remove or bypass DRM, and if the book text is encrypted it shows a message and stops. It works with DRM-free EPUBs, EPUBs you made yourself, and public-domain books such as those on Project Gutenberg. In the US, the DMCA restricts circumventing DRM, and many other countries have similar laws. This is general information, not legal advice.
Q.Can I convert Kindle books or books I bought from an ebook store?
A. Usually not. Kindle books are sold in Amazon’s own formats, such as AZW3 and KFX, not EPUB, and they typically have DRM. EPUBs from other stores often have DRM too, and the tool can’t read those. Renaming a file to .epub doesn’t change what’s inside, so loading fails. Books that the seller offers as a DRM-free EPUB download will work.
Q.How do I split an EPUB into chapters?
A. The tool reads chapter breaks from the EPUB’s table of contents (the nav document or NCX file). Choose “One file per chapter” and the chapters are saved in a ZIP with names like 001_Chapter 1.md. If the whole book sits in one HTML file inside the EPUB, it is still split at the places the table of contents points to. Uncheck front matter such as the cover, contents page and copyright page, and rename any chapter with the pencil button.
Q.How do I get an ebook into ChatGPT or Claude?
A. Choose “Split by size for AI” and pick how many characters each file should hold, from 5,000 to 200,000. Files break between paragraphs, so sentences stay whole. The one exception is a single paragraph longer than the limit, which is cut at a sentence end where possible. Markdown keeps headings and tables, and the title and author header tells the AI where the text comes from. The page also shows an estimated token count based on about 4 English characters per token. Each AI service has its own input limit, so use the estimate to choose a size. Check the service’s terms and copyright rules before uploading a book’s text.
Q.How are ruby (furigana) annotations handled?
A. For Japanese EPUBs, three options appear: Remove, In parentheses and Aozora style. Remove keeps only the base text, which is best for searching, summaries and quotes. In parentheses writes base(reading), and Aozora style writes |base《reading》. When ruby is attached one character at a time, a word is broken into pieces, so Remove is the safer choice for searching. Gaiji (special characters drawn as images) are output as the image’s alt text when it has one. These options appear only when the EPUB contains ruby text or is marked as Japanese.
Q.Can I extract only the images from an EPUB?
A. Yes. The Images panel shows thumbnails of the images in the file (the first 48). Click one to save it, or choose “Download all images (ZIP)” to get all of them. When you save text as a ZIP, you can also include the images used in the checked chapters in an images folder. EPUBs that are mostly images, such as comics and photo books, can be handled this way too. Encrypted images can’t be extracted.
Q.Can I save an EPUB as a PDF? Does it keep vertical text?
A. Click “Open print dialog”, then choose Save as PDF as the destination in your browser’s print window. You can pick a page size (paperback 5.5 × 8.5 in, Letter or A4) and a text size. The PDF has a title page, and each chapter starts on a new page. Text is laid out horizontally, so vertical text isn’t supported, and the EPUB’s own styles and fonts aren’t carried over. Some mobile browsers can’t save from the print dialog. If yours can’t, try a computer.
Q.Is my EPUB file uploaded or stored anywhere?
A. No. Reading the file, splitting chapters, converting, building ZIPs and extracting images all happen in your browser. The file isn’t sent to our servers or saved in a database, and closing the page or opening another file clears it from memory. The file size limit is 400 MB, and what actually works depends on your device’s memory.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.