EPUB to TXT converter

Choose an ebook and the text appears at once: every chapter in the order of the book, with paragraphs separated by blank lines. Copy it, or download it as plain text or as Markdown with headings and emphasis.

Everything happens in your browser. Your files are never uploaded.

Output

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose an .epub, .fb2 or .fb2.zip file.
  2. Pick plain text or Markdown, and whether the title and author go on top.
  3. Check the text in the box, then download it or copy it.

How it works

An EPUB is a ZIP archive of XHTML pages. The tool unpacks it with the browser’s own decompressor, reads the package file to find the reading order (the spine), and turns each page into text: block elements become paragraphs, line breaks stay, scripts and styles are dropped. An FB2 file is one XML document whose sections are read in order. Words are counted as runs of letters or digits.

Worked example

A chapter page that holds <h1>Chapter 1</h1><p>It was a <em>dark</em> night.</p> becomes

  • plain text: “Chapter 1”, a blank line, “It was a dark night.”;
  • Markdown: “# Chapter 1”, a blank line, “It was a dark night.”.

Chapters are separated by two blank lines in text and by a — rule in Markdown.

Tips

  • Text files are tiny and open everywhere, which makes them handy for reading on old devices, searching or text-to-speech.
  • Use Markdown when you want to edit the book or convert it further while keeping its headings.
  • To turn text back into an ebook, use the text to EPUB converter.

Frequently asked questions

Can it convert DRM-protected EPUBs?

No. Books with DRM are encrypted, and their text cannot be read without the store's reader app. DRM-free EPUBs, such as many public-domain books, work.

What happens to pictures and formatting?

Pictures are left out. Paragraphs, headings and line breaks are kept; in Markdown, headings get #, bold and italic text get ** and *, lists get dashes or numbers, and quotes get >.

Does it work with FB2?

Yes. FictionBook (.fb2) files and zipped .fb2.zip files are read too, including older ones saved in the Windows-1251 encoding. Notes are added at the end.

Is the book uploaded?

No. The file is unpacked and read in this browser tab.

More in PDF

All tools in this category: PDF ·Updated November 7, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.