StrataZip

StrataZip

The smallest archives for structured data.

CSV, logs, sensor and market data, audio and genomes: StrataZip tries several coders on every block, keeps the one that wins, and checks every byte on the way out. Close to the best on everything else, with verification and repair built in.

Free and open source under the AGPL-3.0. Most people never need to pay: see who does. Linux x86-64 today; Windows, macOS and a desktop app are planned.

$ stratazip -l 9 -c prices.csv prices.stz
$ stratazip -d prices.stz prices.csv
The StrataZip icon: a zippered S ribbon with rainbow strata and a gold arrow

Measured, not promised

One thread per tool, and every result decompressed and compared with the original byte for byte. The Silesia numbers can be rerun from the repository on public data.

21%
smaller than zpaq -m5, the strongest mode of the usual leader, on a Bitcoin price history in CSV
6–8%
smaller than FLAC -8 on 16-bit audio, field recordings and music alike
2nd of 12
on the Silesia corpus of mixed real data, and 15% smaller than xz -9e
144
round trips in the Silesia run, every one checked byte for byte

Bitcoin price history, 2017 to 2025, CSV (2,575,631 bytes)

Compressed size in bytes; shorter is better.

zstd -19200,502
xz -9e153,772
zpaq -m5113,063
StrataZip -l 989,798
Structured data and audio (bytes)
DataBest otherStrataZip
E. coli genome1,114,234 zpaq1,099,133
Bitcoin prices, float64 pairs110,793 zpaq88,913
Field recordings, ten ESC-50 clips1,951,940 FLAC1,788,551
Two pop songs, 30 s each6,668,828 FLAC6,224,960
Silesia corpus, 212 MB (MB, smaller is better)
ToolSizeRatio
zpaq -m539.115.419
StrataZip -l 941.335.128
bzip346.934.516
xz -9e48.464.374
7z -mx=948.764.347
zstd --ultra -2252.524.035
gzip -967.633.134

The honest part: level 9 is slow, and as slow to open as to make, like zpaq and cmix. It is for archives you keep. The default level 4 decompresses at about 175 MB/s, three times xz, but is larger than xz today. The Bitcoin file is private and available on request to anyone who wants to check the result. Full tables, the machine and every caveat: BENCHMARKS.md.

Why it comes out smaller

Nothing is guessed from a file name. Each block goes to whichever coder measures smallest on that block.

The right coder per block

Text, code and binaries go to a context-mixing model; columns of numbers through derivative filters; 16-bit audio to a waveform coder; DNA to a two-bit coder that learns both strands.

Verified, and repairable

A CRC-32 on every block and a SHA-256 on every file. A damaged archive is refused, never silently mis-decoded, and optional Reed-Solomon recovery records (-r 5) can repair it.

Whole trees, incrementally

Permissions, times and links kept; identical files stored once. Give it last night's archive with --from and unchanged files are not even read again.

One file out of many

--get decodes only the blocks that hold the file you asked for.

Safe writes

Output goes to a temporary name and is renamed into place only when it is complete.

Readable forever

Every .stz archive StrataZip has written stays readable by every later version. The format is documented in full.

Commercial licence

Perpetual, with 12 months of updates, the way JetBrains does it. Keep the version you bought forever; renew only if you want newer ones. StrataZip never checks a key and never phones home: the licence is a legal grant, and the program is the same for everyone.

Professional

One named person, any number of their machines.

$39 USD
Renewal $19 for 12 more months

Team

Up to 10 named people in one organisation.

$299 USD
Renewal $149 for 12 more months

Server

Unlimited use on the servers and CI of one organisation.

$499 USD
Renewal $249 for 12 more months
Buy Commercial Licence

Choose your plan at checkout. Sold through Polar, the merchant of record, which handles payment, invoices and sales tax. Prices exclude tax where it applies.
Shipping StrataZip inside your own product (OEM), more than 10 people, or a purchase order: hello@stratazip.com. Already a customer? Renew here.

You don't need one to

  • use the stratazip command, at home or at work, including on company servers and in internal scripts;
  • study, modify and share StrataZip under the AGPL;
  • build it into a project that is itself open source under the AGPL-3.0 or GPL-3.0.

Unsure? Ask in Discussions and we'll tell you honestly. The full terms are in COMMERCIAL-LICENSE.md.

Install

Ubuntu and Kubuntu 24.04 or 26.04: download the .deb from the latest release. Every release is installed and tested on both before it is published. Other x86-64 Linux: use the .tar.gz, or build from source with Qt 6.4 and CMake.

$ sudo apt install ./stratazip_*.deb
$ stratazip --test