Convert Markdown to EPUB
Turn a Markdown file into a finished ebook. Every top-level heading starts a chapter, and a table of contents is built from them. Nothing leaves your device.
- Free, no daily limits
- File stays on your device
- Headings become chapters
- No watermark
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
Markdown to EPUB in three steps
No account, no email, no waiting for an upload.
- STEP 01
Add your Markdown file
Drop a .md, .markdown or .txt file on the page. Add an optional cover picture.
- STEP 02
Set the details
Type the title, author and language, or leave them to be taken from the text.
- STEP 03
Download your EPUB
Each top heading is a chapter, and the contents list matches.
What Markdown to EPUB does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- Writer-friendlyHeadings, emphasis, lists, links, quotes, code and tables in Markdown are all converted.
- Chapters from top headingsUse # for chapter titles. Sub-headings stay inside the chapter.
- Text files welcomePlain .txt files containing Markdown are accepted too.
- Cover and metadataAdd a JPG or PNG cover plus title, author and language.
Good to know
- Pictures need to be embeddedImages given as data in the file are included, and web images remain links. Pictures with local file paths cannot be reached from one file and are dropped.
- One file per bookChapters must be in the same Markdown file. Join separate books afterward with Merge EPUB files.
- Styling is up to the readerThere is no custom CSS. The book uses a simple default look. For a styled Word manuscript, try DOCX to EPUB.
Your books never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use Markdown to EPUB
Publish a book written in plain text
Go from your notes app or editor to an ebook.
Ship documentation as an ebook
Turn a README or handbook into something readable offline.
Make class notes portable
Bundle your Markdown notes into a single book.
Share a newsletter collection
Combine posts into a file readers can download.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
How your Markdown maps to a book
A line starting with # is a top heading, and it begins a new chapter. Lines starting with ## become section headings inside it. The contents list in the EPUB follows these headings.
If your file has only one # heading, the whole text is one chapter, so use ## for sections or add more # headings.
A simple writing checklist
Before converting, check:
- One # per chapter title.
- Blank lines between paragraphs.
- Pictures included as data if you want them inside the book.
- Title and author typed in the settings rather than repeated in the text.
After conversion
Open the EPUB and look at the contents. Validate EPUB checks the structure. If you want a deeper contents list, EPUB table of contents generator can rebuild it from the headings.
Questions, answered
How do I convert Markdown to EPUB?
Add your .md file, enter a title and author, and download. Each top-level heading becomes a chapter.
Does it support tables and code blocks?
Yes. Tables, lists, quotes and code are converted.
Is my file uploaded?
No. The conversion runs in your browser.
Can I add a cover image?
Yes. Add a JPG or PNG in the optional cover slot.
Does it work on a Mac or phone?
Yes, in any modern browser on Windows, Mac, iOS and Android.
What if my images do not show?
Images with local file paths are dropped. Embed them as data in the file, or add the cover with the cover slot.