Protocol Buffers Schema & Binary Message Decoder
Decode raw Google Protocol Buffers binary wire format (varints, fixed32/64, length-delimited, zigzag integers), map fields with optional .proto schemas, and inspect formatted JSON.
The Protocol Buffers Schema & Binary Message Decoder is a fast, accurate Developer Tools utility designed to decode raw google protocol buffers binary wire format (varints, fixed32/64, length-delimited, zigzag integers), map fields with optional .proto schemas, and inspect formatted json. entirely in your browser with zero server data storage.
Protocol Buffers Schema & Binary Message Decoder
Decode raw Google Protocol Buffers binary wire format (varints, fixed32/64, length-delimited), map fields with optional .proto schemas, and inspect formatted JSON.
Optional .proto Schema
Decoded Message Output
{
"id": 150,
"name": "John Doe",
"email": "contact@toolbox"
}Raw Wire Type Breakdown (3 fields found)
| Field # | Wire Type | Value |
|---|---|---|
| #1 | Varint (0) | 150 |
| #2 | Length-delimited (2) | John Doe |
| #3 | Length-delimited (2) | contact@toolbox |
Google Protocol Buffers Binary Wire Format Specification
Protocol Buffers (Protobuf) is Google's language-neutral, platform-neutral binary serialization format designed for high-throughput RPC systems (gRPC) and microservice communication.
Wire Types Architecture
- Wire Type 0 (Varint): Variable-length encoding for
int32,int64,uint32,bool, andenum. - Wire Type 1 (Fixed64): 8-byte fixed-size stream for
fixed64,sfixed64, anddouble. - Wire Type 2 (Length-delimited): Length prefix varint followed by bytes for
string,bytes, embedded messages, and packed repeated fields. - Wire Type 5 (Fixed32): 4-byte fixed-size stream for
fixed32,sfixed32, andfloat.
Share This Tool
Help your team and fellow developers save time with free, private client-side utilities.
Systems & Security Engineers • Applied Cryptography & High-Performance Web Tools
How to Use Protocol Buffers Schema & Binary Message Decoder
Provide Binary Data
Paste a Base64 string, enter Hex byte values, or drag and drop a .pb / .bin compiled binary file.
Optional: Add .proto Schema
Paste your proto2 or proto3 message definition to automatically map numeric field tags to named keys.
Inspect Wire Breakdown
Review the raw wire types (Varint, Fixed64, Length-delimited string/message, Fixed32) in the breakdown table.
Export Formatted JSON
Copy the decoded JSON object tree with 1-click clipboard copy.
Practical Examples & Conversions
Base64: CJYBEghKb2huIERvZRoPY29udGFjdEB0b29sYm94
{ "id": 150, "name": "John Doe", "email": "contact@toolbox" }Frequently Asked Questions (PAA)
Related Tools & Converters
World Clock Grid
Live real-time clocks for major global financial hubs and cities worldwide.
Time Zone Converter
Convert and compare times across global time zones with drag-and-drop timeline sliders.
International Meeting Planner
Find optimal overlapping working hours across distributed global remote teams.
Interactive World Calendar
National holidays, observances, and moon phases for 100+ countries.
Authoritative Standards & Citations
Calculations and algorithms on this page are implemented and verified in strict accordance with the following official technical specifications:
RFC 7519: JSON Web Token (JWT)
Standardized compact, URL-safe means of representing claims to be transferred between two parties.
Web Cryptography API Specification
Standard JavaScript API for performing basic cryptographic operations in web applications.
RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace
Definition of uniform format and generation algorithms for UUIDs.