Can I choose the indentation?
Yes. Formatted output can use two, four, or eight spaces, or tabs.
Format, minify, validate, search, and inspect JSON with duplicate-key and parse-error details.
Workspace
Explore valid JSON
Use RFC 6901 paths such as /users/0/name. An empty pointer selects the root.
Yes. Formatted output can use two, four, or eight spaces, or tabs.
Yes. Enable recursive key sorting to alphabetize keys at every object level without reordering arrays.
The formatter warns you and shows where each repeated key first appeared. Many JSON parsers keep only the final value, so duplicate keys should be reviewed before using the output.
A JSON Pointer identifies one value by its path. For example, /users/0/name selects the name property of the first item in a users array. Leave it empty to select the root value.
The editor accepts up to 2 MB so formatting, validation, searching, and inspection remain responsive in the browser.