Sign up free

TXT to EPUB Converter

Turn a long TXT novel into an EPUB that looks finished, with the website's adverts gone, a contents list you can tap and a cover on your shelf.

More tools
Kindle & comicsCBZ to PDF

or drop files here

Accepts TXT

Encrypted upload. Files are deleted automatically after 1 hour.

About TXT to EPUB

TXT to EPUB is for the long plain-text books that are painful to read as one giant file: web novels, public-domain classics, fan fiction, notes collected over years. Upload the .txt and get a web novel with the site's adverts and its own contents list gone. Lines the website slipped into the story, such as 本章未完,请点击下一页 (continued on the next page), (本章完), update banners and bare web addresses, are left out, and the result says how many went. The Project Gutenberg licence around a Gutenberg book goes too. Volumes and chapters land in a contents list you can tap, and a cover sits on your shelf instead of a grey placeholder. The reverse, pulling the text out of an EPUB, is what EPUB to TXT does.

Chapter titles are found in 25 languages, from Chapter 12, Part Two and Prologue to 第十二章, 卷三 and 番外, with each volume's chapters listed under it. Texts wrapped at a fixed width, like Project Gutenberg's 70-character lines, get their paragraphs back, with words hyphenated at a line end made whole. Title and author are read from the first lines (《书名》, 作者:…, Title:, Author:) unless you type them, and Cover makes a clean cover from them at 1600 × 2560 px, the size Kindle and Apple Books ask for, or uses a picture of your own. The book's language is read from its text, so the reader's fonts, hyphenation and dictionary follow it, and Paragraphs sets the text indented like a printed book or spaced apart. GBK, Big5, Shift-JIS and UTF-16 files are decoded automatically, and Chinese characters under More options turns Traditional into Simplified or back. Several TXT files become One book, a part per file, named after what the file names share. For a book whose chapter titles aren't found by themselves, Chapters start with makes every line beginning with your word a chapter. Chapters start with and A book for each file are VIP choices. To read it on a Kindle, Convert for Kindle prepares the EPUB for your model.

How to use TXT to EPUB

  1. 1
    Upload the TXT file

    Choose or drop the .txt book, or all the files of a series at once. Free accounts can upload files up to 50 MB and 20 per task, VIP up to 1 GB and 50.

  2. 2
    Check title, author and cover

    Leave Title and Author empty to have them read from the text, pick a Cover, and keep Remove website ads and licence text on.

  3. 3
    Click TXT to EPUB

    The text is decoded, cleaned and split into volumes and chapters on our server, then packed into an EPUB.

  4. 4
    Download and read

    Open the EPUB on your phone, in Apple Books or on a Kobo, or send it to your Kindle.

Why use Cubfile for this

  • Adverts and clutter gone

    Next-page prompts, end-of-chapter marks, bare web addresses, the Project Gutenberg licence and the text's own contents list are left out.

  • Volumes and chapters you can tap

    Volumes and their chapters in a two-level contents list, also written the older EPUB 2 way so older e-readers show it too.

  • A cover on the shelf

    A clean cover made from the title and author, or a picture of your own, instead of a grey placeholder.

  • Paragraphs like a printed book

    Lines broken at a fixed width are joined again, and paragraphs are indented (two characters in Chinese, one in Japanese) or spaced apart.

FAQ

TXT to EPUB: questions and answers

How does TXT to EPUB find chapters?
It looks for short lines that read like chapter or volume titles in 25 languages, such as Chapter 5, Part Two, Prologue, 第五章, 卷三 or 番外, and lists each volume's chapters under it. If fewer than two turn up, the text is split into parts of about 30,000 characters. Set Chapters to One long chapter to keep the whole text in one.
What does Remove website ads and licence text take out?
Lines a website added to the story, such as 本章未完,请点击下一页, (本章完), update banners or a line that's only a web address, plus the Project Gutenberg licence around a Gutenberg book. The result tells you how many lines were removed, and turning the option off keeps the text exactly as it is.
My TXT to EPUB result is garbled. What now?
Open More options and choose the file's encoding under Text encoding, for example GB18030 for simplified Chinese or Big5 for traditional, then convert again. Automatic detection gets almost every file right.
Can I convert TXT to EPUB for free, and how big can the file be?
Yes. Visitors get 2 tasks and free accounts 2 a day, with TXT files up to 50 MB and 20 files per task. VIP has no task cap, takes files up to 1 GB and 50 per task, and adds Chapters start with and A book for each file.
Do you keep a copy of my book?
No. The file is uploaded over HTTPS, converted in an isolated process and deleted automatically after an hour, along with the EPUB.
Share TXT to EPUB with a friendIt runs in any browser, and they can try it without signing up.

Related tools

EPUBPDF EPUB to PDFTurn e-books into PDF for printing and reading on any screen.
EPUBTXT EPUB to TXTGet the plain text of an EPUB, in UTF-8 or GBK.
MOBIPDF MOBI to PDFSoonTurn DRM-free MOBI books into PDF.
AZW3EPUB AZW3 to EPUBSoonConvert DRM-free AZW3 books to EPUB.
AZW3PDF AZW3 to PDFSoonTurn DRM-free AZW3 books into PDF.
CBRPDF CBR to PDFSoonTurn a CBR comic into a PDF.
CBZPDF CBZ to PDFTurn a CBZ comic into a PDF with pages in the right order.
CHMPDF CHM to PDFSoonConvert Windows help files (CHM) to PDF.