Input JSON to remove whitespace and line breaks into a single line!
input
→
result
Minify JSON!
Input JSON to remove whitespace and line breaks into a single line!
Use Cases
- Reduce size
- Strip whitespace from config files or request bodies to make them smaller, or fit JSON into environment variables and logs that need one line.
- Values unchanged
- Only whitespace is removed; large numbers, number formats and key order stay as in the original.