# Markdown to EPUB

Turn Markdown into an EPUB 3 e-book you can open on e-readers and in book apps. Each level 1 heading, or each level 1 and 2 heading, starts a new chapter, and the book gets a table of contents, a title, an author and a language.

## Frequently asked questions

### How are chapters created?

With the default setting, every level 1 heading starts a new chapter named after the heading. You can also split at level 1 and level 2 headings, or put the whole text in one chapter. Text before the first heading becomes its own chapter named after the book.

### What is in the EPUB file?

An EPUB 3 package with the mimetype file stored first, the container file, the package document with title, language, author, identifier and modification date, a navigation document, an NCX table of contents for older readers, one XHTML file per chapter and a small stylesheet.

### Which Markdown is supported?

CommonMark with headings, emphasis, lists, block quotes, code blocks, links and tables. Raw HTML in the Markdown is removed, and only links to web and mail addresses are kept as links.

### Are images included?

No. An image is replaced by its alternative text, because the tool does not fetch or embed image files.

### Where does the title come from?

From the title field when you fill it in, otherwise from the first level 1 heading, otherwise the book is called Untitled.

### Which language code should I use?

A BCP 47 language tag such as en, en-US, de or pt-BR. Reading apps use it to choose hyphenation and text to speech voices.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
