DualBook 8 languages

HTML → EPUB

Convert HTML to EPUB

Package a web page or a saved article into an ebook, with the navigation and clutter stripped and chapters built from the headings.

Runs in your browser No upload, no account Under a second

Drop your HTML

or click to choose — the only ceiling is your own memory, none on our side

Everything happens on your own machine. The file is never sent anywhere.

Most of an HTML file is not the thing you want to read. A saved article carries a masthead, a navigation bar, a sidebar of related links, a newsletter form, a cookie banner, a footer of legal text and a few scripts. The article itself is often less than a fifth of the file.

So this conversion starts by throwing the website away. Navigation, headers, footers, asides, forms, iframes and scripts are removed; if the page uses a main or article element, that is treated as the content and everything outside it is discarded. What is left is split into chapters on whichever heading level you pick, and packaged as a valid EPUB 3 with a table of contents built from those headings.

It is the right tool for a long piece you want to read away from a screen full of distractions, for documentation you would rather have on an e-reader, or for turning your own site's output into something you can hand to someone. It takes a saved file rather than a URL, because this page has no server to go and fetch one with — which is the same reason nothing you convert here is ever uploaded.

Format by format

HTML and EPUB, side by side

What it does HTML EPUB
Designed for A browser window, with navigation around it A book, read start to finish
Chapters None — headings are just headings Real, with a table of contents
Page furniture Menus, sidebars, forms, banners None, by definition
Offline reading Needs the assets saved alongside Self-contained in one file
On an e-reader Awkward Native
Metadata A title tag, if you are lucky Title, author and language in the OPF

What actually changes

A web page is not a book until someone removes the website

Most of an HTML file is furniture: menus, sidebars, footers, share buttons. This strips those and keeps the article, then splits it into chapters on whichever heading level you choose. It is a judgement call made by code, so check the chapter list before you rely on it.

What survives

  • The article text with its markup intact
  • Headings, lists, quotes and tables
  • Links inside the text
  • The page title as the book title

What does not

  • Navigation, sidebars, footers and forms — removed on purpose
  • Scripts and interactive widgets
  • CSS styling from the original site
  • Images, which stay as links to their original URLs

How it works

Three steps, no waiting room

Drop the .html file in

Save a page from your browser first with Ctrl+S or Cmd+S, then drop the file here.

The furniture is stripped

Nav, header, footer, aside, forms and scripts are removed; the article stays.

Download a valid EPUB 3

Chapters split on the heading level you picked, with a table of contents to match.

FAQ

Questions about HTML & EPUB

Can I paste a URL instead of a file?

Not here — this page has no server, so it cannot fetch a URL on your behalf. That is the same reason nothing you convert is uploaded. Save the page in your browser with Ctrl+S or Cmd+S and drop the file in.

My whole page became one chapter.

Either the page has no headings at the level you chose, or its headings are styled divs rather than real h1 or h2 tags, which is depressingly common on sites built with page builders. Try a different level; if none works, the page has no machine-readable structure to split on.

Do the images come along?

No — image tags still point at the original website, so they need a connection to display and will break if the site moves them. Fully self-contained packaging is on the list.

What about a whole folder of HTML files?

One file at a time for now. For a set of pages, concatenate them into a single HTML file first and split on h1; that also gives you control over the chapter order, which a folder does not.

Does it work on documentation sites?

Often very well, because documentation tends to use real heading elements and a main or article wrapper. Split on h2 for a single long page, or h1 if you concatenated several pages together.

Which heading level should I choose?

Whichever level marks the divisions you want as chapters. h1 for a page where each section is a top-level heading; h2 for a long article with a single h1 title and h2 sections.

Turn that reading list into a bilingual book

DualBook translates the EPUB you just built and returns both languages together.

Translate a book