Back

JSONC formatter

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

Remove JSONC comments and trailing commas to produce strict JSON.

Common uses

  • Remove JSONC comments and trailing commas to produce strict JSON.
  • Paste JSON with line or block comments and optional trailing commas.

How to use it

  1. 1.Paste JSON with line or block comments and optional trailing commas.
  2. 2.Choose formatted or compact output and copy the converted JSON.

Limits and notes

  • Keys and strings still require double quotes. Unclosed strings or comments fail, and comments are not preserved.

Frequently asked questions

What does this tool do?

Remove JSONC comments and trailing commas to produce strict JSON.

What should I check before using the result?

Keys and strings still require double quotes. Unclosed strings or comments fail, and comments are not preserved.

Related tools