Strip comments and trailing commas from JSONC, then validate and reformat as clean JSON. JSONC to JSON is a free online tool from the ToolsRift Code Formatters collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
JSONC is JSON with comments, used by config files like tsconfig.json and VS Code settings. Standard JSON parsers reject its comments and trailing commas.
Yes. Comment markers and commas inside string values are ignored, so URLs like http://example.com and comment-like text inside strings are preserved.
Yes. After stripping comments and trailing commas the tool parses the JSON, so invalid input produces a clear error instead of broken output.