JSON formatter and validator
Paste JSON to check it for syntax errors and print it in a readable layout. Everything runs in your browser, so your data stays on your device.
JSONUTF-8
Tip: press Ctrl or Cmd + Enter to format.
Waiting for JSON.
Characters0
Lines1
How it works
1
Paste your JSON
Add it to the editor, or load the example.
2
Choose a layout
Pick an indentation size, then format or minify in place.
3
Copy the result
Errors show the line and column so you can fix them fast.