Define in FBS.Generate Zig.

Edit your schema.
Generate typed Zig, live.
Explore every field.

Stages: schema fieldsPayloads: borrowed bytes

The rocket will appear after the generated Zig runtime loads.

Preparing the generated schema…

Loading rocket…

Interactive canvas
Edit FBS to update Zig and the rocket. Select a stage to inspect a field.

rocket.fbs

EDITABLE FBS

rocket.zig

GENERATED ZIG
Loading generated Zig…
—

Official schemas from flatzz/example.

Loading Zig runtime…

Use the generated code.

Create → serialize → print. Receive → read → edit → print.

main.zig

FOLLOWS YOUR SCHEMA
Preparing usage example…

Comptime-sized serialization and borrowed reads. No allocator required.

Official Zig examples.

Source files from flatzz/example, included with this build. Read all examples →

Example guide
01

Define

Describe your data in a FlatBuffers schema.

02

Generate

Compile the schema into native types and typed operations.

03

Borrow

Serialize into your buffer. Read strings and vectors from its bytes.

The real Flatzz compiler runs in your browser. Edit or open linked FBS files, inspect schema JSON, or import BFBS. The compiler uses a bounded workspace; schema JSON describes declarations, not message data. Rocket stages represent logical fields. Original presets show verified byte offsets; edited schemas show declarations. Generated usage is source code, not executed in the browser. Fixed-buffer Zig serialization needs no allocator; browser compilation and the interface use memory.