HomeAll toolsRedis RESP2 / RESP3 Decoder

Redis RESP2 / RESP3 Decoder

Decode RESP2 and RESP3 streams, attributes, pushes and binary values in your browser with exact byte highlighting and typed JSON export.

Data is processed only in your browser
RESP2 / RESP3 is decoded locally; inputs and files are never uploaded. Protocol version is connection state, so Auto validates both grammars and marks shared syntax as ambiguous. This tool never connects to Redis, pairs commands with replies or reconstructs Pub/Sub sessions. Only “Share link” copies a link containing the original input; share only non-sensitive data.
176 B · 7 items · RESP3 · complete
Encoded bytes
Protocol verdictRESP3 · 176/176 B
CompleteThe selected protocol grammar fully consumed the input.
RESP3complete · 176 B · 7 items0 errorsRESP2partial · 0 B · 1 items1 errors
Item overview
Item #1 typed JSONmap · [0, 35)
{
  "$map": [
    "name",
    "Alice",
    "active",
    true
  ]
}
Decoded tree · byte ranges
map2 entries
simple stringname
blobAlice 416c696365
simple stringactive
booleantrue
push2 items
simple stringmessage
array2 items
simple stringchannel
simple stringnews
double1.25
big number3492890328409238509324850943850943825024385
verbatim txtSome string 536f6d6520737472696e67
blob errorSYNTAX invalid syntax 53594e54415820696e76616c69642073796e7461…
nullnull
Original file bytes · linked both ways
000025320d0a2b6e616d650d0a24350d0a41%2··+name··$5··A
00106c6963650d0a2b6163746976650d0a23lice··+active··#
0020740d0a3e320d0a2b6d6573736167650dt··>2··+message·
00300a2a320d0a2b6368616e6e656c0d0a2b·*2··+channel··+
00406e6577730d0a2c312e32350d0a283334news··,1.25··(34
0050393238393033323834303932333835309289032840923850
0060393332343835303934333835303934339324850943850943
00703832353032343338350d0a3d31350d0a825024385··=15··
00807478743a536f6d6520737472696e670dtxt:Some string·
00900a2132310d0a53594e54415820696e76·!21··SYNTAX inv
00a0616c69642073796e7461780d0a5f0d0aalid syntax··_··

How to use

Redis RESP2 / RESP3 Decoder turns raw Redis Serialization Protocol bytes into an inspectable value tree. It handles RESP2 arrays, bulk strings, integers, simple strings and errors, plus RESP3 maps, sets, pushes, attributes, big numbers, blob errors and streamed containers. Consecutive top-level values are listed separately; every node keeps its exact byte range and links to the hex view in both directions.

How to use: paste hex or Base64, or upload a file up to 2 MB, then choose Auto, RESP2 or RESP3. Auto tries both grammars, but protocol version is fundamentally connection state: shared syntax is reported as ambiguous rather than magically identified. Binary values use Base64 wrappers, large integers never pass through JavaScript Number, and NaN and Infinity remain explicit. Copy or download typed JSON, or download the original bytes of one value.

Boundaries and privacy: the tool never connects to Redis, sends commands, pairs requests with replies or reconstructs Pub/Sub subscription roles. Input must contain protocol bytes with TLS, WebSocket, PCAP and other transport framing removed. Everything runs in your browser. Share links contain the original content (up to 6,000 bytes), so share only non-sensitive data.

Frequently asked questions

Which RESP2 and RESP3 types are supported?

RESP2 covers simple strings, errors, integers, bulk strings, nulls and arrays. RESP3 adds null, booleans, doubles, big numbers, blob errors, verbatim strings, maps, sets, attributes, pushes, and streamed strings, arrays, sets and maps. Consecutive top-level values are decoded as a stream.

Can Auto tell which protocol the connection uses?

Not always. RESP version is connection state, and many bytes mean the same thing in RESP2 and RESP3. Auto tries both grammars and reports ambiguity; only RESP3-specific types can prove the version from structure. Pin RESP2 or RESP3 when you know it.

Why are big integers and binary values not plain numbers or text?

To avoid precision loss, integers outside JavaScript’s safe range stay decimal strings and binary stays in a Base64 wrapper. NaN, Infinity, maps and attributes also keep explicit types. The typed JSON is an inspection report, not a Redis command executor.

Does it connect to Redis or reconstruct Pub/Sub roles?

No. It only parses pasted bytes: no server connection, commands, request/reply pairing or subscription-role reconstruction. Pushes are displayed as RESP3 values. Remove PCAP, TLS and transport framing before pasting.

Are inputs and share links safe?

Parsing runs entirely in this browser and input is never added to the address bar automatically. Only “Share link” copies a link containing the original content (up to 6,000 bytes), so share only non-sensitive data.

See all questions

Go deeper

Related tools