Sample 7Z Files — Download 7-Zip Test Archives
7-Zip archive (LZMA2) · .7z · MIME type application/x-7z-compressed
Download a sample 7Z file — the open, high-compression archive format from 7-Zip, compressed with LZMA2. It typically produces the smallest archives of any mainstream format and is the common alternative to RAR, which cannot be created with open tools.
7Z is less universally supported than ZIP: browsers and many server libraries cannot open it without libarchive or py7zr. If your product accepts archives, this file tells you whether 7Z is in or out.
Download sample 7Z files
| File | Details | Size | Download |
|---|---|---|---|
sample-archive-small.7z | 7 entries | 741 KB | |
sample-archive-medium.7z | 5 entries | 2.4 MB |
Use these files from the command line or CI
Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.
# Download one file curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/archives/7z/sample-archive-small.7z # Verify it (SHA-256 is listed for every file above) shasum -a 256 sample-archive-small.7z # Machine-readable index of every sample file curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="7z")'
7Z format at a glance
| Full name | 7-Zip archive (LZMA2) |
|---|---|
| Extensions | .7z |
| MIME type | application/x-7z-compressed |
| Format | 7z container, LZMA2 compression |
| Created with | py7zr (open source) |
| Magic bytes | 37 7A BC AF 27 1C |
What people test with sample 7Z files
- Archive-format coverage in extractors
- Download-size comparisons against ZIP
- Windows-user uploads (7-Zip is ubiquitous there)
Frequently asked questions
How do I open a 7z file on a Mac?
The built-in Archive Utility cannot. Use Keka, The Unarchiver, or 7zz from Homebrew (brew install sevenzip). On Windows, 7-Zip; on Linux, p7zip or libarchive-based tools.
Are these 7Z files safe to download?
Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.
Can I use the sample 7Z files commercially?
Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.
Can I hotlink these files or use them in CI?
Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).
Related sample files
Testing a file pipeline? We build them.
Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.
See how we can help