Back

JSON5 parser

Formatters

Loading

Loading tool

Preparing the tool. The remaining time is not yet known.

All processing for this tool happens in your browser. Your input is not sent to a server.

About this tool

Convert JSON5-style comments, single quotes and trailing commas into strict JSON.

Common uses

  • Convert JSON5-style comments, single quotes and trailing commas into strict JSON.
  • Paste JSON5-style input, including unquoted keys or hexadecimal numbers if needed.

How to use it

  1. 1.Paste JSON5-style input, including unquoted keys or hexadecimal numbers if needed.
  2. 2.Choose indentation or compact output, convert, and copy the JSON.

Limits and notes

  • Comments disappear. Nonfinite numbers such as Infinity and NaN become null in the JSON output.

Frequently asked questions

What does this tool do?

Convert JSON5-style comments, single quotes and trailing commas into strict JSON.

What should I check before using the result?

Comments disappear. Nonfinite numbers such as Infinity and NaN become null in the JSON output.

Related tools