JSONC to JSON Converter
Strip comments from JSONC (JSON with comments) to produce valid JSON. Used by VS Code and many config files. Runs in your browser.
Reference
What is JSONC?
JSONC (JSON with Comments) is the format used by VS Code's settings.json, tsconfig.json, and many other config files. It is JSON plus // single-line and /* */ block comments, with optional support for trailing commas. This tool strips the comments (preserving comment-like content inside string values) and emits valid JSON.
Common uses
- Config compatibility — feed JSONC configs to tools that only understand strict JSON.
- CI/CD — strip comments in build steps before deploying.
- Migration — convert hand-edited configs to deployable JSON.
Privacy
All conversion runs 100% in your browser. No data is sent to any server.