JSON Formatter

Beautify or minify your JSON data with instant validation.

How to Use

  1. Paste your JSON data into the text area above.
  2. Click "Format" to beautify with 4-space indentation, or "Minify" to compress into one line.
  3. Invalid JSON will show a red error message with the line number.