FlatBuffers Decoder/Encoder
Decode binary FlatBuffers to JSON or encode JSON to binary. Paste your schema and data below.
Decoded data will appear here...
Example Schemas
Monster (Game Entity)
A typical game entity with position, stats, and inventory.
table Monster { hp: int; name: string; }
Message (Protocol)
A simple message format for network protocols.
table Message { id: uint; payload: [ubyte]; }
Config (Settings)
Application configuration with nested structures.
table Config { version: string; settings: Settings; }
Event (Logging)
Event logging schema with timestamps and metadata.
table Event { timestamp: long; level: Level; }
About FlatBuffers
FlatBuffers is an efficient cross-platform serialization library developed by Google. It allows you to access serialized data without parsing/unpacking, making it ideal for games, performance-critical applications, and network protocols.
Supported Types
bool, byte, ubyte, short, ushort- Basic integersint, uint, long, ulong- 32/64-bit integersfloat, double- Floating point numbersstring- UTF-8 strings[type]- Vectors/arraysstruct, table, enum, union- Composite types
Key Features
- Zero-copy deserialization
- Schema evolution support
- Smaller than Protocol Buffers
- No parsing overhead
- Cross-platform compatibility
- Strong typing with schema validation