Indent:
Mode:
Input 0 chars
Output 0 chars

    
Ready

How to use the JSON Formatter

Paste any JSON string into the input box — it will auto-format the moment you paste. Use the indent selector to choose 2-space, 4-space, or tab indentation. Toggle between Pretty (readable) and Minify (compact) output. Click Copy to grab the result.

Supports all valid JSON: objects, arrays, strings, numbers, booleans, and null. If your JSON has a syntax error, the error message will show you exactly what's wrong.