Format
Turns compact JSON into a readable, indented form (2/4 spaces or tab) and optionally sorts the keys.
Beautify, minify and validate JSON — with precise line-and-column error reporting. Everything runs in your browser.
Turns compact JSON into a readable, indented form (2/4 spaces or tab) and optionally sorts the keys.
Checks whether the JSON is well-formed and, on failure, shows the exact line and column of the problem.
Strips redundant whitespace and newlines for the smallest size — ideal for APIs and config files.
It beautifies raw or minified JSON into a readable, indented form, minifies it back to a single line, and validates whether it is well-formed. On an error it points to the exact line and column.
Formatting adds indentation and line breaks so JSON is easy for humans to read. Minifying strips all unnecessary whitespace and newlines to make the payload as small as possible — useful for APIs and config.
The tool uses the browser's built-in JSON parser. If the text is not valid JSON, an error message with the position (line and column) is shown so you can find the problem quickly.
No. All processing happens locally in your browser via JavaScript — nothing is sent to a server. It is safe for sensitive data.
Yes. Enable the "Sort keys" option and every object's keys are sorted alphabetically, recursively — handy for diffing two JSON files.
There is no imposed limit beyond your browser's memory. Very large files (tens of megabytes) may process more slowly since everything runs client-side.