Why it matters
tsconfig.json, VS Code settings and many configs allow comments and trailing commas, but JSON.parse, jq and APIs don't.
Convert once and the file works everywhere.
How to use it
- Type or paste your input; the example shows the format.
- Press Convert. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
What happens to NaN and Infinity?
Strict JSON can't hold them, so they become null and you get a note.
Is it a full JSON5 parser?
It covers the features used in real configs; exotic escapes may need a check.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.