Schema Conversion Made Simple
Convert between data schema formats and generate code for any language. Your universal translator for JSON Schema, Avro, Protobuf, XSD, SQL, and more.
Two Tools, One Mission
Whether you're working with Avro or JSON Structure, we've got you covered
Convert schemas to and from Apache Avro Schema format. Perfect for data pipelines, event streaming, and systems that use Avro as their schema model.
Work with JSON Structure schema format. Generate code, convert to databases, and transform schemas while preserving validation and documentation.
Features
Everything you need to work with data schemas
Schema Conversion
Convert between JSON Schema, Avro, Protobuf, XSD, ASN.1, and more. Preserve semantics across formats.
Code Generation
Generate type-safe code in Python, C#, Java, TypeScript, JavaScript, Go, Rust, and C++.
Database Schemas
Export to MySQL, PostgreSQL, SQL Server, MongoDB, Cassandra, DynamoDB, and more.
Data Formats
Convert to Parquet, Iceberg, Kusto, GraphQL, and other modern data formats.
Documentation
Generate Markdown documentation from your schemas with full type hierarchy.
VS Code Extension
Integrate directly into your editor with our Visual Studio Code extension.
Quick Start
Get up and running in seconds
Installation
# Install from PyPI
pip install avrotize
# Or install as structurize
pip install structurize
Example: JSON Schema to Python
# Convert JSON Schema to Avro Schema
avrotize j2a schema.json --out schema.avsc
# Generate Python code from Avro Schema
avrotize a2py schema.avsc --out ./python_classes
Example: JSON Structure to C#
# Convert JSON Schema to JSON Structure
avrotize j2s schema.json --out schema.struct.json
# Generate C# code from JSON Structure
avrotize s2cs schema.struct.json --out ./csharp_classes
See It In Action
Browse our gallery to see real conversion examples