The terms below decide how a page becomes a book here: what gets read, where chapters come from and what the archive contains. They are the words that change an input or an output.
HTML source
The text of a web page as saved by the browser, including tags, attributes, scripts and styles. This tool reads that text, parses it with the browser’s HTML parser and takes the body; the .html extension alone does not guarantee clean markup.
Sanitizing
The step that removes tags and attributes a book cannot safely carry, using DOMPurify with an allowlist. Scripts, styles, frames, form controls, media elements and event handlers go; paragraphs, lists, tables, links and data: images generally stay. The output is what the preview shows.
Heading split
The rule that turns headings into chapter boundaries. One level is chosen for the whole page: <h1> if any exists, otherwise <h2>, otherwise no split. The chosen heading tags are removed from the body and rewritten as the chapter’s <h1> title.
Untitled chapter
A chapter created from text before the first heading. It has no title, so it appears as Untitled chapter in the list and Chapter in the export unless you rename it. Site navigation or a byline often lands here, which is why the first row is worth checking.
EPUB 3
The current EPUB container standard: a ZIP with a mimetype entry, a container file, an OPF package, XHTML documents and a navigation document. This writer follows that shape but does not run EPUBCheck, so the presence of the files is not a conformance certificate.
OPF
The package document, content.opf, that lists metadata, manifest items and the spine reading order. Here it declares version 3.0, the title, language, optional creator, a generated UUID and a modification time, plus one manifest item per chapter and contents file.
Nav and NCX
Two tables of contents. nav.xhtml is the EPUB 3 navigation document; toc.ncx is the older NCX file kept for reading systems that still look for it. Both are generated from the included chapter titles, in the same order as the spine.
Data URI
An image written directly into the HTML as data:image/…;base64,…. It survives sanitizing and travels inside the chapter XHTML, so it works offline, but it inflates the chapter size. A normal https image is only a reference and is never added to the EPUB manifest.
HTML, MHTML and complete-page saves
An HTML-only save supplies one document; a complete-page save usually adds a sibling asset folder. MHTML bundles resources differently. This tool reads the HTML you provide and does not import every kind of saved webpage container.