JSON Formatter

Beautify, minify, validate, and sort JSON in your browser.

Mode

Indent

Sort Keys

Input JSON

Waiting for JSON · 1 line · 0 characters

Result JSON

Waiting for JSON · 1 line · 0 characters
Help
  • Beautify formats JSON with indentation and line breaks for easier reading.
  • Minify removes unnecessary whitespace and line breaks to reduce size.
  • Key sorting recursively sorts object keys alphabetically and applies only in Beautify mode.
  • Input is processed only in your browser and is not sent to a server.
All tools run in your browser. Files are not uploaded to the server.