W

JSON Formatter

Pretty print, minify, validate, and sort JSON online.

All processing happens locally in your browser. Never paste production secrets.

Input
Loading editor...
Output
Loading editor...

How to use

Paste or type JSON into the editor.

Use Pretty Print to beautify JSON with readable indentation.

Use Minify to compress JSON into a single line.

Use Sort Keys to alphabetize object keys recursively.

Use Validate to check whether your JSON is syntactically correct.

Examples

Minified to pretty JSON

{"name":"Wraplet","free":true}
{
  "name": "Wraplet",
  "free": true
}

Frequently asked questions

Is my data sent to a server?

No. Wraplet tools run entirely in your browser. Your input never leaves your device.

Does this tool repair invalid JSON?

No. Invalid JSON is reported with an error message so you can fix syntax issues manually.

Can I sort nested object keys?

Yes. Sort Keys recursively orders keys at every object level.

Related tools