Paste broken JSON and get valid JSON back. Fixes trailing commas, single quotes, unquoted keys, and comments, then re-formats. Runs in your browser.
Trailing commas, single-quoted strings and keys, unquoted object keys, and // or /* */ comments — then it re-parses and pretty-prints.
If the input is too malformed to parse after the fixes, it reports the remaining error so you can fix it by hand.