Edit a Protobuf schema and see a message that fits it, checked against the schema and its rules as you type.
Schema
edition = "2024"; package playground.v1; // Every scalar type Protobuf has. Watch what the JSON does with the // 64-bit integers and the bytes field. message Scalars { string text = 1; bool flag = 2; int32 count = 3; int64 big_count = 4; uint32 unsigned = 5; uint64 big_unsigned = 6; // Zig-zag encoded, for values that are often negative. sint32 delta = 7; sint64 big_delta = 8; // Always four and eight bytes, whatever the value. fixed32 fixed_small = 9; fixed64 fixed_big = 10; float ratio = 11; double precise_ratio = 12; bytes payload = 13; }
Valid
editable
Waiting for the schema to compile.
Compiled in your browser by protocompile, the same compiler the buf CLI uses. Sample messages from FauxRPC.