JSON Formatter
Indent, minify and check JSON, with the line and column of whatever stopped it.
Result
Good to know
- When the browser reports an offset, it is turned into a line and column so the message points at your text. Some failures come back with a snippet instead of an offset — those are passed through as the browser worded them, with the offending token quoted.
- Sorting keys is useful before comparing two documents by eye, and harmless otherwise: JSON objects are unordered by definition, so nothing about the meaning changes.
- Minifying and indenting are the same operation with a different setting, so you can go back and forth without the text degrading.
- Everything happens in your browser. Nothing you paste is sent to the server or stored anywhere.
29 views