Skip to main content
ChapterBind

HTML to EPUB Converter

Import HTML chapters and local images, edit chapter order, cover, and Table of Contents, preview safely, and export an EPUB 3 ebook directly in your browser.

No sign-up required EPUB 3.0 / 3.3 output
0/30 Chapters0 Matched Images0 B / 50 MB
Drop HTML files, saved webpage folders, and local images here

Combine one or multiple .html / .htm files with relative JPEG / PNG images. Files are parsed, sanitized, and zipped inside your browser with zero account sign-up.

Max 50 files·Max 30 chapters·5 MB per HTML·10 MB / 16 MP per image·50 MB total

How to Convert HTML to EPUB

Follow four steps to turn a single saved article or an entire folder of HTML chapters into a clean ebook.

STEP 1

Add HTML & Images

Click Add HTML & Images or Select Folder to import one or multiple .html / .htm files along with local JPEG/PNG assets, or load the Sample Book to test first.

STEP 2

Arrange Chapters

Drag chapters by the handle or tap the ↑ / ↓ buttons to set reading order, edit chapter titles inline, and delete extra files you do not want in the book.

STEP 3

Preview & Check Warnings

Inspect each chapter inside the isolated Reader Preview, browse the auto-generated Table of Contents, set book title/author/cover, and resolve any missing local images.

STEP 4

Export EPUB 3

Click Convert to EPUB to generate a ZIP-compliant EPUB 3 archive with uncompressed mimetype, package.opf, nav.xhtml, and reflowable XHTML chapters.

Supported HTML Elements, Image Rules & Guardrail Limits

ChapterBind prioritizes safe, readable, reflowable ebooks over pixel-exact webpage replication. External URLs and executable code are never run or fetched.

Category Supported & Preserved Stripped / Handled
Text & Structure Headings (h1–h6), paragraphs, lists, blockquotes, basic tables, emphasis, and pre/code blocks. Hardcoded inline styles, fixed pixel widths, <script>, on* event attributes, forms, and <iframe> tags.
Local Images Relative JPEG and PNG paths matched from imported files/folders; aspect ratio preserved via max-width: 100%. Remote https:// image URLs are blocked; WebP/GIF/BMP convert to PNG in supported browsers; missing paths trigger warnings.
Links & Anchors Same-chapter #anchors and relative links between imported HTML chapters rewrite to internal .xhtml targets; external https:// links kept. javascript: / unsafe URLs and dead local .html links are neutralized to plain text with a diagnostic warning.
Size & Count Limits Up to 50 files, 30 chapters, 5 MB per HTML file, 10 MB / 16 MP per image, 50 MB total project size. Over-limit files trigger explicit pre-export errors so the browser tab remains responsive.

Actual Output Example: EPUB 3 Package Structure

Every exported file follows the EPUB 3 structure: an uncompressed mimetype first ZIP entry, container metadata, OPF spine/manifest, HTML5 navigation document, and clean XHTML5 chapters.

chapterbind-sample-ebook.epub
├── mimetype                      (stored uncompressed first)
├── META-INF/
│   └── container.xml             (points to EPUB/package.opf)
└── EPUB/
    ├── package.opf               (EPUB 3.0 metadata, manifest, spine)
    ├── nav.xhtml                 (auto-generated TOC & landmarks)
    ├── cover.xhtml               (optional cover wrapper page)
    ├── styles/
    │   └── ebook.css             (reflowable reader typography)
    ├── images/
    │   ├── cover.png
    │   ├── img-01-eink-layout.png
    │   └── img-02-type-scale.png
    └── chapters/
        ├── chapter-001.xhtml
        ├── chapter-002.xhtml
        └── chapter-003.xhtml

Designed for Readers, Authors, and Local HTML Archives

Saved Web Articles to E-Reader

Saved a long essay with Save Page As (Complete)? Select the .html file and its companion _files folder to pack the text and diagrams into a distraction-free ebook.

Multi-Chapter Manuscript Merging

Authors exporting HTML drafts from Markdown tools or static site generators can combine separate chapter files, reorder sections, set cover metadata, and build one cohesive EPUB.

Personal Docs & Reference Manuals

Convert locally owned documentation, course handouts, or bilingual notes into portable offline books with working internal cross-links and code blocks.

Frequently Asked Questions

Can I merge multiple HTML files into one EPUB book?

Yes. Select multiple .html or .htm files—or an entire saved folder—and arrange them in the left chapter panel. Each file becomes a separate XHTML chapter in the EPUB 3 spine and Table of Contents.

How do local images inside saved web pages get packaged?

When you select both the HTML file and its companion image folder, ChapterBind matches relative <img src="..."> paths against your imported JPEG and PNG files, bundles them into EPUB/images/, and rewrites links cleanly.

Are my HTML files or images uploaded to a server?

No. HTML parsing, DOM sanitization, image matching, and EPUB ZIP packaging run inside your browser tab. You can confirm zero file uploads in your browser Network inspector during conversion.

Why does the converted EPUB look simpler than the original webpage?

Web pages rely on fixed-pixel sidebars, JavaScript widgets, and external CSS that break on e-ink screens. ChapterBind targets clean, reflowable EPUB 3 typography so text wraps comfortably across font sizes.

What happens if an image is missing or a link points to an unimported page?

Missing local images and unresolved internal HTML links appear as non-blocking warnings. You can attach the missing image inline before export or continue with readable fallback text.

Which image formats and file limits apply in Phase 1?

JPEG and PNG images are packaged directly; WebP, GIF, and BMP images are converted to PNG in supported browsers. Limits are 50 total files, 30 chapters, 5 MB per HTML file, 10 MB / 16 MP per image, and 50 MB total.

Related Guides & Troubleshooting