JSON validator and formatter

Validate, lint and format JSON online with precise line-level error reporting.

Features

  • Validate JSON syntax with precise line-level error locations
  • Auto-repair common JSON syntax mistakes
  • Beautify and format JSON with 2-space indentation
  • Minify JSON to a single line
  • Compare two JSON documents side by side, with additions, removals and changed values highlighted
  • Upload a JSON file or paste JSON directly, then copy or download the result

Validation, formatting and comparison run entirely in your browser — nothing you paste is sent to a server.