Sample EPUB file — free download

A valid EPUB ebook with the correct uncompressed mimetype entry first in the archive, plus one with a deliberately broken container.

2 ready-made EPUB test files

FileSizeWhat it catches
broken-container.epub1.5 KBReaders that trust container.xml without checking the target resolves. A correct reader reports a broken book; a fragile one throws an unhandled error deep in parsing.download
valid.epub2.1 KBEreaders and ingestion pipelines. EPUB has the same stored-first mimetype rule as ODF, plus a container.xml indirection to the package document - two things naive ZIP handling gets wrong.download

Every file is generated from source — no third-party copyright — and each has its own page with a published SHA-256 you can verify after download.

Questions

Where can I download a sample EPUB file?

The valid EPUB below opens in Calibre, Apple Books and most e-readers.

Why must the EPUB mimetype entry be first and uncompressed?

The spec requires it so a reader can identify the format by reading the first bytes without unzipping. The broken-container file violates this, which is a common real-world packaging bug.

Other formats

Sample MP3, WAV and MP4 filesSample GeoJSON, GPX and KML filesSample HTML, CSS and JS filesSample EML and MSG email filesLarge test files (1 KB to 250 MB)Sample PSD, DXF, STL and OBJ filesSample 7z, TAR and GZIP filesSample CSV file