jarvisbox

Decode Protobuf from Hex Bytes

Paste hex-encoded Protocol Buffer bytes — with or without spaces — to inspect field numbers, wire types, varint values, and nested messages directly in your browser.

Hex dumps are the natural output format of network packet captures (Wireshark), binary file inspectors, and low-level debugging tools. When you capture a raw TCP stream carrying gRPC or protobuf traffic, the bytes often appear as space-separated hex pairs like 0a 05 68 65 6c 6c 6f.

The Protobuf Decoder accepts hex with or without spaces, with or without 0x prefixes, and uppercase or lowercase. Input like 082a120568656c6c6f, 08 2a 12 05 68 65 6c 6c 6f, or 0x08 0x2a 0x12 are all supported.

How to decode hex protobuf bytes

  1. Copy the hex bytes from Wireshark, a hex editor, xxd, or any other tool. Spaces and newlines are stripped automatically.
  2. Open the Protobuf Decoder, paste the hex string into the input, and select Hex as the format (or leave it on Auto-detect, which identifies hex strings automatically).
  3. Click Decode. Each field's number, wire type (varint, fixed32, fixed64, bytes), and value are shown. Click Copy as JSON to export the result.

Related decode variants

回報這個工具的問題