LZ4 — Single File
A text file compressed with the LZ4 frame format (.lz4) — the container-free codec on its own — for testing LZ4 decompression and codec detection.
lz4
Single-file lz4 stream
- Contains
- sample.txt
- Codec
- lz4
- Uncompressed
- 960 B
- Compressed
- 246 B
A container-free lz4 stream — decompress it to recover sample.txt. The bytes are the compressed data, so there is no inline content preview.
Specifications
- Format
- LZ4 frame (single file)
- Codec
- lz4
- Original Name
- sample.txt
- Original Bytes
- 960
- Level
- 9
What is a .lz4 file?
LZ4 (.lz4) is an extremely fast lossless compressor optimized for speed over ratio, common in databases, filesystems, and real-time pipelines where decompression throughput matters most.
How to use this file
Use an example .lz4 file to test LZ4 decompressors, frame-format parsing, and speed-versus-ratio comparisons.
How to use this file for testing
“LZ4 — Single File” is a deterministic Novus Examples fixture for Compression testing, Conversion testing. The same source saved at quality 10/50/90 for comparing compression artefacts and quality settings.
Documented properties for this file: LZ4 frame (single file). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Archive fixtures are documented down to their member list (shown on this page) and are deliberately safe — no zip bombs, executables, or hidden payloads. Test extractors against nested, unicode, empty, and encrypted variants.
Related files
- zstZST — Zstandard Single FileA text file compressed with Zstandard (.zst) — the container-free codec on its own — for testing zstd decompression and codec detection.

- zipConvert v2 Archive-Media ZIP ControlExisting-format ZIP/TXT media control combining a plain README and a WebVTT sidecar for nested media extraction checks Stable P8 artifact p8-convert-legacy-archive-media-control.

- cabConvert v2 CAB Stored ControlValid single-file Microsoft Cabinet using uncompressed CFDATA for bounded legacy extraction tests Stable P8 artifact p8-convert-legacy-cab.

- tar.bz2Convert v2 Canonical TAR.BZ2Canonical compound-suffix source for the same deterministic bzip2-compressed TAR member set Stable P8 artifact p8-convert-tar-bz2.

- tar.xzConvert v2 Canonical TAR.XZCanonical compound-suffix source for the same deterministic XZ-compressed TAR member set Stable P8 artifact p8-convert-tar-xz.

- rarConvert v2 RAR4 Stored ControlValid RAR4 archive with two stored members and fixed metadata for legacy extraction tests Stable P8 artifact p8-convert-legacy-rar.

Generated by generation/q8_extras.py. Free for any use, no attribution required — license.