Structured Data
CBOR Encoder
Transform structured data with CBOR Encode and review the valid output. Enter the data, choose the formatting options, then validate and copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
CBOR Encoder converts supported structured values into compact binary CBOR data.
CBOR bytes representing the map. Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Provide values supported by the encoder.
- Verify the result with a CBOR decoder.
- Keep byte-string and tag requirements for the receiver.
Example
Input: {"enabled":true}
Settings: CBOR Encoder: Run the default CBOR encode operation.
Result: CBOR bytes representing the map.
Limits
- CBOR Encoder: Binary output needs a compatible transport or display encoding.
- CBOR Encoder: Encoder choices can affect canonical or non-canonical CBOR bytes.
- CBOR Encoder: Processing stays in the browser.