How to Convert TXT to EPUB: A Step-by-Step Guide
A plain text file opens almost anywhere, but it makes a poor ebook. There’s no table of contents, no cover, no way to jump to chapter 40, and it lands in your library under a name like final_v2_ch1-80. Converting it to EPUB gives you all of those things and leaves your words alone.
This guide walks through a full conversion with the converter on this site, including the handful of places where a book tends to go wrong. Most files take a couple of minutes.
Get the file ready first
The converter accepts files ending in .txt, up to 10 MB each, 50 MB in total and 100 files at a time. Ten megabytes of plain text is a very long book, so these limits mostly matter when you combine a big series. A file over the limit is turned away rather than cut short, so split it before adding it.
Two quick checks save trouble later.
- Look at how paragraphs are laid out. Every line in your file becomes its own paragraph. If the text was hard-wrapped at around 70 characters, as many older plain text books are, each short line will show up as a separate paragraph. The converter doesn’t rejoin them, so unwrap the text in a text editor first.
- Name multi-part files clearly. Files sort by their numbers, so “Novel 2.txt” comes before “Novel 10.txt” even without a leading zero. You can still reorder them by hand afterward.
From TXT to EPUB, step by step
- Open the converter and press “Choose TXT files”, or drop your files anywhere on the page. If you’d like to see how it works before using your own book, press “Try a sample”.
- Read the first page in the preview. If the words look right, the encoding is fine. If you see strings like ’ or characters from the wrong alphabet, fix that before anything else, because changing the encoding later discards any edits to that file. The guide on garbled text covers this in detail.
- Open “Book details” in the settings panel and fill in “Title” and “Author (optional)”. The panel starts open on wide screens. On a phone, press “Settings” to bring it up.
- Open “Chapters” and scan the list. You should see one entry per chapter. If it says “No chapter headings found”, or some entries are clearly ordinary sentences, the guide on splitting chapters shows how to fix it.
- Open “Cover” to choose colors for the generated cover, or press the cover thumbnail in “Book details” to use your own image.
- Adjust “Reading style” if you want to. The preview updates as you change things.
- Page through the preview, including a chapter or two from the middle, then press “Download EPUB”.
The file you download is the same one shown in the preview. If you change a setting, the button waits until the book has been rebuilt, so you can’t end up with an older version by accident.
Title, author and language
The title starts out as the file name without .txt. With several files, the converter uses the part their names share, so “Long Road 1.txt” and “Long Road 2.txt” become “Long Road”. Type over it if you want something else. Most e-reader libraries list a book by this title rather than its file name, so it’s worth a few seconds.
The language is a guess based on the text. Korean, Japanese and Chinese are recognized from their characters. Anything else written in Latin letters is set to English, along with the message “Please check the language”. For an English book you can simply confirm it. For a French or Spanish book, open the “Language” menu, choose “Other…” and type a tag such as fr or es-MX.
Making a cover
Every book gets a cover. If you don’t add an image, the converter draws one from your title and author. In the “Cover” section you can change “Background”, “Text color”, “Position” and “Cover text size”. If your full title is too long to look good, turn on “Use different text on the cover” and write a shorter one. The book’s real title stays as it was.
To use your own artwork, add a JPEG, PNG or WebP image of up to 10 MB. If an image is rejected, your current cover stays in place and you can try another.
Reading style: what’s worth changing
E-readers have their own font and size controls, so the defaults are a sensible place to stop. These are the settings people most often have a reason to touch.
- “Font” starts on “Reader default”, which lets the device use whatever font you’ve chosen there. Pick “Serif” or “Sans-serif” if you want the book to ask for a particular style.
- “Text size”, “Line spacing” and “Margins” set the starting look. Sizes are relative, so the size control on your reader keeps working.
- “Blank lines” matters more than it looks. The book adds no indents or spacing between paragraphs, so if your file separates paragraphs with a blank line, keep those lines. “Remove all” would run everything together into a solid block. “Merge consecutive blank lines” is the useful option when a file has gaps of three or four empty lines.
- “Embed the font in the book” is available once you choose Serif or Sans-serif. It makes the file larger, and some readers replace fonts with their own settings anyway, so turn it on only if you have a reason to.
Converting a series: one book or several
When you add two or more files, a choice between “One book” and “Separate” appears next to the file button. “One book” joins them in order, and the table of contents gets two levels, with each file as a section and its chapters underneath. That suits a web novel saved as one file per arc.
“Separate” makes one EPUB per file, each with its own title, author, cover and writing direction, while the reading style is shared. Use the tabs to move between books, then press “Download all EPUBs” to get them together in a ZIP file. This is the better fit for a series of full volumes.
Things that catch people out
- Your work lives only in the open tab. “Refreshing or closing this tab discards your work”, as the page says, so finish and download before you close it. Your original TXT file is never changed.
- The converter doesn’t tidy your writing. It won’t fix spelling, spacing or punctuation, so what’s in the file is what ends up in the book. To correct something, press “Edit” and change it there.
- The preview is a close approximation, and it says so: “May differ from the real device”. Open the finished book on your actual reader before deleting anything.
Your file contents, file names, book details, cover and results stay in your browser. The one network request tied to your book happens when you embed a font or make a PDF. The site then sends you font files, and its server logs may show which script (Latin, Hangul, kana, Han characters and so on) those fonts were for.