Markdown to EPUB

Bundle Markdown into an EPUB 3 e-book, with a contents page built from your headings and images packaged inside.

Example

Markdown
# Chapter 1

Once upon a time…
EPUB e-book
[an EPUB 3 book with a contents page]

What it keeps

  • An EPUB 3 book with a navigation document (contents page)
  • Headings, text, lists, links, tables and code
  • Images packaged inside the .epub, from data: URIs and http images it can fetch
  • Opens in Apple Books, Calibre and e-readers

Where it struggles

  • One Markdown file becomes one chapter flow
  • Images it can't fetch (relative paths, or servers that block cross-origin requests) become their alt text
  • Cover art isn't added automatically

Frequently asked questions

Will it open in my e-reader?

Yes. It produces a standard EPUB 3 file that Apple Books, Calibre and most readers accept.

How are chapters formed?

Your document becomes a single chapter flow. Level 1 to 3 headings become entries in the contents page.

Is my file private?

Yes. The EPUB is packaged in your browser. The only requests it makes are to fetch http images your Markdown links to.