About mdtoepub.com
A free, privacy-first tool for converting Markdown to EPUB — built by writers, for writers.
Our Mission
We believe that converting Markdown to ebook format should be simple, free, and private. Too many online tools require uploads, accounts, or subscriptions for what should be a straightforward conversion. That's why we built mdtoepub.com — a tool that runs entirely in your browser, keeps your data on your device, and costs nothing to use.
Our goal is to make ebook publishing accessible to everyone. Whether you're an indie author writing your first novel, a student compiling study notes, a developer documenting a project, or a blogger turning posts into ebooks — we want to help you get from Markdown to a polished EPUB in seconds.
How It Started
This project was born out of frustration. As writers and developers who use Markdown daily, we wanted a quick way to convert our notes and drafts into EPUB for comfortable reading on a Kindle. The existing tools were either too complex (requiring command-line setup), too expensive (monthly subscriptions), or too invasive (requiring file uploads to unknown servers).
So we built our own: a single-page app that uses JavaScript, the excellent Marked library for Markdown parsing, and JSZip for EPUB packaging. The result is instantaneous conversion with zero server contact.
Our Values
🔒 Privacy First
Your content never leaves your device. All processing is client-side. We can't see your data even if we wanted to.
🆓 Truly Free
No premium tiers, no file limits, no watermarks. The full tool is 100% free, supported by unobtrusive ads.
⚡ Simple & Fast
Paste, click, download. No signup, no email verification, no learning curve. It just works.
📖 Open Standards
We generate valid EPUB 3 files that work on every major e-reader: Kindle, Kobo, Apple Books, and more.
Technical Details
For the technically curious, here's how the converter works under the hood:
- Markdown Parsing: We use the Marked library (v9.x) with GitHub Flavored Markdown (GFM) enabled to parse your Markdown into semantic HTML.
- EPUB Assembly: The HTML content is wrapped in XHTML, combined with a CSS stylesheet optimized for e-readers, metadata (OPF package file), navigation document (NCX/nav), and packaged into a ZIP container with EPUB-compliant structure using JSZip.
- EPUB 3 Standard: The output conforms to the EPUB 3.0 specification with proper MIME type declarations, a container.xml, content.opf metadata, and nav.xhtml table of contents.
- Client-Side Only: The entire workflow executes in your browser's JavaScript engine. The generated file is created as a Blob and downloaded via a temporary URL — no network requests are made during conversion.
Frequently Asked Questions
Who is behind mdtoepub.com?
The site was created by a small team of developers and writers who are passionate about ebooks and open formats. We're based in Europe and maintain this as an independent project.
How is the site funded?
The site is supported by advertising through Google AdSense. This allows us to keep the tool completely free without compromising on features. We strive to keep ads unobtrusive and clearly labeled.
Can I contribute or report a bug?
Absolutely! We welcome feedback, bug reports, and feature suggestions. Please reach out using the contact information below.
Will you add more features?
We're actively working on improvements including custom CSS themes for EPUB output, multi-file chapter support, cover image generation, and more language options. Stay tuned!
Contact Us
We'd love to hear from you! Reach us through any of these channels:
- General inquiries: contact@mdtoepub.com
- Privacy questions: privacy@mdtoepub.com
- Bug reports & features: feedback@mdtoepub.com
- Legal matters: legal@mdtoepub.com
We typically respond within 48 hours on business days.
Acknowledgments
This project wouldn't be possible without the amazing open-source community. Special thanks to:
- Marked.js — the fast Markdown parser
- JSZip — JavaScript ZIP library
- Google Fonts — beautiful open-source typefaces
- The EPUB 3 specification maintained by the W3C
- John Gruber for creating Markdown