opyeb protobuflab

Paste it in, no server needed

Paste a .proto and its bytes,
see the schema and the wire

Parse a proto2 or proto3 schema in the browser for lint results and a breaking-change diff between two versions. Field number limits (1-536,870,911, with 19000-19999 reserved), duplicate numbers and names, the proto3 enum zero value and reserved violations are split by severity, and Hex or Base64 bytes decode into a schemaless candidate tree or into real field names, enum labels and nested messages for a selected message. Zero input sent to a server (advertising and affiliate widgets excepted).

Paste a .proto schema or some bytes. Results update as you type.

.proto schema

——

proto2 or proto3 .proto text. Up to 512 KB is inspected.

Bytes

—

Spaces, 0x, colons and hyphens are ignored.

Previous .proto

—

An older .proto for the breaking-change diff. Leave it empty to skip the comparison.

Result

Diagnostics

    The download name follows the active tab: protobuflab-report.md or protobuflab-report.json.

    Schema shape

    —

    How to read it

    • Severity is error (a rule of the language is broken), warning (a recommended practice) or note (an improvement).
    • Field numbers run from 1 to 536,870,911, and 19000 to 19999 is reserved.
    • Schemaless readings are candidates; a field type is only certain when a schema supplies it.

    Everything is computed in this browser. Input is never sent to a server.

    How it works

    1. 01Paste the schema

      Drop in .proto text or pick one of the six synthetic presets. The text is never sent anywhere.

    2. 02Decode bytes

      Paste Hex or Base64 and pick a root message to get a tree with field names and enum labels plus a JSON preview. Leave the root empty for schemaless candidates.

    3. 03Diagnose and export

      Click a diagnostic to jump to its line, paste an older schema for the breaking diff, and download the Markdown or JSON report.

    What one screen holds

    Why the input never leaves

    A schema carries messages you have not published, and bytes can carry customer data. The parser and decoder therefore live in the page.

    Questions

    Is it safe to paste a private schema and its bytes?

    The text is processed in the page and never sent or stored. Advertising and affiliate widgets load from their own origins but do not read it.

    Are proto2 and proto3 both checked?

    Yes. The syntax value picks the rule set, including proto2 labels and the proto3 enum zero value, the ban on required and explicit optional.

    Is schemaless decoding exact?

    Bytes alone do not reveal field types, so every plausible reading is listed as a candidate. Exact values come from a schema with a root message selected.

    What does the breaking check compare?

    Removed field numbers that are not reserved, type and label changes, a field renumbered under the same name, package, message and enum renames, removed enum values and removed rpcs.

    How are packed repeated fields read?

    In proto3 a repeated integer field is packed by default and arrives as wire type 2. With a schema each value is unpacked into an array; without one it is shown as a packed candidate.

    Does the report contain the schema text?

    No. It holds the diagnostic lists and structure summary, never the schema text or the full decoded values.

    Five articles: .proto structure, the wire format, the lint rules, how breaking changes are judged, and schemaless decoding.

    Check a schema now

    A synthetic example is already loaded. Paste your real schema and it still never leaves the browser.