Skip to content

Markdown → EPUB · Converter

Turn Markdown into a polished EPUB.

Headings become chapters. Code blocks, lists, links and images preserved. Add metadata and cover, then export — all in your browser.

  • H1 headings become EPUB chapters automatically
  • Code blocks, tables and lists preserved
  • YAML frontmatter sets title, author and language
  • Local processing — nothing uploaded

How it works

01

Drop Markdown files

A single .md file, multiple files, or a .zip archive. Stays in your browser.

02

Review structure

Chapters detected from H1 headings. Edit metadata, reorder, add a cover.

03

Download EPUB

Export a polished EPUB with TOC, metadata and cover in seconds.

What you get

Built for writers and developers.

Headings → Chapters

Every H1 heading splits a new chapter. Subheadings stay inside.

Code & Tables

Fenced code blocks, tables, blockquotes and lists preserved exactly.

Multi-file Books

Upload a .zip of Markdown files. Natural sort order builds the chapter list.

Private & Secure

All processing runs in your browser. No uploads, no accounts.

How it works

How chapters are detected.

Single file

Every # H1 heading splits a new chapter. The heading text becomes the chapter title in the table of contents. Subheadings (## and below) remain inside the chapter as section markers.

Multiple files / ZIP

Each .md file becomes one chapter. Files are sorted by natural order — 01-intro.md before 02-setup.md before 10-end.md — so double-digit numbers sort correctly after single-digit ones.

Metadata

Metadata from YAML frontmatter.

FieldDescription
titleBook title — overrides H1 if present
authorAuthor name or names
languageBCP 47 tag — en, fr, de, etc.
publisherPublisher name
datePublication date — ISO 8601 (2024-06-01)
descriptionBook description for e-reader stores

Already have an EPUB?

Open it in the EPUB Editor — edit chapters, metadata and cover.

Open EPUB Editor

Markdown & EPUB guide

Learn about Markdown to EPUB