Sample TAR.GZ Files — Download Gzipped Tarball Test Archives

Gzip-compressed tarball (.tar.gz / .tgz) · .tar.gz, .tgz · MIME type application/gzip

3 files745 KB5.6 MBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample TAR.GZ file — the standard Unix distribution format: a tar archive compressed with gzip. Source releases, npm packages, Homebrew bottles and most Linux downloads are .tar.gz or .tgz, so anything that accepts developer uploads will meet it.

Three sizes of real content are provided. An extractor must decompress and untar in one pass and should stream rather than buffer the whole archive — the large file is a reasonable check.

Download sample TAR.GZ files

FileDetailsSizeDownload
sample-archive-small.tar.gz
7 files
7 entries745 KB
745,473 bytes
sample-archive-medium.tar.gz
5 files
5 entries2.9 MB
2,853,634 bytes
sample-archive-large.tar.gz
23 files
23 entries5.6 MB
5,618,644 bytes
3 files · direct links · no sign-up · CORS enabled

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/tar-gz/sample-archive-small.tar.gz

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-archive-small.tar.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=="tar-gz")'

TAR.GZ format at a glance

Full nameGzip-compressed tarball (.tar.gz / .tgz)
Extensions.tar.gz, .tgz
MIME typeapplication/gzip
FormatPOSIX tar inside gzip (DEFLATE)
Extensions.tar.gz and .tgz are identical
Magic bytes1F 8B (gzip)

What people test with sample TAR.GZ files

  • Source and package upload handling
  • Streaming decompress-and-extract
  • CI artifact tooling

Frequently asked questions

How do I extract a .tar.gz on Windows?

Windows 10 (1803+) includes tar: run tar -xzf file.tar.gz in a terminal. 7-Zip also opens it (as two steps or one, depending on version). macOS and Linux: tar -xzf file.tar.gz.

Are these TAR.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 TAR.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
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.