Hacker ApprovedDepartments

Zstandard (zstd)

Hacker Approved

The most recommended of 14 compression tools

A go-to general-purpose compressor with an excellent size-versus-speed tradeoff and very fast decompression, though Brotli and others can beat it on density for some files.

A go-to general-purpose compressor with an excellent size-versus-speed tradeoff and very fast decompression, though Brotli and others can beat it on density for some files.

125 people gave an opinion

recommend it
111
criticize it
14
approval share
89%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 111 people recommend itNeeds 10 or more, met.
  • 7.9 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Excellent ratio-to-speed tradeoff

    “zstd might lose out there, the answer seems to vary based on the tests I look at, but it seems to be better across a very wide range”

    Comment from 23 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

    “they're considered to have better tradeoffs in teems of collision compression time and overall space saved by compression”

    Comment from 14 Mar 2026 in “An Ode to Bzip”

    “all that "more" has been ridiculously more optimized in zstd and other modern compression methods”

    Comment from 7 Sep 2026 in “bzip3”
  • Very fast decompression

    “While it might not compress as small, it decompresses way faster, and might make up for the few extra bytes sent.”

    Comment from 20 Mar 2026 in “A static site generator and website transferring under 20kB”

    “Huge assets took less hard drive space, took less time to download, and took less time to decompress.”

    Comment from 2 Sep 2026 in “We could save petabytes of cache storage with Zstandard and Pingora”

    “competitive with Brotli, which is impressive given how much faster it is to decompress”

    Comment from 22 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”
  • Better and faster than gzip

    “Zstd, on the other hand, aims to be a “better gzip”, in that it's compresses about as fast as gzip but packs somewhat denser”

    Comment from 15 Mar 2026 in “An Ode to Bzip”

    “For the same CPU utilization if provides twice dense compression compared to regular [-6] gzip”

    Comment from 22 Sep 2026 in “Can gzip be a language model?”

    “If you use Zstandard layers instead of gzip layers, startup time is improved.”

    Comment from 14 Feb 2026 in “Understanding the Go Compiler: The Linker”
  • Tunable levels and options

    “instead of tweaking the whole tunnel once, you can use --adapt to dynamically adjust to i/o conditions”

    Comment from 31 Aug 2026 in “Transfer files over an Ethernet patch cable”

    “zstd gives you up to 22 for ultra compression and negative compression levels for ultra fast”

    Comment from 7 Sep 2026 in “bzip3”

    “zstd -19 gave me the best results for small file sizes and fast decompression of text data”

    Comment from 15 Apr 2026 in “Comparing Compression Tools”

What people warn about

Each mark is one comment

  • Not always the densest compression

    “no combination of flags to zstd gets it to match the size of brotli's output on that particular file”

    Comment from 22 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

    “RePair is faster than compressing with zstd and the size reduction is almost the same”

    Comment from 12 Nov 2025 in “Fighting the New York Times' invasion of user privacy”

    “not in compression density, I don't believe, but yeah, along most other metrics”

    Comment from 8 Oct 2026 in “Shipping JPEG XL in Chrome”
  • Not best for every workload

    “zstd might lose out there, the answer seems to vary based on the tests I look at, but it seems to be better across a very wide range”

    Comment from 23 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

    “Of course for other kinds of files, zstd wins, but all the claims that zstd should be used for ALL applications are extremely wrong.”

    Comment from 15 Mar 2026 in “An Ode to Bzip”

    “It didn't work, or the gains were so marginal that I ended up scrapping the approach.”

    Comment from 7 Sep 2026 in “bzip3”

Other compression tools people recommend

The four most recommended other compression tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Zstandard (zstd) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Zstandard (zstd)This page1111489%12—Approved
Brotli241857%7——
gzip231364%8——
tar191359%11——
NNCP150100%11—Approved
See all 14 compression tools, ranked

What people said

40 of the 153 comments that mention it, newest first. Each links to the original comment.

“my local experiments showed any tricky scheme I could come up beaten by plain large window zstd”

RecommendsComment from 11 Oct 2026 in “How big is a Git commit?”

“not in compression density, I don't believe, but yeah, along most other metrics”

MixedComment from 8 Oct 2026 in “Shipping JPEG XL in Chrome”

“the decompression speed is incredible, so much so that I store everything in zstd”

RecommendsComment from 22 Sep 2026 in “Can gzip be a language model?”

“For the same CPU utilization if provides twice dense compression compared to regular [-6] gzip”

RecommendsComment from 22 Sep 2026 in “Can gzip be a language model?”

“the best general purpose compression algorithm, in terms of compression ratio to CPU used”

RecommendsComment from 22 Sep 2026 in “Can gzip be a language model?”

“Otherwise, if zstd is easy to add, IMO I would always prefer, zstd, lz4 or brotli.”

RecommendsComment from 7 Sep 2026 in “bzip3”

“zstd gives you up to 22 for ultra compression and negative compression levels for ultra fast”

RecommendsComment from 7 Sep 2026 in “bzip3”

“It didn't work, or the gains were so marginal that I ended up scrapping the approach.”

CriticizesComment from 7 Sep 2026 in “bzip3”

“zstd is the go-to compression format these days. It's even supported in low-level software such as many linux filesystems.”

RecommendsComment from 7 Sep 2026 in “bzip3”

“all that "more" has been ridiculously more optimized in zstd and other modern compression methods”

RecommendsComment from 7 Sep 2026 in “bzip3”

“If we match the window size of zstd to that of bzip3 we get dramatically different results”

MixedComment from 7 Sep 2026 in “bzip3”

“With a dictionary, small objects - even just a couple of bytes - compress well.”

RecommendsComment from 3 Sep 2026 in “We could save petabytes of cache storage with Zstandard and Pingora”

“Huge assets took less hard drive space, took less time to download, and took less time to decompress.”

RecommendsComment from 2 Sep 2026 in “We could save petabytes of cache storage with Zstandard and Pingora”

“instead of tweaking the whole tunnel once, you can use --adapt to dynamically adjust to i/o conditions”

RecommendsComment from 31 Aug 2026 in “Transfer files over an Ethernet patch cable”

“zstd, with 1-3 effort (you may even find negative is a overall win), and a trained dictionary”

RecommendsComment from 5 Aug 2026 in “Faster Than Ninja”

“if instead you take a raw bitmap and compress it with ZSTD, it typically will be better”

RecommendsComment from 28 Jul 2026 in “Some combinatorial applications of spacefilling curves”

“Zstd already follows the pareto line very closely and also decompresses pretty fast”

RecommendsComment from 16 Jul 2026 in “Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)”

“Practical tools, even modern ones like zstd, are mostly based around sliding window compression”

MixedComment from 20 Jun 2026 in “Data Compression Explained”

“I found with using various tricks I can get the zstd parquet to be up to 10x (or more) smaller”

RecommendsComment from 19 Jun 2026 in “DuckDB Internals: Why Is DuckDB Fast? (Part 1)”

“you're better off both in developer ergonomics and speed/space slapping zstd across a flatter binary format”

RecommendsComment from 29 May 2026 in “Bijou64: A variable-length integer encoding”

“I'm used to zstd which by default uses a 128MB window and I usually set it to the max”

RecommendsComment from 24 Apr 2026 in “Mounting tar archives as a filesystem in WebAssembly”

“zstd -19 gave me the best results for small file sizes and fast decompression of text data”

RecommendsComment from 15 Apr 2026 in “Comparing Compression Tools”

“There's also zstd's flush ability that I've used for streaming robotics data.”

RecommendsComment from 2 Apr 2026 in “Zstandard Across the Stack”

“It helps speed it up at high compression levels, though not as much as I'd like.”

MixedComment from 2 Apr 2026 in “Zstandard Across the Stack”

“While it might not compress as small, it decompresses way faster, and might make up for the few extra bytes sent.”

RecommendsComment from 20 Mar 2026 in “A static site generator and website transferring under 20kB”

“Zstd, on the other hand, aims to be a “better gzip”, in that it's compresses about as fast as gzip but packs somewhat denser”

RecommendsComment from 15 Mar 2026 in “An Ode to Bzip”

“Of course for other kinds of files, zstd wins, but all the claims that zstd should be used for ALL applications are extremely wrong.”

MixedComment from 15 Mar 2026 in “An Ode to Bzip”

“zstd is pretty much Pareto optimal at all settings when looking at size vs. decompression speed”

MixedComment from 15 Mar 2026 in “An Ode to Bzip”

“they're considered to have better tradeoffs in teems of collision compression time and overall space saved by compression”

RecommendsComment from 14 Mar 2026 in “An Ode to Bzip”

“use zstd, which is better and faster, both at compression and decompression”

RecommendsComment from 14 Mar 2026 in “An Ode to Bzip”

“If you use Zstandard layers instead of gzip layers, startup time is improved.”

RecommendsComment from 14 Feb 2026 in “Understanding the Go Compiler: The Linker”

“Having zstd in the stdlib means you can do dictionary-based compression tricks in any Python 3.14 environment”

RecommendsComment from 12 Feb 2026 in “Text classification with Python 3.14's ZSTD module”

“Zstandard is a good compressor, but it's not magical; comparing the compressed size of Zstd(A+B) to the common size of Zstd(A) + Zstd(B) is effectively just a complicated way of measuring how many words and phrases the two documents have in common.”

MixedComment from 12 Feb 2026 in “Text classification with Python 3.14's ZSTD module”

“zstd might lose out there, the answer seems to vary based on the tests I look at, but it seems to be better across a very wide range”

MixedComment from 23 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

“on a read-many format like pdf zstd's decompression speed is a much better fit”

RecommendsComment from 22 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

“competitive with Brotli, which is impressive given how much faster it is to decompress”

MixedComment from 22 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

“no combination of flags to zstd gets it to match the size of brotli's output on that particular file”

CriticizesComment from 22 Jan 2026 in “ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss”

“probably gets you most of the benefit without giving up independence of compression”

RecommendsComment from 30 Dec 2025 in “Streaming compression beats framed compression”

“Modern browsers support brotli or zstd, which is a lot better in terms of compression.”

RecommendsComment from 16 Nov 2025 in “Messing with scraper bots”

“RePair is faster than compressing with zstd and the size reduction is almost the same”

MixedComment from 12 Nov 2025 in “Fighting the New York Times' invasion of user privacy”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.