Decode Apache Avro binary with a pasted JSON schema (records, strings, ints/longs, arrays, maps, unions, null, boolean, bytes, float, double).
Privacy: Decoding runs entirely in this tab. Your bytes and optional schema text are not uploaded to Codeground servers.
Binary payload
Avro JSON schema (required)
Paste an Avro schema as JSON. Without it, binary Avro cannot be decoded.
Decoded output
{
"value": {
"id": 42,
"name": "Ada"
}
}Kafka and data lakes often ship Avro bytes without field names on the wire. Paste your writer schema as JSON and the matching binary payload to recover typed values. Single-object encoding (magic C3 01 + fingerprint) is detected automatically.
Paste Base64, hex, or PEM (for ASN.1). Auto-detect treats even-length hex strings as hex; otherwise Base64 is assumed. Whitespace is stripped automatically.
Do you upload my binary payloads? No. Decoding runs entirely in your browser. Bytes and optional schemas never leave this tab.
Is a schema required? Yes for meaningful decode. Without a schema Avro binary cannot be interpreted — paste a JSON Avro schema first.
Which Avro types work? null, boolean, int, long, float, double, bytes, string, record, enum, array, map, union, and fixed.
What about Confluent wire format? Confluent magic+schema-id framing is not stripped automatically; paste the Avro payload after the 5-byte header, or use raw Avro / single-object encoding.
Related: Protobuf decoder · MessagePack · CBOR · Base64 decode · JSON formatter