Skip to the converter

MD to EPUB converter, without the upload.

Turn Markdown into an EPUB e-book. It is converted in your browser, so the file never leaves your device.

Drop MD files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert MD to EPUB

  1. Add your MD Markdown files

    Drop MD (Markdown) files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. EPUB is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the EPUB, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The MD to EPUB converter is part of this page and runs inside your browser. Your Markdown files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

MD to EPUB: what to expect

Writers who draft in Markdown can publish the same text as an e-book that opens in Apple Books, Kobo and most e-reader apps. The headings in the Markdown define the chapters. EPUB reflows to the reader's screen and font size, so it needs no page layout.

GitHub-flavoured Markdown is understood: tables, task lists, strikethrough and fenced code blocks. Chapters are cut at the headings and pictures are kept; fonts and page design are not part of the result, so the e-reader chooses how it looks.

MD vs EPUB

MD

Markdown

Markdown is plain text with a few symbols for headings, lists, links and emphasis. It is readable as-is and converts cleanly to HTML, which is why developers and note-takers favour it.

Opens in Any text editor; rendered by GitHub, Obsidian, Notion and many note apps

MD converter
EPUB

EPUB e-book

EPUB is the open standard for e-books. Text reflows to fit the screen and the reader chooses the font and size. Almost every e-reader other than older Kindles opens it directly.

Opens in Apple Books, Kobo, Google Play Books, Calibre and, since 2022, Send to Kindle

EPUB converter
MD compared with EPUB
MDMarkdownEPUBEPUB e-book
Stands forMarkdownElectronic Publication
TypeLightweight markup textReflowable e-book
CompressionNoneZIP container of XHTML
Introduced2004, by John Gruber2007, by the International Digital Publishing Forum (now W3C)
Opens inAny text editor; rendered by GitHub, Obsidian, Notion and many note appsApple Books, Kobo, Google Play Books, Calibre and, since 2022, Send to Kindle
Best forREADMEs, notes and documentationE-books that adapt to any screen size
File extension.md, .markdown.epub

Questions

Are my Markdown files uploaded anywhere?

No. The MD to EPUB conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting MD to EPUB?

Text is kept. Formatting carries over only as far as EPUB supports it.

Can I convert several MD files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert MD to EPUB on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the MD file, press Convert and save the EPUB. There is nothing to install.

Is there a file size limit?

Yes. Files up to 150 MB are accepted; a larger one is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.