JSON formatter and validator
Format, validate and minify JSON, see the exact line and column of any error, and explore it as a collapsible tree.
Questions
Will it change my numbers?
No. Numbers and strings are kept exactly as you wrote them, so large IDs like 12345678901234567890 are not rounded the way JSON.parse would round them.
Does it accept comments or trailing commas?
No. It checks strict JSON as defined in RFC 8259, and tells you where a comment, trailing comma or single quote breaks it so you can fix it.
Is my JSON sent anywhere?
No. Parsing and formatting happen in your browser. Large files are processed in a background worker so the page stays responsive.