Skip to content
5️⃣

JSON5 Converter

Convert JSON5 (with comments, trailing commas, single quotes, unquoted keys) into standard JSON. Free, runs 100% in your browser.

 

What is JSON5?

JSON5 is a superset of JSON that adds human-friendly features: comments (// and /* */), trailing commas, single-quoted strings, unquoted object keys, multi-line strings, hexadecimal numbers, and signed/leading-decimal numbers. It is widely used for config files (.babelrc, tsconfig.json, package.json5) but is not parseable by standard JSON parsers. This tool converts JSON5 → standard JSON so other tools can consume it.

Common uses

  • Config to runtime — convert hand-written JSON5 configs to JSON for deployment.
  • Build pipelines — strip comments and trailing commas before shipping.
  • Migration — switch from a JSON5-using tool to one that requires strict JSON.

Privacy

All conversion runs 100% in your browser. No data is sent to any server.