Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

EPUB to TXT

Choose one .epub file of at most 32 MB. This page unpacks the book in this tab, reads the body text in spine order, and lets you download a UTF-8 .txt file. Books with DRM are rejected.

Runs in your browserRuns in your browserNo DRM books
1

Add an EPUB file

The file stays in this tab. Books with DRM, including any file that contains META-INF/encryption.xml, are rejected.

Unpacking uses unmodified JSZip (MIT), already listed on the licenses page.Open source notices

2

Extracted text

How to use EPUB to TXT

  1. Add an .epub fileChoose one EPUB book ending in .epub, at most 32 MB. Password-protected and DRM-protected books are not supported.
  2. Extract the textThe page unpacks the ZIP package in this tab and reads the documents in the book spine. Images, styles, and layout are omitted.
  3. Download a TXT fileSave a UTF-8 text file with LF line endings. Review the result before you use it.

Limits and how it works

  • Only one .epub file at a time, at most 32 MB, with at most 200 spine documents.
  • Extracted text is limited to 2,000,000 characters.
  • Books that contain META-INF/encryption.xml, including font-only encryption, are rejected. DRM is not removed.
  • Images, styles, and layout are omitted. Output is UTF-8 plain text with LF line endings, not an EPUB and not a layout-accurate preview.

How the text is extracted

An EPUB file is a ZIP archive of HTML or XHTML documents plus a package file that lists reading order. This page uses unmodified JSZip (MIT), already listed on the licenses page, to unpack the archive in this tab. It then reads the spine documents in order and writes their visible text. Library source files are not modified. The download is UTF-8 plain text with LF line endings and no byte-order mark.

This is not a layout-preserving export and not a full ebook reader. Images, covers, fonts, CSS, audio, and video are omitted. Tables, lists, and headings are flattened to text. Footnotes, page lists, and navigation documents may be incomplete or missing.

Books that include META-INF/encryption.xml are rejected, including files that only encrypt fonts. This page does not remove, bypass, or work around DRM. If your book is locked, use a copy you are allowed to read without DRM. For a paginated PDF instead of plain text, use EPUB to PDF. To extract text from a PDF, use PDF to Text.

Frequently asked questions

Is the file uploaded?

No. Unpacking and text extraction all run in this tab.

Why was my EPUB rejected?

If the file contains META-INF/encryption.xml, it is treated as DRM-protected and is not converted. Password-protected ZIP archives are also rejected. Make sure the file is an unencrypted .epub.

How is this different from EPUB to PDF?

EPUB to PDF lays the book out as pages in a PDF. This page writes a plain text file with no typography or images.

Will chapter titles stay in the TXT file?

Heading text that appears in the spine documents is kept as plain text. Visual styling is not kept.

Related tools

All tools