Sample TAR.GZ Download — Free Gzip Tarball Test Files
Download free gzip sample files in tar.gz format — 100KB to 100MB with exact sizes. Use these tarball test files to verify extraction on Windows, Mac, and Linux, test CI/CD deployment pipelines, and benchmark gzip decompression. TAR.GZ is the default archive format for source code distribution, deployment packages, backups, and Docker layers.
sample-100kb.tar.gz
File details and verification
- Filename
- sample-100kb.tar.gz
- Exact size
- 102,949 bytes
- Displayed size
- 101 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- be0666300e51202a0dcbaa2ac0cfd029e3c8ce02847071c87427c64874bcb87b
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-100kb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-500kb.tar.gz
File details and verification
- Filename
- sample-500kb.tar.gz
- Exact size
- 513,357 bytes
- Displayed size
- 501 KB
- Catalog status
- Valid catalog fixture
- SHA-256
- 83a79650a219071df36f7d1376e7c0b9a169a10d129c8d76164c1c92b5f9ed9c
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-500kb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-1mb.tar.gz
File details and verification
- Filename
- sample-1mb.tar.gz
- Exact size
- 1,050,136 bytes
- Displayed size
- 1.00 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 37b63fcd658b1ccdcb0a579a325c4b1998a9ef9d9aee1c811afb8d93c2b36bdc
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-1mb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-5mb.tar.gz
File details and verification
- Filename
- sample-5mb.tar.gz
- Exact size
- 5,245,688 bytes
- Displayed size
- 5.00 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 7c7cc3fcceaa5e7e6d952508a7a08845cb2cdadef48982ae4aacffb7f404675c
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-5mb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-10mb.tar.gz
File details and verification
- Filename
- sample-10mb.tar.gz
- Exact size
- 10,490,180 bytes
- Displayed size
- 10.00 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- ed7b25e22d3fc56ecaf55b2395c71515bf1c65690524e5137a9e3e0d95167ef1
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-10mb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-50mb.tar.gz
File details and verification
- Filename
- sample-50mb.tar.gz
- Exact size
- 52,446,031 bytes
- Displayed size
- 50.02 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 5d587053115a859a3508eb6687a537f1d56e363138564e6ca964a0e1ad031563
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-50mb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
sample-100mb.tar.gz
File details and verification
- Filename
- sample-100mb.tar.gz
- Exact size
- 104,890,826 bytes
- Displayed size
- 100 MB
- Catalog status
- Valid catalog fixture
- SHA-256
- 01fb86e081b85ce2f88c66e7ed07023543aae404a26afab2c614e59718598cc7
- Header signature
- Matched (gzip)
- Verified on
- 2026-08-10
- MIME type
- application/octet-stream
- License
- CC0 / Public Domain
- Download URL
- https://cdn.truefilesize.com/tar-gz/sample-100mb.tar.gz
See how TrueFileSize generates and measures sample files, or review the editorial policy.
Use cases for sample tar.gz files
- Testing tarball extraction in CI/CD deployment pipelines
- Verifying tar.gz upload handling in web applications
- Testing package managers and artifact registries (npm, PyPI)
- Benchmarking gzip decompression performance
- Testing backup/restore workflows on Linux servers
- Validating Docker build context handling
TAR.GZ vs ZIP — When to use which
| Feature | TAR.GZ | ZIP |
|---|---|---|
| Compression ratio | Better (solid archive) | Good (per-file) |
| Preserves Unix permissions | Yes (chmod, owner) | No |
| Symlinks | Yes | No |
| Random file access | No (must decompress all) | Yes (central directory) |
| Windows support | Needs 7-Zip or WSL | Built-in |
| Best for | Linux/macOS, source code, deploys | Cross-platform, Windows users |
How to create and extract tar.gz
# Create a tar.gz archive
tar -czf archive.tar.gz folder/
# Extract a tar.gz archive
tar -xzf archive.tar.gz
# List contents without extracting
tar -tzf archive.tar.gz
# Extract to a specific directory
tar -xzf archive.tar.gz -C /target/dir/
# Node.js (using tar package)
const tar = require('tar');
await tar.x({ file: 'archive.tar.gz', cwd: '/target' });Technical specifications
| Format | TAR (tape archive) + gzip compression |
| Extensions | .tar.gz, .tgz |
| Compression | DEFLATE (gzip, zlib) |
| Preserves | Unix permissions, ownership, symlinks |
| Streaming | Yes (can pipe stdin/stdout) |
| Standard | POSIX.1 (IEEE Std 1003.1) |
Frequently Asked Questions
tar.gz vs ZIP — Which should I use?
How to extract tar.gz on Windows, Mac, and Linux?
What is the difference between tar.gz and tar.bz2?
What is the difference between .tar.gz and .tgz?
Can I extract a single file from a tar.gz?
Other archive formats
Related reading
How to Fix ZIP Extraction Errors: 7 Common Causes
Diagnose ZIP extraction errors caused by corruption, wrong file types, passwords, compression methods, filenames, disk limits, or unsafe paths.
Fix Unsupported File Type Errors — MIME Type & Extension Validation
Fix 'Unsupported file type' and 'Invalid file format' errors. Learn MIME type detection, magic bytes validation, extension whitelisting, and how to handle MIME type spoofing.
Preventing Zip Bomb Attacks — Detection and Safe Extraction
What is a zip bomb, how it works (42.zip, nested recursion, quine), detection techniques, safe extraction with size limits, and testing with sample ZIPs.