Input format
Avro converters
Common in Kafka pipelines: an Avro schema describes the topic; downstream consumers in Python or TypeScript need a typed representation. These tools take you there.
All Avro converters
15 conversions, all live.
Avro → TypeScript
Live
Avro → Zod
Live
Avro → Yup
Live
Avro → Joi
Live
Avro → Pydantic
Live
Avro → Python dataclass
Live
Avro → Go struct
Live
Avro → Rust struct
Live
Avro → Kotlin data class
Live
Avro → Swift struct
Live
Avro → Dart class
Live
Avro → Java POJO
Live
Avro → C# record
Live
Avro → PHP class
Live
Avro → Ruby class
Live
Sample Avro
Here's the default sample used across the converter pages. Each tool page has additional real-world samples (User profile, e-commerce order, etc.) you can switch to.
{
"type": "record",
"name": "User",
"fields": [
{ "name": "id", "type": "int" },
{ "name": "name", "type": "string" },
{ "name": "email", "type": ["null", "string"], "default": null }
]
}