JSON to CBOR Converter
Two-way encode / decode · Hex & Base64 · every major type · runs locally
No upload, no storage
JSON is processed in memory and never sent to a server.
Share via URL fragment
Share links encode data in the # anchor — never sent to a server.
Remember last edit
Optionally keep your last input locally; clear it with one click.
Why use this JSON to CBOR converter
Read binary payloads
WebAuthn credentials, COSE keys and IoT telemetry ship as CBOR — paste the Hex or Base64 and get readable JSON instantly.
Two-way conversion
Encode JSON to CBOR to check sizes and verify encodings; decode CBOR back to JSON to inspect fields — one page, both directions.
Every major type
Byte strings, tags, half/single/double floats, indefinite-length items and big integers are all handled, each conversion counted and reported.
Precise error positions
Truncated data, trailing bytes and illegal encodings all report an exact byte offset — not a vague parse error.
Local & private
Credentials and device data are sensitive — everything is encoded and decoded on your machine, nothing uploaded.