JSON Formatter
Paste JSON to validate and format it with 2 spaces, 4 spaces or tabs, or minify it to one line. Copy the result directly from your browser.
How to Use JSON Formatter
- Paste or type your JSON data into the input textarea on the left panel
- Click the Format button to pretty-print your JSON with proper indentation, or click Minify to compress it into a single line
- Click the Copy button to copy the formatted or minified result to your clipboard
Enable JavaScript to use these tools.