Structured Data
Protobuf Encoder
Transform structured data with Protobuf Encode and review the valid output. Enter the data, choose the formatting options, then validate and copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Protobuf Encoder serializes supported field data into Protocol Buffers bytes.
Protobuf bytes for the message. Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Define fields before encoding values.
- Check wire types and repeated-field rules.
- Decode a sample output with the receiving schema.
Example
Input: A supported message with name: Ada
Settings: Protobuf Encoder: Use the matching message definition and field numbers.
Result: Protobuf bytes for the message.
Limits
- Protobuf Encoder: The receiver needs compatible field numbers and types.
- Protobuf Encoder: Binary output is not readable without a schema-aware decoder.
- Protobuf Encoder: Processing stays in the browser.