JSON Formatter

Beautify and pretty-print your JSON with customizable indentation and key sorting.

Input

Output

Frequently Asked Questions

What does JSON formatting do?
JSON formatting (also called pretty-printing or beautifying) adds proper indentation and line breaks to make JSON readable. It does not change the data.
Can I sort JSON keys alphabetically?
Yes, check the 'Sort keys' option to alphabetically sort all object keys in your JSON.
What indentation options are available?
You can choose between 2 spaces and 4 spaces indentation.
Is my data safe?
Yes, all processing happens in your browser. No data is sent to any server.