Chacolate

↑ ↓ Select · Enter Open · Esc Close

JSON formatter

Validate, indent or minify JSON without losing numeric precision.

Processing runs in this browser. Your inputs and files stay on this device.

Preparing the workspace…

The workspace could not start. Reload

Input JSON

0 characters

How to use it

  1. Paste JSON or load the large-integer example.
  2. Format, minify or validate. Use the line and column to locate a syntax issue.
  3. Review the output. Copy text results or download available files.

Example and limits

A number such as 9007199254740993 keeps its exact value. Invalid input shows a syntax location.

Duplicate keys are rejected. Lossless parsing preserves numbers, with an input limit of 512 Ki UTF-16 code units.

Frequently asked questions

Will the result change 9007199254740993?

That example retains its value. Another program must also use an appropriate parser to keep it exact.

Is the input saved?

Inputs and results are used for this session. Copy anything you want to keep before closing or reloading.

How can I save the result?

Review the output. Copy text results or download available files.

Fix JSON errors using line and column numbers

Report a tool issue (GitHub)

Related tools