kaitai-io/kaitai_struct
Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby / Rust observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3847
- days_rel: n/a
- days_push: 16
- n_releases_24m: 0
Adoption not part of the score
4664 stars · 209 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Kaitai Struct is a declarative language for describing binary data structures (file formats, network packet layouts) in .ksy files. A compiler generates ready-to-use parsers in many target languages including C++, C#, Go, Java, JavaScript, Python, Ruby, and Rust.
Use cases
- parse binary file formats without hand-writing parsers
- reverse engineer unknown file formats
- dissect network packet protocols
- generate parsers for the same format in multiple programming languages
- extract assets from game or firmware binary files
- document and share binary format specifications
When to choose
- you need to parse a binary format across several languages
- you want a declarative, maintainable spec instead of error-prone manual parsing code
- you are reverse engineering file formats or protocols
- you want to reuse a large library of pre-defined format descriptions
When to avoid
- you need to write (serialize) binary data as well as read it — writing support is limited
- your format is highly dynamic or requires complex procedural parsing logic
- your target language is not among the supported ones
- you need a runtime-configurable parser rather than compiled code
Facets
library · maturity active
parser serialization developer-tools reverse-engineering parsers files reverse-engineering developer-tools programming-languages cross-platform cpp go rust python jvm ruby php lua dotnet binary-format declarative-language code-generation protocol-analysis file-format ksy javascript nim perl
3 sources
- readme: https://github.com/kaitai-io/kaitai_struct · fetched 2026-08-28 · e01327380ffa
- homepage: https://kaitai.io · fetched 2026-08-29 · bdbb58ede9d9
- site_page: https://doc.kaitai.io/ · fetched 2026-08-29 · 73d3bd926c68
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kaitai-io/kaitai_struct | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="kaitai-io/kaitai_struct")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem