# Sample GZIP files for testing decompression, free and CC0

2 GZ test files from 839 B to 252.3 KB. Direct URLs, a SHA-256 for each and CC0, so curl and CI can fetch them with no signup and no keys.

The page: <https://loremfile.dev/gz>.

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](https://loremfile.dev/bz2),
[XZ](https://loremfile.dev/xz) and [ZSTD](https://loremfile.dev/zst); for the archive that usually wraps them, [TAR](https://loremfile.dev/tar).

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`gz/lorem-1mb.txt.gz`](https://loremfile.dev/gz/lorem-1mb.txt.gz) | 252.3 KB (252,288 bytes) | `application/gzip` |  |
| [`gz/multi-member-3.gz`](https://loremfile.dev/gz/multi-member-3.gz) | 839 B | `application/gzip` |  |

The same list as JSON: <https://loremfile.dev/gz/index.json>.
