Avrotize
Your gateway to Apache Avro. Convert schemas from JSON Schema, Protobuf, XSD, and more to Avro format, then generate code for any language.
Convert TO Avro Schema
Transform any schema format into Apache Avro
JSON Schema → Avro
Convert complex JSON Schema documents including allOf, oneOf, anyOf compositions.
avrotize j2a schema.json --out schema.avsc
Protobuf → Avro
Transform Protocol Buffer definitions (proto2 and proto3) to Avro Schema.
avrotize p2a messages.proto --out schema.avsc
XSD → Avro
Convert XML Schema definitions to Avro, handling complex types and namespaces.
avrotize x2a schema.xsd --out schema.avsc
ASN.1 → Avro
Parse ASN.1 schemas and convert to Avro format for modern data processing.
avrotize asn2a schema.asn --out schema.avsc
Parquet → Avro
Extract schema from Parquet files and convert to Avro Schema.
avrotize pq2a data.parquet --out schema.avsc
CSV → Avro
Infer schema from CSV files and generate corresponding Avro Schema.
avrotize csv2a data.csv --out schema.avsc
Convert FROM Avro Schema
Export Avro schemas to other formats
Avro → JSON Schema
Generate JSON Schema from Avro for validation and documentation.
avrotize a2j schema.avsc --out schema.json
Avro → Protobuf
Convert Avro Schema to Protocol Buffer definitions.
avrotize a2p schema.avsc --out ./proto
Avro → XSD
Generate XML Schema from Avro for XML-based systems.
avrotize a2x schema.avsc --out schema.xsd
Avro → SQL
Generate SQL table definitions for multiple database engines.
avrotize a2sql schema.avsc --dialect postgresql
Avro → Parquet/Iceberg
Create Parquet or Iceberg schemas from Avro definitions.
avrotize a2pq schema.avsc --out schema.parquet
Avro → Markdown
Generate documentation from your Avro schemas.
avrotize a2md schema.avsc --out docs/
Generate Code
Create type-safe code from Avro Schema
Python
Generate dataclasses with type hints and serialization support.
avrotize a2py schema.avsc --out ./python
C#
Generate C# classes with System.Text.Json or Newtonsoft.Json annotations.
avrotize a2cs schema.avsc --out ./csharp
Java
Generate Java POJOs with Jackson annotations.
avrotize a2java schema.avsc --out ./java
TypeScript
Generate TypeScript interfaces and classes.
avrotize a2ts schema.avsc --out ./typescript
Go
Generate Go structs with JSON tags.
avrotize a2go schema.avsc --out ./go
Rust
Generate Rust structs with serde derives.
avrotize a2rust schema.avsc --out ./rust
Database Exports
Generate database schemas from Avro