Skip to main content
Toolbox
Developer Tools

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.

Quick Answer & Summary

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.

Presets:

Optional .proto Schema

Decoded Message Output

{
  "id": 150,
  "name": "John Doe",
  "email": "contact@toolbox"
}

Raw Wire Type Breakdown (3 fields found)

Field #Wire TypeValue
#1Varint (0)150
#2Length-delimited (2)John Doe
#3Length-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, and enum.
  • Wire Type 1 (Fixed64): 8-byte fixed-size stream for fixed64, sfixed64, and double.
  • 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, and float.

Share This Tool

Help your team and fellow developers save time with free, private client-side utilities.

TB
Toolbox Editorial TeamVerified Authors

Systems & Security Engineers • Applied Cryptography & High-Performance Web Tools

Updated:
100% In-BrowserZero server storage
Standards AuditedRFC & ISO compliant
Peer ReviewedEditorial Policy
Documentation & Guide

How to Use Protocol Buffers Schema & Binary Message Decoder

1

Provide Binary Data

Paste a Base64 string, enter Hex byte values, or drag and drop a .pb / .bin compiled binary file.

2

Optional: Add .proto Schema

Paste your proto2 or proto3 message definition to automatically map numeric field tags to named keys.

3

Inspect Wire Breakdown

Review the raw wire types (Varint, Fixed64, Length-delimited string/message, Fixed32) in the breakdown table.

4

Export Formatted JSON

Copy the decoded JSON object tree with 1-click clipboard copy.

Practical Examples & Conversions

Input
Base64: CJYBEghKb2huIERvZRoPY29udGFjdEB0b29sYm94
Output
{ "id": 150, "name": "John Doe", "email": "contact@toolbox" }

Frequently Asked Questions (PAA)

Related Tools & Converters

Authoritative Standards & Citations

Calculations and algorithms on this page are implemented and verified in strict accordance with the following official technical specifications: