Protobuf Decoder
Decode Protocol Buffers binary data without a schema and show its structure.
The button on the input and dropping onto it load a text file with Base64 or hex (up to 4 MB).
Loading a file puts its contents into the input as a hex string (up to 1 MB).
Parsing notes
- Without a schema (.proto), types cannot be determined uniquely. Varint, 64-bit, and 32-bit values are shown with several possible interpretations (unsigned integer, ZigZag, floating point, and so on).
- Length-delimited (wire type 2) payloads are interpreted heuristically, in this order: UTF-8 string → nested message → hex dump. Strings and packed repeated fields may occasionally be interpreted as another form.
- Wire types 3 and 4 (groups, deprecated) are not supported. Parsing stops where one is found, and the rest is shown as a hex dump.
- If parsing fails, the fields parsed before the failure are still shown. All data is processed in your browser and never sent to a server.