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).
- .proto parser
- Breaking check
- Schemaless decode
- ZigZag and packed
- JSON preview
- Zero input sent
.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
Breaking changes
Byte map —
| offset | field | tag | wire | length | value |
|---|
Interpretation tree
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
- 01Paste the schema
Drop in .proto text or pick one of the six synthetic presets. The text is never sent anywhere.
- 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.
- 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
.proto parser
Reads syntax, package, message, enum, oneof, map, repeated, optional, reserved and service/rpc, and resolves nested messages and type references. Syntax errors carry a line and column.
Lint rules
Field number limits and the 19000-19999 band, duplicate numbers and names, reuse of reserved numbers and names, the proto3 enum zero value, required in proto3, map key types, unresolved types, naming and deprecation are reported as errors, warnings and notes.
Breaking-change diff
Matches an older and a newer schema by message and field number and reports removed numbers that were not reserved, type and label changes, renames, package changes, removed enum values and removed rpcs.
Schemaless decoder
Reads wire types 0, 1, 2 and 5 and shows byte offsets, tags, field numbers and wire types with unsigned, signed and ZigZag values, double and float, UTF-8, nested message and packed candidates side by side.
Schema-based decode
Maps bytes onto the selected message's field numbers to produce real field names, enum labels, nested messages, map keys and values and repeated arrays, with a JSON preview.
Markdown and JSON report
Download the lint diagnostics, breaking diagnostics and a decode summary. The report carries neither the schema text nor the decoded values in full.
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.
Calculated in the page
The parser, linter and decoder are JavaScript in the page. There is no server call, no database and no analytics payload carrying the input.
Separate from ads
Advertising and affiliate widgets load from their own origins but never read the input. Results stay in the text areas and on the screen.
Nothing kept
Input and results are not stored. Closing the tab clears them, and only a file you downloaded yourself remains.
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.
Guides
All guidesFive 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.