JSON Beautifier

Beautify messy JSON online into clean, indented, readable text. Choose 2 or 4 spaces or tabs, and sort keys. Free, in your browser.

How to use the JSON Beautifier

Validate, beautify and clean JSON, CSV, XML and YAML.

  1. Paste or upload your data
  2. Choose the options
  3. Copy or download the result

Tips

Example

Input: {"a":1,"b":[1,2]}

Output: { "a": 1, "b": [ 1, 2 ] }

Frequently asked questions

How do I beautify JSON?

Paste it, choose Beautify and your indent size, then copy or download the result.

Can I sort the keys?

Yes. Tick Sort keys A to Z to make two JSON files easy to compare.

Will large numbers change?

No. Unlike many tools, long numbers like 12345678901234567890 are kept as they are.

Guides