A ZST file is a compressed file that is generated with the Zstandard (zstd) compression algorithm. It is a compressed file that is created with lossless compression by the algorithm. ZST files can be used to compress different types of files such as databases, file systems, networks, and games. The Zstandard is governed by RFC 8878 that describes the overall compression mechanism, media type, and content encoding.
ZST File Format
ZST files are stored in compressed file format to disc. The compression mechanism is as described by RFC 8878 that obsoletes RFC 8478.
A ZST file consists of one or more frames. Each frame can be either a Zstandard frame or a skippable frame. A Zstandard frame contains compressed data, whereas a skippable frame contains custom user metadata.
A Zstandard frame has the following structure.
Size in Bytes
A skippable frame lets the insertion of user-defined metadata in a flow of concatenated frames. The structure of a skippable frame is as follow.