Convert HTML to EPUB
Drop a saved web page or an HTML story and get an EPUB 3 book back, with chapters in the table of contents when the page has them. Free, no sign-up, and your file is not stored.
Drop your HTML file here
.html, .htm or .xhtml · up to 20 MB
What the converter does
- Splits the page into chapters when it repeats one heading level (h1, h2 or h3), and lists each chapter in the table of contents
- Keeps a page without repeated headings whole, as one section
- Takes the title from the page title or its first heading, and the author from the page’s author tag
- Removes scripts, page stylesheets, embedded frames, video, audio and form fields, and keeps the text
- Cleans up the empty paragraph that pasted text often puts after every paragraph, while keeping deliberate gaps
- Keeps PNG, JPEG, GIF and WebP pictures stored inside the file; a picture loaded from another website becomes a link to it
- Reads UTF-8 pages correctly even when the page does not declare its encoding
- A standard EPUB 3 file: the converter’s output passed W3C EPUBCheck on our test books
Three steps
- Save the page as HTML
In your browser, use Save Page As and keep the .html file. An HTML export from a writing app or from pandoc works too.
- Drop the file here
Drag the file onto the box above or press Choose HTML file. No account is needed.
- Read the EPUB
The EPUB downloads on its own. Open it in Apple Books, Kobo or PocketBook, or send it to your Kindle with Send to Kindle.
Good for
- Fanfiction and web serials you saved from a site that only shows them as web pages
- Articles and long reads you want to finish on an e-reader
- Stories exported as HTML from a writing app or converted with pandoc
- AO3 downloads, which get their own handling (see the AO3 converter)
Free, and nothing kept
- No account, no payment. Converting is free and needs no sign-up.
- Nothing kept. The file is converted and sent back to you in the same request. We do not save your HTML or the EPUB.
- No AI. Only the format changes. The converter does not rewrite or translate the text, which stays in its original language.
Read it in another language
We can also translate the whole book into one of 80+ languages and send it back as an EPUB. After converting, press “Translate this work” and the same file goes to the translator. Translation is paid, and you see the price for your file before you pay. A file you send for translation is uploaded and kept like any other translation upload, as our privacy policy describes.
Translate EPUB books →Questions about HTML to EPUB
Which files can I upload, and how big?
HTML files ending in .html, .htm or .xhtml, up to 20 MB each. One file becomes one EPUB.
Does it make a table of contents?
When the page marks its chapters with headings of one level that repeats — several h1, h2 or h3 headings side by side — each heading starts a new chapter and becomes an entry in the table of contents. A page without repeated headings stays whole, as a single section.
What is removed from the page?
Anything that is not reading material or could run inside an e-reader: scripts, page stylesheets, embedded frames, video, audio and form fields and buttons. Text inside a form stays. If the page puts an empty paragraph after almost every paragraph — common in text pasted from Google Docs — those spacers are removed, while a deliberate double gap keeps one blank line.
Where do the title and author come from?
The title comes from the page title (the title tag), or its first h1 heading, or failing both the file name. The author comes from the page’s author meta tag when it has one.
Are pictures kept?
PNG, JPEG, GIF and WebP pictures stored inside the HTML file itself are kept in the EPUB. Other pictures are not: one the page loads from another website becomes a link to the original image, and any other picture becomes its description in brackets. Drawings made with SVG or canvas markup are removed.
Will it work on Kindle, Kobo or Apple Books?
The result is an EPUB 3 file. Apple Books, Kobo and PocketBook open EPUB directly, and Amazon’s Send to Kindle accepts EPUB files and delivers them to your Kindle.
I have a fic downloaded from AO3. Is there anything special?
AO3 downloads are recognised automatically: the preface with tags and summary, every chapter and the end notes each get their own entry in the table of contents. The AO3 converter page explains the details.
Is my file kept?
No. The file is converted and sent back to you in the same request. We do not save your HTML or the EPUB, and there is no account to attach it to. The conversion log records no text and no title. If you then press “Translate this work”, the file is uploaded for translation and kept like any other translation upload, as our privacy policy describes.
Can I translate the book?
Yes, as a separate paid service. After converting, press “Translate this work” and the same file goes to our translator: pick one of 80+ languages, see the exact price for your file before paying, and get the whole work back as a translated EPUB. A file sent for translation is uploaded and kept like any other translation upload, as our privacy policy describes. Converting stays free whether you translate or not.
Have a page you would rather read as a book?
Convert it now. It is free.
Convert my fileDownloaded a fic from AO3? It is recognised here too; the AO3 converter page explains what is kept.