Skip to content

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.

Reset

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.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.