HTML to EPUB Converter for Offline Reading
Convert web articles and HTML content to EPUB e-books instantly. Perfect for offline reading, archiving blog posts. Browser-based, no uploads required.
Offline Reading Ready: First conversion initializes Pandoc WebAssembly (~55MB download). Subsequent conversions are instant and work offline. Generated EPUB files work on Apple Books, Google Play Books, Kobo, Kindle, and all e-readers.
Drop HTML file here or click to browse
Or paste HTML content below
Enter HTML with headings to see chapter structure
HTML to EPUB Conversion Guide
HTML Structure
| HTML Element | EPUB Output |
|---|---|
<h1> | Top-level chapter |
<h2> | Section in TOC |
<h3> | Sub-section |
<p> | Paragraph text |
<img> | Embedded image |
Text Formatting
| HTML Element | E-book Display |
|---|---|
<strong>, <b> | Bold text |
<em>, <i> | Italic text |
<blockquote> | Indented quote |
<code>, <pre> | Monospace code |
<ul>, <ol> | Bullet/numbered lists |
Tips for Converting Web Articles
- Extract Main Content: Use browser DevTools to copy just article HTML, excluding navigation, ads, and sidebars
- Clean HTML: Remove
<script>,<style>, and unnecessary<div>wrappers for cleaner output - Headings Matter: Ensure articles use proper heading hierarchy (h1 for title, h2 for sections) for working TOC
- Image URLs: Use absolute URLs (https://...) not relative paths for images to embed properly
- Multiple Articles: Combine several blog posts into one EPUB by concatenating HTML with h1 titles
- E-reader Transfer: Email to Kindle, open on iOS, or copy via USB depending on your device
EPUB file downloaded
Security: Only process files from sources you trust. All processing happens locally in your browser.