Decode Protobuf with its original schema
- Choose the binary message and its matching .proto file.
- Enter the fully qualified message type if the schema contains several messages.
- Decode, review the typed JSON and download the result.
Worked example
Choose a Person message and the schema that encoded it. For package demo and message Person, enter demo.Person, then Decode Protobuf. Review field values in the JSON result before downloading.
Input and output
Temporarily upload a Protobuf binary message and its .proto schema to download typed JSON. The API limits binary messages to 8 MiB and schemas to 256 KiB; the file pickers and API enforce the same limits.
Format and size limits
The message type name can be at most 160 characters. A schema is necessary for typed decoding; the schema-free binary inspector only exposes wire fields. Imported definitions must be available to the schema compiler.
If processing fails
A mismatched schema, missing import, wrong fully qualified message type or truncated binary can fail compilation or decoding. Obtain the original schema instead of guessing field types.
Questions about this tool
Why is a matching .proto file required?
The schema defines field names and types. Wire inspection alone cannot reliably distinguish every numeric, string, byte or nested-message value.
Can I upload a schema that imports my project’s other .proto files?
The form accepts one schema file. Only installed well-known Google imports are available; custom dependencies must be resolved before decoding.
How it works
The server compiles the supplied schema with protoc, resolves the message descriptor and uses Google protobuf dynamic decoding and canonical ProtoJSON formatting.
Important limitations
Correct .proto schema is required. Imports other than installed well-known Google schemas are not supported in the single-file upload. Choose the correct message type for multi-message schemas.
