Avro Formatter
Paste minified Avro schema JSON and reformat it into readable .avsc output.
Last updated: May 29, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Avro Formatter?
Avro Formatter is a focused formatter for Apache Avro schema files. Avro schemas are JSON documents, but they often become difficult to review when record fields, logical types, unions, and defaults are compressed into one line. This tool parses the schema as JSON, prints it with consistent indentation, and reports helpful schema details such as type, name, and field count.
How to Use Avro Formatter
Paste an Avro schema JSON document.
Choose the indentation style.
Click Format.
Review any JSON parse error with line and column details.
Copy or download the formatted .avsc file.
Common Use Cases
- Reviewing Avro schemas before committing them to a schema registry.
- Cleaning up minified .avsc files from build output.
- Preparing readable Avro examples for API documentation.
- Checking whether pasted schema JSON is valid before sharing it.
Example Input and Output
A compact Avro record schema is expanded into readable JSON.
{"type":"record","name":"User","fields":[{"name":"id","type":"string"}]}{
"type": "record",
"name": "User",
"fields": [
{
"name": "id",
"type": "string"
}
]
}Privacy
Avro schemas are parsed and formatted in the browser, which keeps internal event names and field lists local.

