Inspect Protobuf wire data without a schema
- Choose a raw Protobuf binary message.
- Inspect field numbers, wire types, raw values and possible UTF-8 text.
- Download the inspection report and compare it with the expected message structure.
Worked example
The bytes 08 96 01 encode field 1 as a varint with raw value 150. The wire data does not reveal the field’s name or declared Protobuf type.
Input and output
Select the bytes of one serialized message or run the built-in sample first. The local report lists field numbers and wire types in the order encountered. Use this to check whether an expected field number appears before requesting the original schema for a typed decode.
Format and size limits
A length-delimited field could be text, arbitrary bytes, packed numbers or another message. Even a readable UTF-8 candidate is only an interpretation. The inspector stops after 20,000 fields and does not recursively assign names or semantics to nested data.
If processing fails
If the first tag is invalid or a value ends unexpectedly, confirm you have the complete message body. A capture may include transport headers or framing bytes before the actual Protobuf payload. Obtain the standalone payload from the producer and compare its byte length before trying again.
Questions about this tool
Can inspection recover the original field names?
No. Field names and declared types live in the .proto schema, not in the wire message. Supply that schema to the typed Protobuf-to-JSON decoder.
Is every readable byte field a string?
No. Length-delimited bytes can contain strings, raw bytes, packed values or nested messages. UTF-8 candidates are clues, not confirmed types.
How it works
Decodes protobuf wire tags, varints, 32-bit and 64-bit fields, and length-delimited bytes. Results are JSON inspection records.
Important limitations
This is not a typed conversion without a .proto schema or descriptor; binary floats, repeated fields and embedded messages cannot be inferred reliably.
