# Sample EPUB files for testing, free, CC0 and hotlinkable

1 EPUB test file of 4.9 KB. A direct URL, the file's SHA-256 and CC0, so curl and CI can fetch it with no signup and no keys.

The page: <https://loremfile.dev/epub>.

EPUB is the open e-book format: a ZIP container holding XHTML content, a package document
that lists it, and a navigation document for the table of contents. Many files that call
themselves EPUB are renamed ZIP archives that some readers tolerate and validators reject.

`epub/epub3-3chapters.epub` is a real EPUB 3.0 book: three XHTML chapters of Lorem Ipsum, a
navigation document with a table of contents, and a stylesheet. The `mimetype` entry comes
first and is stored uncompressed, as the container specification requires, so tools that
sniff the first bytes recognise the file. The identifier and modification date are fixed, so
the bytes do not move between builds.

Use it to test e-reader apps, format sniffers, EPUB validators, converters to PDF or HTML,
and upload forms that accept books. Related formats: [PDF](https://loremfile.dev/pdf), [DOCX](https://loremfile.dev/docx) and
[text files](https://loremfile.dev/txt).

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`epub/epub3-3chapters.epub`](https://loremfile.dev/epub/epub3-3chapters.epub) | 4.9 KB (4,871 bytes) | `application/epub+zip` |  |

The same list as JSON: <https://loremfile.dev/epub/index.json>.
