EPUB

EPUB ebook files for reader testing

Test EPUB uploads, ebook parsing, chapter navigation, and MIME detection with signature checks and local document workflows.

Verified . The local inspector recognizes the ZIP signature; the mimetype entry and OPF manifest are checked against real EPUB inputs.

Identify EPUB files

Magic signature
50 4B 03 04 (ZIP container)
Registered MIME
application/epub+zip

EPUB is a ZIP package with a mimetype entry, OPF manifest, and XHTML content documents. Readers must follow the spine order and manifest, so a valid ZIP header does not prove the book opens correctly.

Choosing EPUB

EPUB is the open ebook standard, a ZIP package readable by e-readers, phones, and browsers, with fixed-layout and media overlay support varying by reader. The local generator does not produce EPUB files, so validate EPUB uploads with the file inspector and use the PDF workflows for entry-limit patterns.

Confirm the ZIP signature and mimetype entry before treating a file as EPUB.

Test spine order and navigation separately from content rendering.

Enforce entry-count and size limits on the ZIP container.

Common test cases

  • Ebook upload validation
  • Chapter navigation tests
  • MIME and signature checks

Invalid and boundary cases

  • Valid ZIP with broken OPF manifest
  • Spine referencing missing content files
  • DRM-wrapped files that look like EPUB

EPUB fixture matrix

This format is generated locally in the browser and does not receive a permanent SEO URL.

Open the local generator

Continue testing

Related formats

Copied