HTML to EPUB
Convert HTML to EPUB for ebooks and offline reading.
This tool requires JavaScript. If you don't see the editor, enable JavaScript and reload.
Or from your terminalAutomate it with the API
npx mdedit-cli convert page.html --to epubSame engine as this page. The command signs you in on first run.
Related conversions
Every other format this HTML source can be converted to.
How to use HTML to EPUB
- 1Upload a .html or .htm file, or paste the source directly into the editor.
- 2Select “Convert” to build the .epub file.
- 3Download the finished .epub file.
Example
Convert HTML to EPUB.
Input (HTML)
<!doctype html> <h1>Project Update</h1> <p>This document was written in Word and converted to HTML.</p> <ul> <li>Timeline</li> <li>Next steps</li> </ul>
Output (.epub)
Example.epub
Download
FAQ
- What carries over from .html to .epub?
- Structure maps across: headings, paragraphs, lists, links, tables, code blocks, and inline emphasis. Anything that depends on the source presentation layer can be simplified or dropped, including page layout, fonts and colors, comments and tracked changes, and deeply nested or merged tables. Review those areas before you publish the result.
- What are the file limits?
- Accepted file types are .html, .htm. Each file must be 10 MB or smaller.
- Is my content private?
- Processed on mdedit.ai servers. Uploaded files are stored in a private S3 bucket (not publicly readable). Uploads use signed URLs, and results are provided via time-limited signed download links. Files are automatically deleted after 30 days.