IV · JSON & Data
IV · JSON & DataAV-D02

AV-D02

JSON Formatter

Format, validate or minify JSON with exact error positions, sorted keys and size stats.

● Runs on your device; nothing is uploaded

How to use it

  1. Paste JSON into JSON input, or click Open file.
  2. Choose Indent: 2 spaces, 4 spaces, Tabs or Minified.
  3. Tick Sort keys or Escape non-ASCII if needed.
  4. Check for Valid JSON, or the line and column of the first error.
  5. 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

AV-D02 · JSON Formatter

Loading the tool…