Skip to content
Kaitai Struct: library of binary file formats (.ksy)
Branch: master
Clone or download
Latest commit 9aa21b7 May 21, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Trying to add bundler May 21, 2019
_build Slightly more compact C++ instructions Apr 21, 2019
archive Merge pull request #114 from kaitai-io/kt-zip-data-desc May 3, 2019
cad Fix some grammar and improved docs slightly Jul 18, 2017
common BCD: more docstrings Jun 5, 2018
database More metadata Jan 5, 2019
executable Updated metadata Jan 8, 2019
filesystem Fixed title + added very basic top-level doc May 7, 2019
firmware minor fixes: uimage, protocol_body Mar 18, 2019
font More metadata Jan 5, 2019
game Improve the version calculation more. May 13, 2019
geospatial Add Shapefile main (.shp) and index (.shx) formats (#29) Apr 1, 2017
hardware mifare_classic: fix meta ordering, added ks-version Aug 10, 2018
image Added missing exif field types (#124) Feb 17, 2019
log Separated CONTRIBUTING into distinct file Apr 18, 2019
machine_code Added license and doc Jun 6, 2017
macos Define some types as subtypes Apr 12, 2019
media Added abr field to vertex in STL Apr 17, 2019
network network/websocket: Fix invalid `frame_header` ref May 3, 2019
scientific Merge pull request #93 from FilipDominec/master Apr 17, 2018
security Add UEFI db and dbx Signature List format Apr 21, 2019
serialization Fixed bool_value in msgpack.ksy according to the msgpack spec. https:… Jan 19, 2019
windows More metadata Jan 9, 2019
.editorconfig Added .editorconfig Oct 16, 2017
.gitattributes Add syntax highlighting for .ksy files Aug 17, 2017 Separated CONTRIBUTING into distinct file Apr 18, 2019 Separated CONTRIBUTING into distinct file Apr 18, 2019

Kaitai Struct: formats library

This repository constitutes a library of ready-made binary file format descriptions using Kaitai Struct language (.ksy).

These formats can be useful for:

  • exploring a certain file format internals: one can load .ksy format + target binary in a Web IDE or visualizer and learn what's inside;

  • as a production-ready binary file parsing library: they can be compiled with a Kaitai Struct compiler into source code in any supported target programming language;

  • as a starting point for learning applications of Kaitai Struct in real world;

Exploring this repository

If you want to explore the repository, please visit Kaitai Struct format gallery — that's HTML rendition of this repository, which block diagrams, all the code compiled for all possible target languages, provided with usage examples and instructions, etc, etc.

Alternatively, you can start with Web IDE — this library of formats also comes pre-loaded with it.




This repository contains work of many individuals. Each .ksy is licensed separately: please see meta/license tag and comments in every .ksy file for permissions. Kaitai team claims no copyright over other people's contributions.

You can’t perform that action at this time.