JSON formatter and validator

Beautify, minify, and validate JSON locally. Find syntax errors by line and column and keep every digit in large numbers.

Inputs and results stay in this browser. ToolDaisy does not upload or save your workspace.

0 of 500,000 characters

Format JSON without rounding numbers

Paste JSON, then choose Beautify for two-space indentation, Minify to remove spacing, or Validate to check syntax. The example preserves the ID 9007199254740993 and every digit of its decimal value. Pasting the output into another program may still round numbers if that program uses floating-point arithmetic.

Formatting also preserves property order, duplicate keys and string escapes. Validation checks JSON syntax. Choose Inspect tree to expand objects and arrays in a document with up to 800 values. To resolve errors, jump to the reported line and column and check for single quotes, comments, or trailing commas. Input is limited to 500,000 UTF-16 code units and 64 levels of nesting.

Use the word and character counter if you need measurements for other text.