Canonical: https://toolipedia.app/protobuf-wire-format-decoder

# Protobuf Wire Format Decoder

Paste protobuf bytes as hex or base64 and see every field number, wire type and value, with nested messages, text and packed lists guessed for you.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > Protobuf Wire Format Decoder

## About Protobuf Wire Format Decoder

Protocol Buffers messages are sent as a stream of fields, each starting with a tag that holds a field number and a wire type: varint, 64-bit, length-delimited or 32-bit. Without the .proto file you cannot know the real types, but you can still read the structure. Paste hex or base64 and every field is listed with its value, with length-delimited data shown as text, a nested message or a packed list, whichever fits. Example: 08 96 01 is field 1 with the varint 150, which is 75 as a zigzag number.

## How to use Protobuf Wire Format Decoder
1. Paste the protobuf bytes as hex or base64.
2. Keep the nested message guess on, or switch it off to see raw bytes.
3. Read the table of field numbers, wire types and values, and copy the parts you need.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- protobuf wire format decoder
- decode protobuf without proto file
- protobuf hex decoder
- raw protobuf viewer
- decode protobuf base64
- protoc decode raw online

## Frequently asked questions

### Why are the types in the decoder only a guess?

The wire format does not store types. A varint may be an int, a bool, an enum or a zigzag number, so the page shows the useful readings side by side and you pick the right one from your schema.

### How does it decide a field is text or a nested message?

Valid printable UTF-8 is shown as text. Otherwise the bytes are parsed as a message, and if they fit exactly it is shown as nested fields. Details tell you when both readings are possible.

### Can it decode gRPC messages?

Yes, if you remove the 5 byte gRPC frame header first: one flag byte and a 4 byte length. Paste the protobuf message that follows.

### Is Protobuf Wire Format Decoder free?

Yes. Protobuf Wire Format Decoder on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Protobuf Wire Format Decoder:
- [Base64 encoder / decoder](https://toolipedia.app/base64)
- [Hex Dump Viewer and Editor](https://toolipedia.app/hex-dump-viewer-and-editor)
- [Bit Field and Register Decoder](https://toolipedia.app/bitfield-register-decoder)
- [Data to Code Model Generator](https://toolipedia.app/data-to-code-model-generator)
- [MessagePack, CBOR and BSON Decoder](https://toolipedia.app/messagepack-cbor-bson-decoder)
