Loading tool…
Paste a CBOR (Concise Binary Object Representation) payload as hex to decode it into readable JSON. CBOR is the compact binary cousin of JSON used widely in IoT.
Loading tool…
$bytes wrapper.Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
CBOR (RFC 8949) is a binary data format that models the JSON data set but is far more compact and faster to parse. It's the payload format behind COSE, CWT and many CoAP/IoT applications.
Each CBOR item starts with an initial byte encoding a major type (integer, string, array, map, etc.) and a length or value. This tool walks the bytes and reconstructs the equivalent JSON structure, showing byte strings as hex.
Decoding CBOR is essential when debugging constrained-device messages, inspecting CWT tokens, or reading the payload of a CoAP response that uses application/cbor.
0x prefixes are ignored.{"$bytes":"..."} containing the hex, since raw bytes have no direct JSON equivalent.