AV-D02
JSON Formatter
Format, validate or minify JSON with exact error positions, sorted keys and size stats.
● Runs on your device; nothing is uploadedHow to use it
- Paste JSON into JSON input, or click Open file.
- Choose Indent: 2 spaces, 4 spaces, Tabs or Minified.
- Tick Sort keys or Escape non-ASCII if needed.
- Check for Valid JSON, or the line and column of the first error.
- Copy the output, click Download, or use Replace input with output.
Limits
- Opened file size
- 20 MB
- Output preview
- first 300,000 characters (copy or download for all)
Features
- Lossless: big integers and number formatting kept exactly as written
- Duplicate keys kept and flagged in a warning
- Warns about numbers JavaScript cannot hold exactly
- Error context line with a caret under the failing column
- Stats: input/output size, depth, keys and counts of each value type
For AI agents: avtools_json_formatter
Loading the tool…