Skip to content

ProtobufPractice

Short schema exercises with live compiler feedback. Fix the proto until the checks pass.

Start exercises8 exercises, about 15 minutes
  1. 1Field Numbers
  2. 2Naming
  3. 3Repeated Fields
  4. 4Reserved Fields
  5. 5Field Presence
  6. 6Oneof
  7. 7Well-Known Types
  8. 8Schema-Level Validation

Every exercise opens a proto editor with a schema that is missing something, plus the task it has to satisfy. Syntax errors appear as you type.

Once the schema compiles, the resulting descriptor is checked against the specific rule the exercise is teaching, so passing means the schema really says what it should.