Open editor
Markdown to EPUB

Markdown to EPUB ebook maker

Write or paste a book, add a title and author, and this Markdown to EPUB tool builds a standard EPUB 3 file with chapters and a table of contents.

How to create an EPUB from markdown

Markdown is a comfortable way to write a long text: no styling menus, just headings, paragraphs and lists. The hard part has always been getting it onto an e-reader without installing a publishing tool. This page does that step. Every top-level # heading starts a new chapter, and any text before the first heading becomes an introduction. The preview on the right shows the chapter count as you type.

When you create an EPUB from markdown here, you get a real EPUB 3 package: a chapter file for each section, a navigation file plus an older-style table of contents for older readers, a simple serif stylesheet, and the title and author in the book's metadata. Lists, quotes, code blocks, tables, links, bold and italic all carry over. The file opens in Apple Books, Kobo, Google Play Books and Calibre.

The md to epub build happens in your browser, so your manuscript is never uploaded. The title is filled in from the first heading until you type your own. Images are not packed into the file; pictures linked from the web may show on readers that are online, so for a fully offline book add them afterwards in Calibre. There is no cover page yet, so add one there too if you need it: open the book in Calibre, use the metadata editor to choose a cover image, and save. Calibre can also convert the book to other ebook formats.

Why use this Markdown to EPUB tool

Chapters from headings

Every # heading starts a new chapter, listed in the table of contents.

Standard EPUB 3

Opens in Apple Books, Kobo, Google Play Books and Calibre; Send to Kindle accepts EPUB too.

Readable styling

Clean typography, code blocks, quotes and tables.

How to make an EPUB from Markdown

  1. Paste your markdown, using # headings for chapters.
  2. Enter the title and author.
  3. Press Download .epub.

Common uses for Markdown to EPUB

Frequently asked questions

Can I send it to a Kindle?

Yes. Amazon's Send to Kindle accepts EPUB files and converts them.

Are images supported?

Images from the web are linked; for a fully offline book, use images hosted online or add them in Calibre.

Can I convert an EPUB back?

Yes, with EPUB to Markdown.

Is Markdown to EPUB free?

Yes, free with no sign-up and no watermark in the book. It works in desktop and mobile browsers, and the .epub file downloads straight to your device.

Do ## subheadings make chapters?

No. Only top-level # headings start chapters; ## and lower stay as headings inside a chapter, so you can structure each chapter freely. If your file uses ## for chapters, change them to # before you download.

Can I check the book before I download it?

Yes. The preview shows the rendered text and the chapter count. After downloading, open the file in Apple Books, Calibre or another reader to page through it.

Related markdown tools

See all 41 free markdown tools →