Skip to content
Novus Examples
xz380 B

XZ - XZ Single File

A single text file compressed with xz/LZMA — the container-free codec on its own, for testing decompression and codec detection.

xz

Single-file xz/LZMA stream

380 B
Contains
sample.txt
Codec
xz/LZMA
Uncompressed
472 B
Compressed
380 B
Compressed to 80.5% of original19.5% saved

A container-free xz/LZMA stream — decompress it to recover sample.txt. The bytes are the compressed data, so there is no inline content preview.

Specifications

Format
xz/LZMA (single file)
Codec
xz/LZMA
Original Name
sample.txt
Original Bytes
472

What is a .xz file?

XZ is a file compressed with the LZMA2 algorithm in the XZ container, offering very high compression ratios with integrity checking. It compresses a single stream and is often used to compress tar archives. It is common for software distribution and Linux packages.

How to use this file

Use an example XZ to test LZMA2 decompression, integrity-check handling, and archive pipelines that support the xz codec alongside gzip and bzip2.

How to use this file for testing

“XZ - XZ Single File” is a deterministic Novus Examples fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: xz/LZMA (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.

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