JSON to Avro Schema Generator
Generate Apache Avro schemas from JSON data automatically. Perfect for Kafka producers, data pipelines, and Schema Registry configuration.
Features
📡 Avro Type Inference
- string, int, long, double, boolean
- Nested object → inline record
- Array type inference
- Null → nullable union types
⚡ Kafka Ready
- Compatible with Schema Registry
- Namespace support
- Valid Avro JSON format
- Download as .avsc file
🎯 Flexible Options
- Custom record name
- Custom namespace
- Optional nullable unions
- Optional doc comments
Avro Schema Guide
Avro Schema Structure
Apache Avro schemas are defined in JSON. A record schema has a type, name, namespace, and a list of fields with names and types.
{
"type": "record",
"name": "User",
"namespace": "com.example",
"fields": [
{"name": "id", "type": "long"},
{"name": "email", "type": ["null", "string"]}
]
}