How to convert MD to EPUB
- Add your .MD file - drop it in the box above or click to browse.
- Convert it to .EPUB in a few seconds.
- Download your new .EPUB file.
What to expect
- Markdown has no chapter structure - Pandoc treats each level-1 heading (
#) as a chapter boundary; a file with no#headings becomes a single chapter. - GFM tables require
--from gfmin Pandoc; without it, tables may be silently dropped from the output. - Images must exist at their referenced paths when converting - broken paths produce missing images in the output
EPUB.
Frequently asked questions
Will my Markdown tables appear in the EPUB?
If you use Pandoc, pass
--from gfm to enable GitHub-Flavored Markdown table parsing. The on-page converter handles this automatically.Can I combine several `.md` files into one EPUB?
Yes with Pandoc:
pandoc ch1.md ch2.md ch3.md -o book.epub - files are concatenated in order, with each level-1 heading becoming a chapter break.My images are missing in the EPUB - why?
Pandoc resolves image paths relative to your working directory. Run the command from the same folder as your
.md file, or use absolute paths.Can I add a title and author to the EPUB?
Yes - add a YAML front-matter block (
title:, author: between --- fences) at the top of your Markdown, or pass --metadata flags to Pandoc; both write into the EPUB metadata.