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{
"$map": [
"name",
"Alice",
"active",
true
]
}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.