Zstandard Compression & Decompression (.zst)

Compress to Zstandard or decompress an existing .zst frame.



How to use

If a .zst file is rejected for a missing size, regenerate it with a known input length so the encoder can write the size in the frame header.

FAQ

Where is the .zst frame header checked?

The tool reads the declared content size in your browser before passing the frame to its local decoder. The compressed bytes are not uploaded.

What is supported?

The frame must declare its content size. Use a single frame without an external dictionary. The input and output limits are 8 MiB, with a 30-second deadline.

Other Languages

Zstandard Compression & Decompression (.zst) — Base64.sh

Zstandard Compression & Decompression (.zst)

Compress to Zstandard or decompress an existing .zst frame.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Decode generated frames with zstd CLI; decode CLI frames through the bounded module, rejecting invalid headers.
Comparison reference
zstd CLI 1.5.7; only the named examples and bounded formats are covered.
Verification scope
Covers specific ordinary frames with declared content size and one invalid header. Dictionary and concatenated frames are outside this comparison.
Test source and cases (select a file to read it)

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.