Sample GZ File — Download a Gzip-Compressed Single-File Test Archive
Gzip single-file compression · .gz · MIME type application/gzip
Download a sample GZ file — a single CSV compressed with gzip, not a tarball. This is the form of most log rotations (access.log.1.gz), database dumps and HTTP responses, and it trips up tools that assume every .gz is a .tar.gz.
Decompressing it should produce exactly the original CSV whose size is listed; that lets you verify both the decompression step and the integrity of the result.
Download sample GZ files
| File | Details | Size | Download |
|---|---|---|---|
sample-data-10000-rows.csv.gz | — | 110 KB |
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/gz/sample-data-10000-rows.csv.gz # Verify it (SHA-256 is listed for every file above) shasum -a 256 sample-data-10000-rows.csv.gz # 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=="gz")'
GZ format at a glance
| Full name | Gzip single-file compression |
|---|---|
| Extensions | .gz |
| MIME type | application/gzip |
| Format | gzip (RFC 1952), DEFLATE level 6 |
| Contains | One CSV file (not an archive) |
| Magic bytes | 1F 8B |
What people test with sample GZ files
- Rotated-log ingestion
- Single-file gzip decompression (no tar step)
- Content-Encoding: gzip handling
Frequently asked questions
Why can't my archiver 'extract' this file?
Because there is nothing to extract — gzip compresses a single stream, not a directory. Decompress it (gunzip file.gz) and you get the CSV back. Only .tar.gz files contain multiple files.
Are these GZ 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 GZ 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