CBOR MessagePack Converter
Convert data between JSON, CBOR, and MessagePack binary formats with hex preview. All encoding runs in your browser.
Convert JSON, CBOR, and MessagePack
CBOR (Concise Binary Object Representation) and MessagePack are compact binary serializations often used in APIs, IoT payloads, and caching layers. This converter lets you move data between JSON, CBOR hex, and MessagePack hex without installing libraries locally. Pair it with JSON to YAML Converter when you need human-readable config formats.
Paste JSON to inspect the binary encoding size, or paste hex bytes to recover structured JSON. All encoding and decoding runs in your browser using standard CBOR and MessagePack libraries.
Typical Use Cases
- Debug binary API responses by converting MessagePack or CBOR to JSON.
- Compare payload sizes before choosing a wire format.
- Translate test fixtures between JSON and binary hex dumps.
Frequently Asked Questions
Are CBOR and MessagePack the same?
No. Both represent JSON-like data compactly, but byte layouts differ. Always use the matching decoder for each format.
Why is output shown as hex?
Binary bytes are not safe to paste as plain text. Hex makes every byte visible and easy to copy into logs or test files.
Does this support arbitrary binary blobs?
The tool focuses on structured data (objects, arrays, strings, numbers, booleans, and null). Opaque binary fields decode when the format embeds them.
Is data sent to a server?
No. Conversion happens entirely in your browser.