# Kaitai Struct

6 Hacker News commenters recommended Kaitai Struct and 2 criticized it, November 2025 to November 2026. It was recommended in 5 of 13 months.

**Verdict:** People recommend it for describing binary file formats and generating parsers in several languages, with a web IDE for testing definitions against hex dumps.

## Why people recommend it

- Generates parsers in several languages (2 comments): "It has a web-based IDE for writing and testing structure definitions against hex dumps, and can generate binary parsers" ([source](https://news.ycombinator.com/item?id=48721957)) "Kaitai Struct is also pretty good and will generate code in several languages." ([source](https://news.ycombinator.com/item?id=49549812))
- Flexible, good starting point to learn (2 comments): "It seems like a fairly flexible system that would be an excellent starting point" ([source](https://news.ycombinator.com/item?id=47875179)) "a fascinating tool which I'm going to have to dive into and learn" ([source](https://news.ycombinator.com/item?id=46253127))

## Alternatives hackers recommend

- [Tree-sitter](https://hackerapproved.com/p/tree-sitter.md): 79 recommend
- [Hardwood Parquet parser](https://hackerapproved.com/p/hardwood.md): 7 recommend
- [Lark parser library for Python](https://hackerapproved.com/p/lark.md): 6 recommend
- [Ohm parsing library](https://hackerapproved.com/p/ohm.md): 6 recommend
- [nom Rust parser library](https://hackerapproved.com/p/nom.md): 5 recommend

## Cite as

Hacker Approved, "Kaitai Struct", https://hackerapproved.com/p/kaitai-struct/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
