Home › Text Tools › EPUB to Text Converter

EPUB to Text Converter

Open a DRM-free EPUB and get its plain text in seconds. Pick the chapters you want, check word counts and reading time, choose how headings and paragraphs look, then copy the text or download it as a .txt file or a ZIP with one file per chapter.

Last updated:

Drop an EPUB book hereDRM-free .epub (EPUB 2 or 3) · converted in your browser

Advertisement
Advertisement

How to use the EPUB to Text Converter

  1. Open your EPUB: drop it on the box or press Choose EPUB file. A short sample book loads first so you can see how it works.
  2. Pick chapters in the list on the left; untick the cover, copyright page or anything else you don’t need.
  3. Set the text options: how chapter titles look, blank lines between paragraphs, line width and line endings.
  4. Check the numbers: words, characters and estimated reading time update for your selection.
  5. Copy or download the text as a single .txt file, or as a ZIP with one text file per chapter.

What is inside an EPUB file?

An EPUB is a ZIP archive with a fixed structure. Knowing it explains how the text is found and why some books cannot be converted:

PartPath (typical)What the converter does with it
mimetypemimetypeIdentifies the ZIP as an EPUB (application/epub+zip).
ContainerMETA-INF/container.xmlPoints to the package file, wherever the publisher put it.
Package (OPF)OEBPS/content.opfReads the title and author, the manifest of files and the spine, the reading order of chapters.
Navigationnav.xhtml (EPUB 3) or toc.ncx (EPUB 2)Supplies the chapter names shown in the chapter list.
Content documentschapter1.xhtml, …XHTML pages whose paragraphs, headings, lists and tables become plain text.
Encryption infoMETA-INF/encryption.xmlIf content files are encrypted (DRM), extraction is impossible and the tool says so. Obfuscated fonts alone are fine.

Typical book lengths

Use the word count to compare your book with common publishing categories (rough industry conventions, not strict rules):

TypeApproximate wordsReading time at 238 wpm
Short story1,000 – 7,5005 – 30 minutes
Novelette7,500 – 17,50030 – 75 minutes
Novella17,500 – 40,0001.2 – 2.8 hours
Novel40,000 – 120,0002.8 – 8.4 hours
Epic novel120,000+8.4 hours or more

The 7,500 / 17,500 / 40,000 boundaries follow the categories used by the Science Fiction and Fantasy Writers Association for its Nebula Awards.

Tips for clean text

  • Listening to a book? Choose “Leave out” for chapter titles if your text-to-speech app reads them twice, and tick “Straighten curly quotes” for older apps.
  • Analysing or quoting text? Keep “One per line” paragraphs: each line is then exactly one paragraph, which is easy to process in spreadsheets or scripts.
  • Need chapters separately? The ZIP download numbers the files in reading order (01, 02, …) so they sort correctly.
  • Respect copyright. Converting a book you own for personal reading or accessibility is common; sharing the text of a copyrighted book is not allowed.

Frequently asked questions

How do I convert an EPUB to a TXT file?

Open the EPUB with this tool, keep the chapters you want ticked and press Download .txt. The file is saved as UTF-8 text named after the book’s title, ready for any text editor, e-reader or text-to-speech app.

Does it work with Kindle or other DRM-protected books?

No. Books with DRM are encrypted, and the tool detects this and tells you. It works with DRM-free EPUBs, such as public-domain books, many independent and publisher DRM-free titles, and books you made yourself. Kindle AZW/KFX files are a different format.

Why are chapter names missing or shown as “Section 3”?

Chapter names come from the book’s table of contents, or from the first heading in each file. If a file has neither, it is labelled by its position. The text itself is still extracted completely.

How is the word count calculated?

Words are runs of letters or digits (apostrophes and hyphens inside words are kept together), and each Chinese, Japanese or Korean character counts as one word. Reading time assumes 238 words per minute, the average silent reading speed for adult non-fiction reported in a 2019 review of 190 studies by Brysbaert.

Are images, footnotes and tables kept?

Images cannot be turned into text and are skipped. Footnotes and endnotes are kept where they appear in the book. Table cells are separated by tabs, list items start with a bullet, and horizontal rules become “* * *”.

Is my book uploaded anywhere?

No. The EPUB is unzipped and read by JavaScript inside your browser; the only download is the open-source JSZip library from a CDN. Your book never leaves your device.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

EPUB ReaderOpen and read EPUB e-books in your browser with pages, a table of contents and font controls.DOCX to Text ConverterExtract plain text from Word .docx files, in batch, with list markers, tables and .txt download.PDF to Text ConverterExtract the text from any PDF page by page, then copy it or save it as a TXT file.Word CounterCount words and characters and clean up text.Online Word ProcessorFree browser word processor with headings, lists, tables and images. Autosaves; export DOCX or PDF.Remove Line BreaksStrip line breaks and extra spaces, keep paragraphs if you want.Sort Lines AlphabeticallySort a list A-Z, Z-A, numerically, naturally or by length, or shuffle it.Case ConverterConvert text to UPPERCASE, lowercase, Title Case, camelCase and more.MLA Format GeneratorBuild an MLA 9 heading, title page layout and Works Cited entries.Lorem Ipsum GeneratorGenerate placeholder text as paragraphs, words or lists, with HTML.Text RepeaterRepeat any text or emoji up to 100,000 times with custom separators.Find and Replace TextFind and replace words or regex patterns in any text, with match highlighting and undo.Add Line NumbersNumber every line of your text with custom start, step, padding and separator, or remove numbers.Add Prefix and Suffix to LinesAdd text to the start and end of every line: quotes, commas, bullets or SQL lists.Comma SeparatorTurn a column of lines into a comma separated list and back, with any delimiter.Text to Handwriting ConverterTurn typed text into realistic handwriting on notebook paper and save it as PNG or PDF.Japanese Kana ConverterConvert romaji to hiragana or katakana, kana to romaji, and hiragana to katakana instantly.Pinyin Tone ConverterTurn pinyin tone numbers (ni3 hao3) into tone marks (nǐ hǎo), or tone marks back into numbers.Remove Duplicate LinesDelete duplicate lines from any list, ignoring case or spaces, keep first or last, and sort.Remove Extra SpacesClean up double spaces, tabs, blank lines, non-breaking and invisible spaces in one click.Random Word GeneratorGenerate random English words by type, length, first letter and syllables, then copy them.List RandomizerShuffle a list into random order, pick random items or split it into fair teams.Email ExtractorPull every unique email address out of text or files, sort, filter by domain and export CSV.URL ExtractorExtract every link from text or HTML, remove duplicates, filter by domain or protocol.Strip HTML TagsRemove HTML tags and get clean plain text with line breaks and decoded entities.Online NotepadPrivate notepad that autosaves notes in your browser, with find, word count and .txt download.Remove PunctuationStrip all or only selected punctuation from text, with smart options for apostrophes and numbers.Text SplitterSplit long text into chunks by characters, words, lines or a delimiter, with numbering and copy.Remove AccentsStrip accents and diacritics from text (é→e, ñ→n, ß→ss, ø→o) instantly, live as you type.Sort NumbersPull numbers out of any text and sort them ascending or descending, with sum, average and median.Thread SplitterSplit long text into numbered X, Threads, Bluesky or Mastodon posts at sentence boundaries.Duplicate Word FinderFind repeated words in your text: doubled words like "the the" and overused words, highlighted.Alternating Caps GeneratorTurn text into aLtErNaTiNg caps, random caps or alternating words, then copy it.Random Paragraph GeneratorGenerate readable random English paragraphs by topic and length for writing and design.Random Sentence GeneratorGenerate random grammatical sentences: simple, compound, complex and questions.Markdown to Plain TextStrip Markdown syntax and keep clean plain text with lists, line breaks and link URLs.SRT to TextTurn SRT or VTT subtitles into a clean transcript with paragraphs, with or without timestamps.Transcript CleanerRemove timestamps, speaker labels and filler words like um and uh, and fix broken line breaks.Keyword Match Type ConverterTurn a keyword list into broad, "phrase", [exact] and negative match types for PPC ads.Discord Text FormatterFormat Discord messages with bold, spoilers, headers, quotes, lists and code blocks, with live preview.DNA Reverse ComplementGet the reverse, complement or reverse complement of DNA/RNA, FASTA and IUPAC codes supported.Filter Lines Containing TextKeep or remove lines that contain words or match a pattern, with match counts and regex.Focus Reading ConverterBold the first letters of every word for faster, focused reading. Copy as rich text or HTML.Memo GeneratorWrite a business memo in standard To/From/Date/Subject format, then print, copy or save as .docx.PDF Text CleanerFix text copied from a PDF: join broken lines, undo hyphen splits, drop page numbers and headers.Pros and Cons List MakerWeigh a decision with a weighted pros and cons list, a score, a verdict and easy export.Remove Numbers from TextStrip all numbers and digits from text, keep MP3-style words or ordinals, and tidy the spaces.Return Policy GeneratorCreate a return and refund policy for your store as text or HTML, with a refund example.Screenplay FormatterType a script in plain text (Fountain) and get a properly formatted screenplay, page count and PDF.Word ChangerSwap words for synonyms in your text, then click any word to cycle through alternatives.Words That End WithFind English words ending in any letters or suffix, filtered by length and sorted by score.Annotated Bibliography GeneratorBuild an APA or MLA annotated bibliography with hanging indents and download it as DOCX.Extract Dates from TextFind every date in text, in any common format, and convert them all to one format you choose.Extract Text Between DelimitersPull out every piece of text between brackets, quotes, HTML tags or your own start and end markers.Recipe Shopping List GeneratorPaste several recipes and get one combined grocery list with merged amounts, by store section.One Word Per LineSplit any text into a list with one word per line; strip punctuation, dedupe, lowercase and sort.Recipe FormatterPaste a messy recipe and get clean ingredients, numbered steps, scaling and a printable card.Remove Words from TextDelete a list of words or phrases from any text and see how many times each one was removed.Reverse Line OrderFlip the order of lines, list items or paragraphs so the last becomes first.Pairwise Sequence Alignment ToolAlign two DNA or protein sequences, global (Needleman-Wunsch) or local (Smith-Waterman), with identity %.Sort Lines by LengthSort lines from shortest to longest or the reverse, with ties sorted A-Z and lengths shown.Sort Words AlphabeticallyPut the words in any text in A-Z or Z-A order, remove duplicates and pick a separator.Sentence SplitterSplit text into one sentence per line, smart about abbreviations, decimals and quotes.Text to Table ConverterTurn tab, comma, pipe or space separated text into a table to copy as rich text, Markdown or plain text.Text TruncatorShorten text to a character, word or sentence limit without cutting words, with an ellipsis.Bulk Find and ReplaceApply a whole list of find → replace pairs to your text at once, with a per-pair change log.Contraction ConverterExpand contractions (don't → do not) for formal writing or contract phrases for a casual tone.Count Duplicate LinesCount how many times each line appears, sorted by frequency, with duplicates-only and CSV export.
See all 96 Text Cleaning & Formatting →