Markdown to EPUB Converter

Markdown to EPUB converter: preview chapters and keep headings, lists, code and tables. Create ebooks free in your browser. No file uploads or signup required.

Private Markdown converter

Markdown to EPUB workspace

Browser-local conversion

Paste Markdown or choose a file

UTF-8 .md or .markdown, up to 4 MB. Edit before export.

Pasted text stays in this tab0 characters

Text, file names, book details, and the generated EPUB stay in this browser tab. This tool does not upload them.

EPUB book details

Choose chapter boundaries and check the contents before creating your EPUB 3.

Headings, emphasis, lists, quotes, code, and GFM tables. Images become alt text; raw HTML is shown as text. No media is fetched.

Chapter preview · 0

Add Markdown to see your chapter plan.

From notes to a navigable ebook

Turn Markdown into an EPUB with a chapter plan you can inspect

Move a manuscript, study notes, or a long tutorial from Markdown into a reflowable EPUB 3. Paste the source or select a UTF-8 .md or .markdown file, choose the heading level that starts chapters, and review the resulting contents before downloading. The converter keeps supported document structure rather than preserving Markdown punctuation as plain text. It is designed for a single document with an intentional reading order, not for automatically assembling an entire notes vault.

01

Choose meaningful chapter boundaries

Split at level-one headings, at both level-one and level-two headings, or keep one chapter. The preview lists the actual chapter titles in order. Headings inside fenced code, lists, or quotations do not create unexpected chapters.

02

Keep useful reading structure

Headings, emphasis, lists, quotations, code blocks, and basic GFM tables become XHTML elements. A clickable EPUB contents document links to the chapters. Images become alt text, with an explicit warning before export.

03

Continue with the generated book

Download a new EPUB, then use the viewer button to pass that same result into the existing browser workspace. Inspect the reading order before continuing to the cover or metadata editor; there is no second upload step.

Core features

Markdown to EPUB Converter features and output

Use Markdown to EPUB Converter for the practical conversion task, with privacy and compatibility boundaries stated before download.

A predictable Markdown to EPUB chapter rule

Only headings at the document's outermost level can start chapters. In the default mode, each level-one heading starts a chapter; level-two through level-six headings stay inside it. The second mode splits at both levels one and two, which suits a document with one book heading followed by section headings. A book-title-only chapter can therefore appear: remove that heading if the title belongs only in metadata. Any material before the first matching heading becomes a separate chapter named after the book. Heading-only sections are retained. The EPUB contents lists chapters, while smaller section headings remain in the body. Duplicate headings receive distinct internal anchor identifiers, and supported fragment links are rewritten to the appropriate output chapter.

Readable formatting without a desktop publishing layout

The converter handles CommonMark-style headings, paragraphs, strong and italic emphasis, ordered and unordered lists, blockquotes, links, inline code, and fenced or indented code blocks. Supported GFM additions include tables, strikethrough, automatic web links, and task lists shown as static check marks. Tables have header cells; code stays selectable text without downloaded syntax highlighting. These are semantic structures, not screenshots of your editor. A reader can change font size and line wrapping, and a wide table or long code line may still need editing for a small screen. Footnote references expand into inline text notes rather than generating a separate notes section and backlink system.

Visible handling of media, HTML, and links

A single Markdown file does not include the files behind its image paths. This version neither fetches remote images nor imports local attachments: image references become their alt text, or a visible omission label when alt text is empty. The workspace reports how many images are affected. Raw HTML is escaped and printed literally rather than executed. HTTP, HTTPS, and email links remain clickable; local paths, unsafe protocols, and missing heading fragments keep their labels without a destination. Export does not contact those links. Wiki links, embedded notes, plugins, custom CSS, and mathematical typesetting are outside this version's supported syntax.

Workflow

How to use Markdown to EPUB Converter in three steps

The file is processed by Markdown to EPUB Converter within the current browser tab.

1

Prepare one Markdown document

Paste your source or choose a UTF-8 .md or .markdown file up to 4 MB. Remove drafting instructions and any YAML metadata block you do not want printed: front matter is not imported as book metadata. Use actual Markdown headings for sections, and give important images descriptive alt text.

2

Review chapters and enter book details

Choose the splitting mode and inspect every title in the scrollable chapter preview. For a quick check, try a document with ‘# Opening’, a paragraph, and ‘# Next steps’: default mode should show two chapters. Fill in the book title, optional author, and language tag, such as en or zh-CN. Read any image, HTML, footnote, or link notices before converting.

3

Download and inspect the EPUB

Create the EPUB, then open the result directly in the browser viewer. Check the beginning and end of each chapter, table headings, code indentation, special characters, and internal links. For distribution, also test your intended reading app and run a dedicated EPUB validator. Conversion does not establish retailer acceptance or official EPUBCheck validation.

Support boundary

Markdown to EPUB Converter compatibility and limits

Understand what Markdown to EPUB Converter preserves, changes, and does not support before processing.

Input

UTF-8 Markdown or pasted source · up to 4 MB

The same UTF-8 byte limit applies to pasted content and files. Invalid UTF-8 files are rejected rather than silently decoded with replacement characters.

Chapter planning

Level 1 · levels 1 and 2 · one chapter

At most 200 chapters can be exported. Selecting fewer split levels reduces the count; ordinary paragraphs and code never split chapters.

Metadata and output

Title, optional author, language · EPUB 3

The package includes navigation, XHTML chapters, a stylesheet, and a generated identifier. No cover, ISBN, publisher, rights statement, or accessibility certification is invented.

Local processing

In-memory browser session and Web Worker

Parsing and packaging run in a local worker. Source, file names, book details, and output are not sent to conversion or analytics services. Refreshing or closing the tab clears the working document; downloaded files remain on your device.

FAQ

Markdown to EPUB Converter questions and answers

Direct answers about Markdown to EPUB Converter privacy, compatibility, and output.

Can I convert an Obsidian note to EPUB?

Yes, when the note uses supported standard Markdown. Before converting, replace wiki links and embedded-note syntax with ordinary text or supported links. This tool does not resolve a vault, follow note dependencies, or collect attachment folders.

Why did a manual line break disappear?

An ordinary newline inside a Markdown paragraph is a soft break and reflows as whitespace. Use two trailing spaces or a backslash before the newline for an explicit line break. Blank lines separate paragraphs. This differs from the site's plain-text converter, which retains single newlines.

Will the ebook look exactly like my Markdown editor?

No. Editor themes, plugin output, fonts, and page dimensions are not transferred. The output uses simple reading styles, and EPUB apps can override them. Check long tables and code on the smallest screen you intend to support.

Does conversion rewrite or fact-check AI-generated text?

No. It changes supported formatting into an ebook package. Review factual claims, citations, confidential information, and permission to distribute the content yourself, just as you would for a manually written manuscript.

Can I recover the original Markdown from the EPUB?

Keep your source file for further editing. EPUB stores rendered XHTML, so converting it back to Markdown cannot guarantee the same whitespace, delimiters, reference definitions, or original syntax choices.

Does local processing mean the website works fully offline?

No. The page and its conversion worker must load successfully first. The site does not promise an installed offline application or persistent manuscript storage. Save the original Markdown and download each result you want to keep.