ToolsEdit PDFArticlesPricingContact
TryPDFKit
Ebooks tool

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.

  • 3 free uses, 10 with a free account
  • Page stays on your device
  • Chapters from headings
  • No watermark

Drop your file here

or click to browse your device

  • HTML
  • HTM
  • XHTML
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was HTML to EPUB?
Be the first to rate this tool.
1How it works

HTML to EPUB in three steps

  1. 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.

  2. 02

    Set the book details

    Enter a title, author and language, or let the page supply what it can.

  3. 03

    Download your EPUB

    The EPUB opens in any reader, with chapters and a contents list.

2The details

What you get, and what to know

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.
3Use cases

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.

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.

4FAQ

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.

+Keep going

Related tools