HTML to EPUB Converter

Convert HTML to EPUB in your browser. Drop a file or paste the page, then download an EPUB for Apple Books, Calibre, or Thorium Reader. Nothing is uploaded.

Convert HTML

How to convert HTML to EPUB

  1. Add the HTML Drop one or more files, paste the markup, or use the sample chapter.
  2. Name the book Leave the title empty to use the title already written in the HTML.
  3. Download the EPUB Open the file in Apple Books, Calibre, or Thorium Reader.

What this converter does

The file stays in this tab
The EPUB is built on your device. There is no account, and the HTML is not sent to a server.
Chapters from headings
Two or more h1 headings become separate chapters. Several files become one book, one chapter each.
Embedded images stay
A picture stored inside the HTML is packed into the EPUB. A picture that only points at another file is left out.
Scripts are removed
Script, iframe, and noscript tags are dropped. The text, lists, tables, and links remain.

HTML and EPUB

HTML

HTML is the markup of a web page: headings, paragraphs, lists, tables, links, and images. A saved page often depends on pictures that live in another file.

EPUB

EPUB is a zip of those pages, made for readers. The text reflows. Apple Books, Calibre, and Thorium Reader open it. EPUB 3 is published by the W3C.

What changes

This page reads the HTML and writes an EPUB 3 file. The book title is the title you type, or the title tag in the HTML. A file over 5 million characters is not converted.

Frequently asked questions

How do I convert HTML to EPUB?

Drop an .html, .htm, or .xhtml file on the converter, paste the HTML, or click Try a sample chapter. Add a book title if the page does not have one. Click Convert to EPUB, then download the file.

Is my HTML file uploaded?

No. The EPUB is built in this browser tab. The HTML, the title, the author, and the finished EPUB are not sent to a server.

Can I paste HTML instead of choosing a file?

Yes. Paste the HTML into the box. If a file is also chosen, the file is used and the pasted text is ignored.

How are chapters created?

One file with a single h1 stays one chapter. Two or more h1 headings in the same file become separate chapters. Several files become one book, in the order you chose them, one chapter each.

Are images included in the EPUB?

Images already embedded in the HTML are kept. An image that only points at another file on your computer is left out. An image address the browser cannot read is left out. The result counts those skipped images.

What is removed from the HTML?

Script, iframe, and noscript tags are removed. The text, headings, lists, tables, links, and embedded images are kept.

Where can I open the EPUB?

Open it in Apple Books, Calibre, or Thorium Reader. Other EPUB readers can open the same file.

What is the size limit?

A file over 5 million characters of HTML is not converted. Files within that limit are converted in your browser.

How do I send feedback?

Email haohao-zhang@outlook.com. Your HTML file stays in your browser unless you choose to attach it to the email yourself.

What was checked

On November 19, 2026, Hao ran this converter on a sample HTML file with two h1 headings, one embedded PNG, and one script tag. The EPUB contained two chapters. The PNG was stored in the file. The script was not copied. The mimetype entry was stored first and uncompressed, which EPUB requires.

About this converter

Hao maintains this page. It does one job: convert HTML to EPUB in your browser. There is no account, and your file is not uploaded. Updated .

Contact

Questions or feedback? Email haohao-zhang@outlook.com.

Privacy

Conversion happens on your device. The HTML, the title, the author, and the EPUB are not sent to a server. This page does not run an analytics tag. Closing the tab clears the download. There is no account. Email sent to haohao-zhang@outlook.com is read by the person who runs this page.