Protobuf wire decoder
Decode protobuf wire bytes without a .proto into a field tree.
Loading the tool…
What it does, how to use it, and questions
What it does
Protocol Buffer wire encoding packs field numbers and wire types into bytes. Without a .proto you can still recover field numbers, varints, fixed values and length-delimited blobs.
Nested messages are shown when a length-delimited value itself parses as protobuf. Strings are shown when the bytes are valid UTF-8.
How to use it
- Paste hex or Base64 wire bytes.
- Read the field tree.
- Treat names as unknown unless you have a schema.
Things to watch for
- Field numbers are not names. Guessing types can be wrong for enums vs integers.
- Groups (deprecated wire type) are rarely used and may display poorly.
Questions
- Do I need a .proto?
- No. This is schema-less. For named fields, decode with your own stubs.
- Hex or Base64?
- Either. Spaces and
0xin hex are accepted. - Can it encode protobuf?
- No. Decode only.
- Are the bytes uploaded?
- No.