Markdown to EPUB Converter
Turn a Markdown or plain-text manuscript into an EPUB, with chapters from your headings.
How to convert Markdown to EPUB
Drop a .md (or .txt) file on the box, check the title and chapters, add a cover, and download the EPUB. It runs in your browser.
How Markdown maps to an ebook
- Headings make the chapters. If your book uses
#for the title and##for chapters, a heading used only once at the top becomes the title and the##headings become chapters. If#is used for every chapter, each one becomes a chapter. **bold**,*italics*, lists, links and block quotes carry over.- Inline code and code fences become plain text; horizontal rules are dropped.
- Images aren’t included: an image link points to a file outside the Markdown, which the browser can’t read. If your images matter, put the text in a Word document and use the DOCX converter.
Writing in one Markdown file per chapter? Join them first (cat chapter-*.md > book.md on a Mac) so the converter sees the whole book.
Check the result with the EPUB checker. If you’d rather not write the whole thing yourself, Koobe can draft it from an idea.
Markdown to EPUB examples
A book written in Obsidian or iA Writer
Export or copy the manuscript as one .md file; ## headings become chapters with a table of contents.
A GitHub README turned guide
Headings, lists and links carry over; code blocks become plain text paragraphs.
A plain .txt draft
Lines like “Chapter 1: Getting Started” split the chapters, and blank lines separate paragraphs.
Markdown to EPUB FAQ
First book free · No card needed · Cancel anytime
Is my file uploaded?
No. The file is read and converted by your browser, on your computer. Nothing is uploaded to Koobe or anywhere else, so it works for unpublished manuscripts too.
Which Markdown does it support?
Headings, paragraphs, bold, italics, bulleted and numbered lists, links and block quotes. Tables, footnotes and images aren’t carried over.
How do I make chapters?
Give each chapter a heading at the same level, usually ## (or # if the book has no separate title heading). The converter uses the top level that appears more than once.
Can I use it for a plain text file?
Yes. Blank lines separate paragraphs, and lines like “Chapter 3” or “Part Two” start chapters.
More free ebook tools
Ebook cover size guide
The right cover size for every store, and a checker that tells you if your image is ready.
EPUB checker
Check an EPUB for the problems that get files rejected by Amazon, Apple Books and Kobo, right in your browser.
DOCX to EPUB
Convert a .docx file to a clean EPUB 3 ebook, with chapters, a table of contents and your images.
Word to EPUB
Turn your Word manuscript into an EPUB ready for Kindle, Apple Books and Kobo, in a few clicks.
PDF to EPUB
Turn a text PDF into a reflowable EPUB that reads well on phones and e-readers.
EPUB editor
Change your EPUB’s cover, details, chapters and text in your browser, then download a checked copy.
“Still went out the same week. That’s the part I couldn’t do on my own.”
Claire Dobson · Freelance designer, BristolYour book is one sentence away
Describe it, watch Koobe build it, and download it when you’re happy. Your first book is free.
First book free · No card needed · Cancel anytime