What is Protobuf Decode Raw?
Protobuf Decode Raw parses Protocol Buffer binary data without requiring a .proto schema file. Protocol Buffers are Google’s language-neutral binary serialization format, widely used in gRPC services, mobile APIs, and high-performance data pipelines. When you capture protobuf data from network traffic or logs but lack the schema definition, this tool reveals the structure by interpreting the wire format directly.
The wire format encodes each field with a field number and a wire type (varint, 64-bit, length-delimited, 32-bit). DevKit’s decoder reads these markers and presents each field with its number, type, and raw value. For length-delimited fields, it attempts to decode them as UTF-8 strings, nested messages, or packed repeated fields, giving you the best possible interpretation of unknown data.
How to Use Protobuf Decode Raw
Paste your protobuf binary data as a hex string or Base64-encoded string into the input editor. Select the input encoding and tap Decode. The tool parses the wire format and displays a tree of fields.
Each field shows its field number, wire type, and decoded value. Length-delimited fields are presented with multiple interpretation attempts: as raw bytes, as a UTF-8 string, and as a recursively decoded submessage. You can expand submessage interpretations to drill into nested structures.
Common Use Cases
- gRPC debugging: Decode captured gRPC request and response bodies when you cannot access the .proto definitions from a third-party service.
- Network traffic analysis: Inspect protobuf payloads captured with tools like Wireshark, Charles Proxy, or mitmproxy during mobile app debugging.
- Reverse engineering: Understand the structure of undocumented protobuf APIs by examining the wire format of captured messages.
- Data pipeline inspection: Decode protobuf records from Kafka topics, Pub/Sub messages, or event streams without deploying a full consumer.
- Schema migration verification: Confirm that field numbers and types match expectations after protobuf schema changes.