Text & HTML to EPUB Converter — Browser-Only, Private
Turn any text or HTML into a Kindle-ready EPUB without sending files to a server. Paste content directly, or pick a .txt / .html file, set title and author, optionally add a cover image, and download the EPUB.
# start new chapters.Book metadata
Cover image (optional)
How to make an EPUB from a text file
- Paste the text or load a file. When you upload a file, the tool looks at it and flips the source format for you: anything that contains tags like
<p>,<div>or a heading is treated as HTML, everything else as plain text. - Mark the chapters. In plain text, put
# Chapter Oneon its own line wherever a chapter starts. Text before the first marker becomes an opening section that appears as "Chapter 1" in the contents. - Fill in the metadata. If you leave the title empty, the uploaded file's name is used, and pasted text with no title is called "Converted".
- Add a cover if you have one, then press Convert and Download. The result is named like
My_Book.txt-3.epub, showing the source mode and the EPUB version.
Getting HTML chapters right
Chapters split on <h1> elements that sit directly inside <body>. Pages saved from a website or a blog editor often wrap everything in an <article> or <div>; in that case the whole document becomes one long chapter. Strip the wrapper, or move the H1s to the top level, before converting. Every <style> block in the source is copied into each chapter, so a single stylesheet at the top styles the whole book. Images referenced by <img src> are not downloaded into the EPUB, so this tool works best for text-first books; for a picture book, build it with the images to EPUB converter instead.
Good uses and Kindle tips
Typical jobs are turning public-domain texts, fan fiction, long newsletters, meeting notes or a draft manuscript into something you can read comfortably on an e-reader with adjustable font size. For Kindle, send the EPUB with Send to Kindle; a text-only book is tiny, so email delivery is fine. For Kobo, copy it to the device over USB. If you later want a different cover or need to fix the author name, open the book in Change EPUB Cover. If your source is a PDF rather than text, the PDF to Kindle converter extracts the text for you.
Right-to-left page order is enabled automatically for Arabic, Hebrew and Farsi when you build EPUB 3. Chinese, Japanese and Korean books are labelled with their language but keep left-to-right page turns.
Frequently Asked Questions
- TXT — plain text. Paragraphs are split by blank lines; no formatting.
- HTML — paste or upload HTML. Headings, lists, links, and inline emphasis are preserved.
<h1> headings — each H1 starts a new chapter automatically. In TXT mode, lines like # Chapter Title on their own start a new chapter. The heading text becomes the chapter's name in the e-reader's table of contents.<style> blocks inside the HTML are kept. External CSS files (<link rel="stylesheet">) are not bundled — paste their content as a <style> block instead. Scripts and inline event handlers are removed, since e-readers don't run them.<br> where a line must end.# and a space. Other Markdown such as **bold**, ## subheadings or lists stays as literal characters. Convert Markdown to HTML first and use HTML mode if you need that formatting.