JSON Formatter

Paste messy JSON to pretty-print it with clean indentation, find syntax errors with their line number, collapse and expand nodes, or minify it for production. Runs in your browser.

Open JSON Formatter

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Format, validate and minify JSON.

Use it from code

curl -X POST https://openvibe.tools/api/v1/tools/json/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"{\"b\":1,\"a\":2}","mode":"sort-keys"}}'

Inputs: JSON Schema · OpenAPI · from JavaScript: tools.run("json", …) in openvibe-sdk · How the API works