DataBrighten

    Sample EPUB book

    1file · 3 KB in all · CC0

    A small EPUB 3 book written by our own code: three XHTML chapters, a navigation document (the table of contents) and a stylesheet, in an archive of 8 entries with the mimetype entry first and uncompressed, as the standard requires. Free, no sign-up. Updated 28 November 2026.

    textnumberdateyes/no
    Files1to download
    Total size3 KBall files
    Format.epubapplication/epub+zip
    LicenceCC0use for anything

    What these files are

    A small EPUB 3 book written by our own code: three XHTML chapters, a navigation document (the table of contents) and a stylesheet, in an archive of 8 entries with the mimetype entry first and uncompressed, as the standard requires.

    Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.

    About the format

    EPUB is the open e-book standard, maintained by the W3C since the IDPF merged into it in 2017. An .epub file is a ZIP archive whose first entry must be an uncompressed file named mimetype containing application/epub+zip, so a program can recognise it from the first bytes. META-INF/container.xml points to the package document (.opf), which lists the metadata, every file (the manifest) and the reading order (the spine). In EPUB 3 the chapters are XHTML and the table of contents is an XHTML nav document.

    These files open in Apple Books, Google Play Books, Kobo, Thorium, Calibre and recent Kindle apps through Send to Kindle. A web server should send them with the header Content-Type: application/epub+zip.

    1 file to download

    FileSizeWhat it is
    sample-book-3-chapters.epub3 KBEPUB 3 book: 3 XHTML chapters, a navigation document and a stylesheet
    epub version: 3.0; chapters: 3; entries: 8; first entry: mimetype; mimetype stored: yes

    MIME type: application/epub+zip. Total 3 KB.

    Good for testing

    • E-reader and reading-app imports
    • EPUB validators (such as EPUBCheck) and converters
    • Upload filters that should not treat a .epub as a plain ZIP

    Check a file

    unzip -l sample-book-3-chapters.epub
    unzip -p sample-book-3-chapters.epub mimetype   # application/epub+zip

    Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):

    FileSHA-256
    sample-book-3-chapters.epub6b426bdc123b03d72fc740cc9c85db80e8b7e3089653ae57b1484f0612beddf1