Format, validate and minify JSON, with clear error positions.
This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.
No. Object key order carries no meaning in JSON. Array order is preserved exactly, because there it does matter.
The position comes from the JSON parser itself, converted to a 1-based line and column. It points at the first character the parser could not accept.
No. It uses the browser's JSON.parse, which implements strict JSON. Comments, trailing commas and single quotes are all rejected — and the error says where.
There is no fixed limit, but very large documents are held in memory twice (input and output), so a file above a few megabytes may feel slow.