Avro to code

Input
Output

Avro Schema to TypeScript

Kafka topics and data lakes describe their records in Avro. Paste an .avsc file to get the matching types for your code.

How do I use the Avro to code?

  1. Paste or drop an .avsc file.
  2. Pick the language.
  3. Copy or save the code.

What does the Avro to code do?

  • Records, nested records and named types by name or full name
  • Unions with null as nullable
  • Arrays, maps, enums and fixed
  • Logical types: decimal as a number, dates and times as their base type
  • Several schemas in one file
  • A record that refers to itself

Frequently asked questions

Is my data uploaded?
No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.

More JSON tools

Bracely has more than 65 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut. About · Privacy policy
Last updated · Version 4.9 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram