CBOR Converter
What is a CBOR Converter?
Decode Concise Binary Object Representation (CBOR) binary hex payload strings into structured JSON, and encode JSON objects back into CBOR hex byte representations per RFC 8949 specifications.
Why Use This Tool?
- IoT & Hardware Embedded Systems: Debug low-overhead CBOR binary telemetry data from Internet of Things (IoT) sensors.
- WebAuthn & Passkeys Security: Decode CBOR-encoded WebAuthn FIDO2 attestation payloads.
- COSE / Security Signatures: Inspect CBOR Object Signing and Encryption (COSE) structures.
How to Use
- Paste CBOR Hex string (e.g. `a1647370616d6465676773`).
- Click Decode to view formatted JSON tree structure.
- Modify JSON and click Encode to convert back to CBOR Hex.
Real Working Example
Input:
CBOR Hex: a1647370616d6465676773
Output Result:
JSON Result:
{
"spam": "eggs"
}
Important Technical Details & Specifications
- RFC 8949 Standard Compliance: Implements complete CBOR data model (integers, byte strings, text strings, arrays, maps, tagged items, floats).
- Hex & Base64 Byte Conversion: Supports input as Hexadecimal byte strings or Base64.
- Local Memory Security: Sensitive WebAuthn keys and CBOR data stay 100% private in browser memory.
Related Data & Format Tools
- MessagePack Converter: Convert MessagePack hex to JSON.
- Protobuf Decoder: Decode raw Protobuf wire hex.
- Bencode Converter: Convert Bencode data to JSON.
Frequently Asked Questions
What is CBOR (Concise Binary Object Representation)?
CBOR (RFC 8949) is a binary data serialization format designed for small code size and compact message size in IoT and security protocols.
Where is CBOR commonly used?
CBOR is widely used in WebAuthn/Passkeys authentication, COSE security signatures, and IoT constrained node networks.
What is the difference between CBOR and JSON?
CBOR is binary encoded (smaller byte footprint, faster parsing, supports raw byte strings); JSON is text-based.
Is it free?
Yes, 100% free.
Are my CBOR binary payload hex strings saved on a server?
No, all decoding and encoding happens 100% locally in your web browser.
Does it support tagged data types in CBOR?
Yes, standard CBOR tags (date-time, epoch timestamps, bignums) are supported.