← All tools

Format JSON

Indent or minify JSON. Original number and string tokens are preserved.

Up to 2,000,000 input characters. Formatting supports 200 nesting levels and 8,000,000 output characters.

What formatting changes

The tool validates syntax and changes only whitespace between values. Large integers, duplicate keys and number notation are preserved.