Skip to main content
>_devtools

CBOR Encoder / Decoder

Encode tagged JSON as CBOR or inspect local CBOR bytes with tags preserved.

What it does

Encode tagged JSON as CBOR or inspect a local CBOR payload from a file, hex, or Base64. Choose the operation and review the typed result.

Example

JSON number: 42
CBOR hex: 18 2a

Limits and behavior

  • Binary input and output are limited to 16 MiB; Worker jobs stop after 15 seconds.
  • Tagged JSON preserves byte strings, exact integers, dates, maps, and CBOR tags.
  • Unknown tags remain visible and shared-reference tags are rejected. Data stays in this browser.