Skip to the converter

HTML to EPUB converter, without the upload.

Turn HTML web pages into EPUB. It is converted in your browser, so the file never leaves your device.

Drop HTML files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert HTML to EPUB

  1. Add your HTML web pages

    Drop HTML (HTM) files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. EPUB is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the EPUB, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The HTML to EPUB converter is part of this page and runs inside your browser. Your web pages are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

HTML to EPUB: what to expect

An HTML file depends on a browser and often on separate image and style files. EPUB reflows to fit any screen and opens in most e-reader apps. HTML is at home in web pages and emails; EPUB is the usual choice for e-books that adapt to any screen size.

Chapters are cut at the headings and pictures are kept; fonts and page design are not part of the result, so the e-reader chooses how it looks.

HTML vs EPUB

HTML

Web page

HTML is the markup every web page is written in. A saved .html file contains the page's structure and text; its images, styles and scripts usually live in separate files.

Opens in Every web browser

HTML converter
EPUB

EPUB e-book

EPUB is the open standard for e-books. Text reflows to fit the screen and the reader chooses the font and size. Almost every e-reader other than older Kindles opens it directly.

Opens in Apple Books, Kobo, Google Play Books, Calibre and, since 2022, Send to Kindle

EPUB converter
HTML compared with EPUB
HTMLWeb pageEPUBEPUB e-book
Stands forHyperText Markup LanguageElectronic Publication
TypeWeb page markupReflowable e-book
CompressionNoneZIP container of XHTML
Introduced1991, by Tim Berners-Lee (now maintained by WHATWG)2007, by the International Digital Publishing Forum (now W3C)
Opens inEvery web browserApple Books, Kobo, Google Play Books, Calibre and, since 2022, Send to Kindle
Best forWeb pages and emailsE-books that adapt to any screen size
File extension.html, .htm, .xhtml.epub

Questions

Are my web pages uploaded anywhere?

No. The HTML to EPUB conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting HTML to EPUB?

Text is kept. Formatting carries over only as far as EPUB supports it.

Can I convert several HTML files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert HTML to EPUB on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the HTML file, press Convert and save the EPUB. There is nothing to install.

Is there a file size limit?

Yes. Files up to 150 MB are accepted; a larger one is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.