Sample GZIP files for testing decompression — free, CC0

A gzip file is a single compressed stream rather than an archive. There is no entry list to enumerate and no directory structure inside it, which is the distinction tools most often get wrong when they assume anything compressed can be listed.

gz/lorem-1mb.txt.gz compresses exactly 1,000,000 bytes of Lorem Ipsum, so the ratio you measure is that of ordinary prose. gz/multi-member-3.gz is the more interesting case: three gzip members concatenated into one file. A correct reader decompresses to the end and returns all three; a naive one stops after the first member and silently returns a third of the data, which is a bug that can sit undetected for years.

Use them to test decompression, Content-Encoding handling, streaming readers and log ingestion pipelines. For the same payload in other stream formats see BZIP2, XZ and ZSTD; for the archive that usually wraps them, TAR.

2 files. The same list as JSON: https://loremfile.dev/gz/index.json

GZ files
FileSizePropertiesDescription
lorem-1mb.txt.gz 252.3 KB Exactly 1,000,000 bytes of Lorem Ipsum compressed as a single gzip stream, so the compression ratio is that of ordinary text.
Snippets
curl -O https://loremfile.dev/gz/lorem-1mb.txt.gz
<a href="https://loremfile.dev/gz/lorem-1mb.txt.gz">download</a>
multi-member-3.gz 839 B Three gzip members concatenated into one file, which a reader must decompress to the end to read in full.
Snippets
curl -O https://loremfile.dev/gz/multi-member-3.gz
<a href="https://loremfile.dev/gz/multi-member-3.gz">download</a>

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