Ebook tools Free · No sign-up · No upload

Convert TXT to EPUB

Turn a text file into a proper ebook with chapters and a table of contents. Lines such as Chapter 1 or Part Two begin new chapters automatically.

  • Free, no daily limits
  • Text stays on your device
  • Chapters detected for you
  • No watermark
Choose text fileor drop it here · TXT, TEXT
Choose cover picture (optional)or drop it here · JPG, PNG, WebP, SVG, AVIF, GIF
  • Runs on your device. Files are never uploaded.
  • Free and unlimited. No sign-up, no watermark.
Private: processed in your browserNo upload waitIN: TXT → OUT: EPUB
How was TXT to EPUB?
How it works

TXT to EPUB in three steps

No account, no email, no waiting for an upload.

  1. STEP 01

    Add your text file

    Drop a TXT on the page, or tap Choose file. Add an optional cover picture too.

  2. STEP 02

    Tune the details

    Set the title, author and language. Choose how paragraphs are found, and keep chapter detection on or turn it off.

  3. STEP 03

    Download your EPUB

    You get an ebook with a contents list, and the note shows the chapter count.

What you get

What TXT to EPUB does, and what it doesn't

We'd rather tell you up front than surprise you after the download.

What you get

  • Chapter lines recognizedLines like "Chapter 1" or "Part Two" start a new chapter and appear in the contents.
  • Three paragraph modesDetect automatically, split on blank lines, or treat every line as a paragraph.
  • Hard-wrapped text is repairedOld text files with fixed-width lines are joined into flowing paragraphs, while short lines such as poetry keep their breaks.
  • Odd encodings handledUTF-8, UTF-16 and Windows-1252 text files are decoded so accents survive.

Good to know

  • No formatting in plain textA TXT file has no bold, italic, images or headings, so the EPUB is plain prose. For styled text start from Markdown to EPUB or DOCX to EPUB.
  • Chapter titles must look like chaptersHeadings that do not start with a word like Chapter or Part may not be detected. Turn detection off to get one long chapter.
  • One file at a timeCombine several books afterward with Merge EPUB files.
Private by design

Your books never leave your device

The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.

Typical online tool upload

Your device→Their server→Your device

Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.

Mediaextractr no upload

Your device does all the work

The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.

Made for real work

When people use TXT to EPUB

Read a saved story on an e-reader

Convert a text download into a book with bookmarks and fonts you control.

Publish a draft

Turn plain-text writing into a shareable ebook.

Preserve old text libraries

Move a folder of .txt books into a neater format.

Create reading packs

Make a single EPUB from class notes.

Compare

Mediaextractr vs typical upload tools

MediaextractrPrivateTypical upload tools
Your file is uploadedNeverYes
Sign-up neededNoOften, after a few files
Daily file limitNoneOften 1–2 free files
WatermarkNeverSometimes
Wait for upload & downloadNoYes
Speed on very large filesDepends on your deviceDepends on their servers

How chapters are found

Plain text has no real headings, so the tool looks for lines that read like chapter titles: Chapter 1, CHAPTER ONE, Part Two and similar. Each one starts a chapter and gets an entry in the contents.

If your book uses another pattern, turn detection off or edit the text to add a clear chapter line.

Choosing a paragraph mode

Detect automatically works for most files. Use blank lines when paragraphs are separated by an empty line. Use every line when each line is its own paragraph, as in scripts or lyrics.

If the result has odd breaks mid-sentence, try the blank-line mode.

Polish the finished book

After converting, add a cover with Change EPUB cover, tidy details with Edit EPUB metadata and make sure the file is sound with Validate EPUB.

FAQ

Questions, answered

How do I convert a TXT file to EPUB?

Add the text file, set the title and author, and download. Chapters are found automatically.

How does it find chapters?

Lines such as Chapter 1 or Part Two start new chapters. You can turn this off.

Is my text uploaded?

No. The conversion happens in your browser and your file stays on your device.

Will accented letters display correctly?

Yes. UTF-8, UTF-16 and Windows-1252 text are all decoded.

Does it work on my phone or Mac?

Yes, in any modern browser on Windows, Mac, iOS and Android.

Can I add a cover?

Yes. Add a JPG or PNG in the optional cover slot.