Free · In your browser · EPUB 3
HTML to EPUB Converter
Turn one or more HTML files into a single EPUB 3 ebook. Each file becomes a chapter, with an automatic table of contents. Conversion runs in your browser.
<img> tags still work.
Total input is capped at 50 MB. Large images are resized before packing.
To keep local images, add the image files along with your HTML.
Looking to convert a Word document or a plain text file? Try the Word (DOCX) to EPUB converter or the TXT to EPUB converter.
How to convert HTML to EPUB
-
01
Add your HTML
Upload one or more .html files or paste markup. Each file becomes a chapter.
-
02
Set the book details
Optionally edit the title, author, language, and a cover image. Headings are turned into a table of contents automatically.
-
03
Download the ebook
The EPUB is built in your browser with JSZip and saved as a valid EPUB3 file you can open in most ebook readers.
See a worked example: merge three HTML files into one EPUB, with the source files, the generated ebook, a table of contents screenshot, and EPUBCheck results.
Privacy & limits
- Everything happens in your browser Files you upload and HTML you paste are converted on your device and are never uploaded to a server. Nothing is sent to an external conversion API.
- Visit counts only Page visits are counted with Cloudflare Web Analytics, which sets no cookies. It never sees your files or the HTML you paste.
- 50 MB total input Uploaded HTML and images, or pasted HTML, together cannot exceed 50 MB. You will see a clear error if you go over it.
- Image limits Images are kept when possible, resized to a 1600-pixel longest edge, and recompressed. Tiny images are left alone. Transparent PNGs stay PNG when that still makes sense.
- Free EPUB 3, no account The download is an EPUB 3 ebook. The converter is free to use and does not require an account.
Frequently asked questions
If I upload several HTML files, do I get one ebook or several?
One ebook. Each HTML file becomes a chapter, in the order shown in the file list: files you add together are sorted by name, and you can move a chapter up or down before converting. The table of contents uses each chapter’s own title, from its heading or title tag. You can inspect a three-chapter example — the source files, the generated EPUB, a table of contents screenshot, and the EPUBCheck result for that exact file — on the sample page.
Can I convert a website or URL to EPUB?
This version does not fetch pages from a URL. To convert a web page, save it as HTML in your browser (Ctrl+S or Cmd+S, and choose “Webpage, Complete” if you want images saved alongside the file), then upload the HTML — and the image files if you saved them — using the Upload files tab. You can also paste the page’s HTML.
Will images be kept in the EPUB?
When possible, yes. To keep local images, add the image files along with your HTML. Images embedded as data URLs are packed directly. Images you upload alongside HTML files are matched by filename. Large images are resized to a 1600-pixel longest edge and recompressed before they go into the book. Tiny images are left as they are. PNGs with transparency stay PNG when that still makes sense. WebP is converted to JPEG or PNG, because WebP is not a core EPUB media type.
Does the ebook include a table of contents?
Yes. Headings in the HTML are turned into a table of contents automatically. You can also set the title, author, language, and an optional cover image before you download the book.
Can I read the EPUB on a Kindle?
The download is an EPUB 3 file. Amazon’s Send to Kindle accepts EPUB files, so you can send the downloaded ebook to a Kindle that way. You can also open the file in Apple Books, Google Play Books, Kobo, and other EPUB readers.
Is this HTML to EPUB converter free?
Yes. The converter is free to use and does not require an account.
Is there a file size limit?
Yes. The total input — uploaded HTML and images, or pasted HTML — is capped at 50 MB, and you will see a clear error if you go over it. Before packing, images wider or taller than 1600 pixels are resized, and most photos are re-encoded as JPEG. Conversion shows a progress bar so the page does not look frozen.
Is it safe and private?
Yes. Everything happens in your browser. Files you upload and HTML you paste are never uploaded to a server. Nothing is sent to an external conversion API.
What is the difference between EPUB 2 and EPUB 3?
EPUB 3 is the current W3C ebook standard. It uses HTML5-derived XHTML, a navigation document for the table of contents, and UTF-8 text. This converter writes EPUB 3.0 packages, not EPUB 2. Sample files produced by the tool have been checked with EPUBCheck.