HTML
HTML text and markup formatUsed for structured content meant for rendering or data interchange.
- Family
- Documents
- MIME
- text/html
To convert HTML to EPUB, upload the HTML file, start the conversion and download the result. Calibre converts the book's text, chapters and images into EPUB.
Text markup with linked or embedded styling, media, and document structure is interpreted first, then its pages or chapters rebuilt using whatever structures EPUB makes available. Layout and semantics both require mapping - This is not a renamed package. HTML conversion starts by building a browser document tree and applying available CSS and assets; screen layout and print pagination are evaluated separately. EPUB output packages HTML chapters, CSS, navigation, metadata, and reading order for reflow or declared fixed layout instead of preserving source pages by default.
Read as text markup with linked or embedded styling, media, and document structure. Rebuilt as a ZIP-based ebook with HTML chapters, CSS, metadata, and navigation.
Need a different output? See all HTML conversion options, or check which other files convert to EPUB.
Before converting a whole batch, read archival versus delivery formats; it explains which copy to preserve and which to share.
Used for structured content meant for rendering or data interchange.
Designed for reflowable ebooks.
Open the result offline and verify headings, links, tables, images, and character encoding.
Change font size in a real reader and follow every table-of-contents link to its chapter.
A standalone HTML file may depend on external assets, and scripts or print pagination do not translate cleanly to every format.
Reflow can expose poor heading order, forced line breaks, missing fonts, or a broken table of contents.
The writer builds a ZIP-based ebook with HTML chapters, CSS, metadata, and navigation and labels the result as application/epub+zip. The receiving application - Not the extension alone - Is the final compatibility test.
EPUB earns its place when its editing, reflow, or reader support outweighs exact HTML structure - Just test the most complex page or chapter before committing to it.