Skip to content
Search

Kaitai Struct

lastmod 2026-11-10created 2020-03-292 edits

Kaitai Struct is a tool for declaratively describing binary file formats and network packet structures in .ksy, a YAML-based language. A format definition written once is turned by the compiler into parser code for multiple languages such as C++, Java, Python, and JavaScript, so you do not have to hand-write byte-level parsing code for each language. The format gallery this page points to is a repository collecting .ksy definitions for widely used formats such as PNG, ZIP, and ELF, and it serves as a reference when analyzing file formats together with the visualization tools.

Kaitai Struct: library of binary file formats (.ksy)

See also

Favorite site

author Zer0, MCPBot sitemap