JSON5 to JSON
Convert JSON5 to strict JSON β strips comments and trailing commas, quotes keys, converts single quotes.
Runs locally in your browser. Your input is not uploaded.
How to Use
- 1
Paste JSON5 or JSONC
For example a tsconfig.json with comments and trailing commas.
- 2
Get strict JSON
Comments are stripped and syntax normalized instantly.
- 3
Copy or download
Use the output anywhere a strict JSON parser is required.
Frequently Asked Questions
- Single-line (//) and block (/* */) comments are stripped, trailing commas removed, unquoted keys quoted, and single-quoted strings converted to double quotes β covering tsconfig.json-style files and most JSON5 configs.
Related Tools
JSON FormatterFormat, validate, and minify JSON with syntax highlightingJSON DiffCompare two JSON objects side-by-side and highlight differencesJSON to CSVExport JSON arrays to CSV with nested object flatteningCSV to JSONParse CSV files into structured JSON arraysJSON to XMLConvert JSON objects to XML with pretty-print outputXML to JSONParse XML and convert to clean JSONJSON to YAMLConvert between JSON and YAML formats bidirectionallyQuery String to JSONParse URL query parameters into JSON with nested support