Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Avro Formatter and Basic Structure Checker

JSON formatting/minification Key sorting Basic Avro top-level diagnostics. validateAvroTop checks only basic Avro structures; retain formatter but label validation as partial or implement schema rules.

Scope of this tool: validateAvroTop checks only basic Avro structures; retain formatter but label validation as partial or implement schema rules.

Tip: Avro schemas can be a JSON object (record/enum/fixed), a union array, or a string type like "string".
Sorting changes key order (useful for diffs) but doesn’t change meaning.
Privacy: runs locally in your browser. No uploads, no tracking scripts.

How to use

Use this tool to clean up Avro schema JSON before committing, sharing, or debugging.

  1. Paste your schema into the input box (must be valid JSON).
  2. Choose indentation, key sorting, and whether to run basic Avro checks.
  3. Click Format (pretty) or Minify (compact).
  4. Copy the result from the output box.

FAQ

Does this tool validate Avro schemas fully?

No—validation is basic (top-level checks for common mistakes). Use it as a quick sanity check, not a full Avro compiler.

Can I format union schemas (arrays like ["null","string"])?

Yes. The formatter supports Avro unions because they’re valid JSON arrays.

What does “Sort keys (A→Z)” do?

It sorts object keys recursively to make diffs cleaner. Array order is preserved.

Will sorting keys change my schema meaning?

Key order in JSON objects doesn’t affect Avro meaning, but array order can—this tool does not reorder arrays.

Does it support comments in schemas?

No. JSON with comments (JSONC) isn’t valid JSON, so it must be removed before formatting.

Is my schema uploaded anywhere?

No. Formatting and validation run locally in your browser with no network calls.

Why does the tool add a trailing newline?

It’s optional and helps keep files consistent in editors and version control. You can turn it off.

Continue your workflow

Browse related tools by task. Use the improved core tools for a consistent workspace with file import, downloads and clear validation errors.