Convert HTML to EPUB
Save a web page or an HTML file as an ebook you can read offline. Headings start new chapters, and a contents list is built for you.
- Free, no daily limits
- Page stays on your device
- Chapters from headings
- No watermark
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
HTML to EPUB in three steps
No account, no email, no waiting for an upload.
- STEP 01
Add your HTML file
Drop an HTML, HTM or XHTML file on the page. An optional cover picture can go in the second slot.
- STEP 02
Set the book details
Enter a title, author and language, or let the page supply what it can.
- STEP 03
Download your EPUB
The EPUB opens in any reader, with chapters and a contents list.
What HTML to EPUB does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- Chapters at headingsThe page is split where its headings are, so a long article becomes a book you can navigate.
- Clean outputScripts, styles and page furniture are stripped, and the content is kept as simple, readable HTML.
- Inline pictures stayPictures embedded in the page as data are put inside the book.
- Cover and detailsAdd a JPG or PNG cover, plus a title, author and language.
Good to know
- Web pictures stay linksImages that point to a web address are not downloaded into the book. They show only when you are online. Relative image paths cannot be reached from a single file and are dropped.
- Single files onlyThe tool converts the one HTML file you add. It does not crawl a website.
- Complex layouts get simplifiedMenus, columns and scripts do not carry over. For a Word file use DOCX to EPUB.
Your books never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use HTML to EPUB
Read an article offline
Save a long page as a book on your e-reader.
Publish writing from a blog export
Turn an exported HTML page into a book.
Make a course reader
Collect documentation pages into a readable file.
Create an ebook from generated HTML
Take output from a tool and make it an ebook.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
What converts well
Pages built from simple headings, paragraphs, lists, tables and links turn into tidy ebooks. An article saved from a news site or a blog usually works well, as long as you save it with the pictures inline or accept that web images remain online links.
Pages that rely on scripts to show their text may arrive empty, because scripts are not run.
Improve the result
Give your page a clear structure with one h1 and several h2 headings, and the chapters will be neat. Add a title in the settings if the page has none.
To check the structure of the finished file, use Validate EPUB. If you start with Word, DOCX to EPUB gives a similar result, and Markdown to EPUB suits writers.
Going the other way
You can turn an EPUB back into a single web page with EPUB to HTML, pictures included.
Questions, answered
How do I convert an HTML page to EPUB?
Add the HTML file, fill in the title and author, and download. Headings become chapters.
Will the images be included?
Images embedded in the page are included. Images linked from a web address stay as links.
Is my file uploaded?
No. The conversion runs in your browser.
Can I convert a whole website?
No. Only the single file you add is converted.
Does it work on a Mac or phone?
Yes, in any modern browser on Windows, Mac, iOS and Android.
Will scripts or menus survive?
No. Content is kept, but scripts, menus and page styling are removed.