Options
Input
0 characters
Formatted
0 characters · 0 lines
In brief
The formatter turns nested data into a readable shape - or the other way round, into the most compact one possible. Along the way it also checks whether the input is valid at all.
| Beautify | Indents every level and adds line breaks - a long single line becomes a clear tree structure. |
| Minify | Removes all superfluous spaces and line breaks. Handy for making JSON/XML small for transmission or embedding. |
| Auto-detection | If the input starts with { or [ it is treated as JSON, and as XML if it starts with <. You can also pick the format explicitly. |
| Validation | If the input is malformed, a message appears - for JSON with the line and column of the problem. |
| All local | Processing happens entirely in your browser. Nothing is sent to a server - not even sensitive data from your documents. |