Avro to TypeScript
Convert Avro records, unions, arrays, maps, and enums into types.
Processing stays in your browser. long maps to bigint and bytes/fixed to Uint8Array. Logical types retain their underlying representation; match your runtime Avro decoder.
How to use the avro to typescript
Convert Avro records, unions, arrays, maps, and enums into types. Complete the avro schema fields above, or upload a UTF-8 text file for avro schema. Choose Run tool, review the output, then copy or download the result.
Example
An Avro int field becomes a TypeScript number.
Good to know
long maps to bigint and bytes/fixed to Uint8Array. Logical types retain their underlying representation; match your runtime Avro decoder.