Convert MD to EPUB

Turn MD files into EPUB. An e-book with a new chapter at each top-level heading, keeping lists, tables, code, footnotes and embedded images.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MD files on the dialor turn it to pick what to do

A Markdown file as an e-book.Each top-level heading starts a new chapter. Lists, tables, code and footnotes stay.

  1. What you get

    An EPUB e-book made from your Markdown file. A new chapter begins at each top-level heading. Lists, tables, code, footnotes and embedded images are kept.

    The result is one file.

  2. Title and author

    The title and author come from a YAML block at the top of the file. Without one, the title is the only top-level heading. If there is no such heading, the title is the file name.

  3. Images

    Images that are embedded in the file are kept. Images that point to other files or to the web cannot be fetched, so their descriptions stand in for them.

    To turn an e-book back into Markdown, use EPUB to MD.

MD and EPUB.What each format is.

The formats

From · MD

Markdown

Plain text with light markup for headings, lists, links and code. What agents and developers write in.

Extensions
.md .markdown .mdown
MIME type
text/markdown
Kind
Text and data
To · EPUB

EPUB

The open e-book standard. Reflowable text that adapts to any screen, read by every reader but Kindle.

Extensions
.epub
MIME type
application/epub+zip
Kind
Ebooks

In your code.The same MD to EPUB conversion through the API, for your app or your agent.

terminal
$ cv convert report.md report.epub
$ cv convert report.md report.epub

Questions.What people ask about MD to EPUB.

01OF 04

Each top-level heading starts a new chapter. The content under it stays in that chapter.

From a YAML block at the top of the file. If there is none, the title is the only top-level heading, or else the file name.

They cannot be fetched. Their descriptions appear in their place.

Yes. Lists, tables, code and footnotes are all kept in the e-book.

More conversions.Other ways in and out of MD and EPUB.