JSONC to JSON Converter
Strip JSON with Comments (JSONC) into strict JSON by removing comments and trailing commas in the browser.
Convert JSONC to strict JSON
VS Code settings, tsconfig files, and many API gateways accept JSON with Comments (JSONC): line comments, block comments, and trailing commas. Runtime parsers expect strict JSON. This converter strips comments and emits valid JSON you can paste into requests or store in databases.
After conversion, validate structure with the JSON Formatter or minify with the JSON Minifier.
Frequently Asked Questions
Are trailing commas removed automatically?
Yes. The parser accepts trailing commas in objects and arrays, then outputs strict JSON without them.
Does my file leave this page?
No. Parsing happens locally in your browser; nothing is uploaded to our servers.