What are the first five bytes of a gRPC message?
The first byte is the per-message compressed flag and the next four bytes are the unsigned big-endian payload length. The declared number of message bytes follows immediately.
Decode standard gRPC, gRPC-Web binary, and gRPC-Web text streams. Inspect frame headers, message lengths, compression flags, trailers, status, and embedded Protobuf payloads.
Frames, supported compression, trailers, and possible Protobuf payloads are decoded in a browser worker. No endpoint is contacted and no request is replayed.
The compression algorithm is carried in the grpc-encoding HTTP header, not in the frame. Select gzip or deflate only when the captured header declares it.
Frame boundaries, compressed flags, message lengths, trailers, gRPC status, and possible Protobuf fields will appear here.
DecodeLens maps every frame header and payload to exact source offsets, treats grpc-encoding as external metadata, parses gRPC-Web trailers, and hands complete data payloads to the Protobuf wire decoder without contacting the service.
Continue with tools that decode, convert, inspect, or verify the same data.
Decode Protobuf wire data from binary files, hex, Base64, or Base64URL; inspect field numbers, wire types, offsets, nested messages, and packed-value candidates.
Open toolDecode Base64 text or files, or encode UTF-8 text and raw file bytes locally.
Open toolCompress text or files and safely decompress GZIP or Base64-encoded GZIP data locally.
Open toolAnalyze HAR requests, failures, timing, transfer sizes, bodies, and sensitive fields; export a separate redacted copy.
Open toolPaste the Base64 response body, select the grpc-encoding header value if the compressed bit is set, then inspect each data frame, decoded Protobuf fields, and the final grpc-status trailer.
AAAAAB4IlgESCkRlY29kZUxlbnM…Data frame · 30 bytes · possible Protobuf
Trailer frame · grpc-status 0 · OKThe first byte is the per-message compressed flag and the next four bytes are the unsigned big-endian payload length. The declared number of message bytes follows immediately.
gRPC-Web sets the most significant marker bit and places an HTTP/1-style header block in the payload. grpc-status and grpc-message are normally included in the final trailer frame.
The frame contains only a compressed bit. The actual algorithm is declared separately in the HTTP grpc-encoding header, so guessing it from payload bytes could produce misleading results.