Formateur JSON

Indentez ou minifiez votre JSON.

Traité localement dans votre navigateur — vos fichiers ne quittent jamais votre appareil.

Mode d'emploi

  1. 1Paste your JSON.
  2. 2Click Format (pretty) or Minify.
  3. 3Copy or download the result.

Paste JSON to pretty-print it with 2-space indentation or minify it to one line. Invalid input shows the exact parser error with line and column.

Questions fréquentes

What if my JSON is invalid?

The tool shows the parser's error message with the position, so you can find and fix the problem.

Is my data uploaded?

No. Formatting happens entirely in your browser.

Outils associés