soltechnology

Avro schema to C# class generator

Paste an Apache Avro schema or drop an .avro file and get C# classes for AvroConvert. Runs in your browser.

Loading AvroConvert 4.0.0-preview.2 (WebAssembly, about 3 MB, cached after the first visit)…

Converts as you type · Ctrl/⌘+Enter · drop an .avro file on the editor to use the schema from its header

C# model

Use the classes with AvroConvert.Deserialize<T>(bytes). Unions with null become nullable members.

Your data stays here

AvroConvert runs inside this page as WebAssembly. Schemas, files and messages are processed in your browser and never uploaded. Shared links keep their content after the #, which browsers do not send to servers.

The same code as the library

These tools call the AvroConvert 4.0.0-preview.2 NuGet package, so what you see here is what your .NET service will do.

dotnet add package AvroConvert
AvroConvert.GenerateModel(schemaJson);

Avro in production .NET

Free for individuals, open source and companies under 100 people and USD 1M revenue. Larger companies use a per-organisation licence with unlimited developers.