Input format · HTML

Convert HTML to EPUB

A HTML file already carries its text, so upub never sends it through OCR. The work is structural: turning headings into real headings and building a table of contents your e-reader can navigate.

Measured, not claimed

This exact sample, end to end.

We ran a 28,234-word HTML of Alice's Adventures in Wonderland (Project Gutenberg (Millennium Fulcrum Edition 3.0)) through upub and measured what came out.

Source
28,234 words
EPUB out
146 KB
Wall time
0.1s
EPUBCheck
valid

Source text: Project Gutenberg (public domain). www.gutenberg.org/files/11/11-h/11-h.htm

Inside the file you download

Not a text dump. A book your reader knows what to do with.

  • 17 navigable entries in the table of contents

    The file carries both an EPUB 3 nav.xhtml and a legacy toc.ncx, so the chapter menu works on new and old readers alike — not one long scroll of text.

  • 18 headings kept as headings

    Chapter and section titles come out as real h1–h6 elements, not as bold paragraphs. That is what lets a reader jump between sections and what screen readers announce.

  • 1 tables kept as real tables

    Tables come out as XHTML table markup, so cells stay aligned when the font size changes — not as a preformatted block that overflows the screen.

  • Passes EPUBCheck with zero errors

    Validated with the W3C reference validator. It is the same check Kobo, Apple Books and Google Play Books run when they ingest a file — a file that fails it can be rejected or render unpredictably.

CONTENTS

17 navigable entries in the table of contents

Straight from the file's nav.xhtml — this is the menu your e-reader shows.

  1. 01Alice’s Adventures in Wonderland
  2. 02by Lewis Carroll
  3. 03THE MILLENNIUM FULCRUM EDITION 3.0
  4. 04Contents
  5. 05CHAPTER I. Down the Rabbit-Hole
  6. 06CHAPTER II. The Pool of Tears
  7. 07CHAPTER III. A Caucus-Race and a Long Tale
  8. 08CHAPTER IV. The Rabbit Sends in a Little Bill
  9. 09CHAPTER V. Advice from a Caterpillar
  10. 10CHAPTER VI. Pig and Pepper
  11. 11CHAPTER VII. A Mad Tea-Party
  12. 12CHAPTER VIII. The Queen’s Croquet-Ground
  13. 13CHAPTER IX. The Mock Turtle’s Story
  14. 14CHAPTER X. The Lobster Quadrille
  15. 15CHAPTER XI. Who Stole the Tarts?
  16. 16CHAPTER XII. Alice’s Evidence
  17. 17THE END

Then size it for the screen you read on

The same file, packaged for your device: margins, image ceiling and delivery format across 22 profiles.

About HTML conversion

Does the table of contents survive?
Yes. Headings in the source become real EPUB 3 headings, and upub builds both a nav.xhtml and a legacy toc.ncx from them — the sample on this page came out with 17 navigable entries.
Is this faster than converting a scan?
Much faster. A scanned page has to be read by an AI model; a HTML file does not. The conversion measured on this page finished in 0.1 seconds.
Will the file work on my e-reader?
The output is EPUB 3 validated with EPUBCheck, the same validator Kobo, Apple Books and Google Play Books run. For Kindle and Kobo specifics, pick your device from the profile list below.