MessagePack Converter
Convert JSON to MessagePack bytes (hex or base64) and decode MessagePack back to JSON, with every type including binary, extensions and timestamps.
Free · No sign-up · Your inputs stay in your browser
Input
Encode and decode MessagePack
Output
MessagePack
54 bytes (JSON: 79)
MessagePack is binary JSON: the same data model in fewer bytes, used by Redis' Lua scripting, Fluentd, SignalR and many RPC systems. Integers and short strings pack into a single type byte. Binary and extension values have no JSON form, so decoding shows them as a placeholder with their size; the timestamp extension (-1) is decoded to a date.
Runs in this browser. Nothing you paste is sent to a server.
About this tool
Method, assumptions, practical next steps, and limits.
Binary JSON
MessagePack has the same data model as JSON in fewer bytes and is faster to parse. Redis scripting includes cmsgpack, Fluentd and Fluent Bit use it for records, SignalR offers it as a protocol, and many RPC systems and caches store values in it. The format is defined in the MessagePack specification.
Debugging payloads
When a cache holds MessagePack values or a websocket carries it, the bytes are unreadable in a log. Pasting them here as hex or base64 shows the structure.