What is JSON Minifier?
JSON minification removes formatting whitespace outside string values while preserving parsed JSON values. A proper JSON parser is required: deleting whitespace with regular expressions can corrupt strings and escape sequences. This tool validates the input before outputting compact JSON.
How to use this tool
- Paste valid JSON, including objects, arrays or primitive JSON values.
- Click Run tool to validate and remove formatting whitespace.
- Copy the compact output or download it as a JSON file.
Example
{"user":"Ada","active":true}