Sample 7z archives for testing extractors, free and CC0

7z is the archive format people reach for when they want smaller files than zip produces, and it is the one extractors are least likely to handle without a dedicated library. That makes it worth testing explicitly rather than assuming your zip path covers it.

7z/3-text-files.7z holds three small Lorem Ipsum text files compressed with LZMA2, the default the format is known for. It is deliberately small: the point is the container and its compression method, not the payload. Entry timestamps are set to the project epoch, so the archive is byte for byte the same on every build and its checksum is stable enough to use as a fixture in your own tests.

Use it to check that an upload form accepts the type, that a virus scanner or extraction service recognises it, and that your error handling is sane when a library is missing. For the formats most tools do handle natively, see ZIP and TAR.

1 file. The same list as JSON: https://loremfile.dev/7z/index.json

7z files
FileSizePropertiesDescription
3-text-files.7z 1.4 KB (1,356 bytes) Three small Lorem Ipsum text files in a 7z archive with LZMA2 compression.
Snippets
<a href="https://loremfile.dev/7z/3-text-files.7z">download</a>
curl -O https://loremfile.dev/7z/3-text-files.7z

Every 7z file in one command, each checked against its hash: npx loremfile get --format 7z, or loremfile get --format 7z after pip install loremfile.

File names follow the naming grammar. Verify a download against sha256sums.txt.