JSON formatter

JSON Formatter and Validator

Paste JSON to make it readable, shrink it, or find the exact error. It all happens in your browser.

How to use the JSON Formatter

  1. Step 1

    Paste your JSON

    Paste any JSON text into the box.

  2. Step 2

    Choose a style

    Pick 2 spaces, 4 spaces, tabs or Minify.

  3. Step 3

    Copy the result

    Tap Copy, or fix the error shown if the JSON is invalid.

JSON Formatter FAQ

More free tools