Skip to content

Protobuf to JSON

Convert Protobuf to JSON and download the result. Your input stays in your browser.

For the reverse conversion, use JSON to Protobuf.

Use it when
Decode a binary Protocol Buffers message into ProtoJSON.
Keep in mind
Provide the matching .proto definition and message type. External imports and streams of multiple messages are outside this converter.
Protobuf input
Example binary Protobuf Contacts message.
JSON output
{
  "contacts": [
    {"id": 42, "name": "Avery"},
    {"id": 51, "name": "Ellis"}
  ]
}

Protobuf file

Open or drop a .bin file (up to 5 MiB).

Input limit: 5 MiB

Your input stays in this browser. We don’t upload it. How we handle your data .

How to convert Protobuf to JSON

Open a local Protobuf file. Provide the schema shown in the workspace. Select Convert to JSON, then download the result.

Frequently asked questions

Which message type should I enter?

Use the type that the sender encoded. If the .proto file declares a package, include it before the message name. For the sample, use Contacts.

Why does a whole number appear in quotes in the JSON?

ProtoJSON writes 64-bit integers as decimal strings so readers can keep every digit. This is normal for fields such as int64 and uint64.