JSON Minifier

Remove every unnecessary space and line break from a JSON document. The input is parsed first, so you also find out if it is invalid, and the output is guaranteed to be valid JSON.

Open JSON Minifier

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: Compact JSON to the smallest valid form. Remove every unnecessary space and line break from a JSON document.

Use it from code

curl -X POST https://openvibe.tools/api/v1/tools/jsonminify/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"{\n  \"a\": 1\n}"}}'

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

Similar tools

All Developer Tools