Choosing a compression format

Back to list2026-08-23
You

gzip, zstd or xz for archives I keep for years?

ChatGPT

The tradeoff in one table:

gzipzstdxz
Compressionbaselinebetterbest
Speedfastfastestslow
Decompressfastfastestmoderate
Ubiquityeverywhererecentcommon

For long-term archives the deciding factor is not ratio but whether the format opens without installing anything in ten years, which still favours gzip for the outer layer.

You

How do I know when it stops being worth it?

ChatGPT

When you stop noticing it. If it has not surfaced a problem in six months, it is either solved or it was never the bottleneck you thought.