PB

Protobuf Decoder & Schema Generator

Decode raw Protocol Buffer binary stream into JSON & infer valid .proto schemas offline.

Quick Tutorial / How to Use:

  1. Choose Input Mode: Select File Upload (default) to upload a binary .bin / .pb file, or choose Plain Base64 Text to paste a Base64-encoded string.
  2. Execute Decode: Click Decode Protobuf. The tool will parse wire types, field tags, varints, strings, and embedded sub-messages without needing the original schema.
  3. Inspect & Export: View the hierarchical JSON structure on the right top panel, and copy the auto-generated proto3 schema code below to re-compile using protoc.

Input Configuration 100% Client-side

Supports any raw protobuf binary file

Parsed Tags & Values