Formatted JSON
Minifying removes whitespace while keeping the same values.
{
"id": 1,
"active": true
}Output
{"id":1,"active":true}Private / No Upload
Minifying removes unnecessary whitespace for transport. Formatting adds whitespace so humans can read and review JSON.
Runs in your browser
HappyFormatter tools process pasted snippets client-side for quick, privacy-first developer workflows.
No upload
HappyFormatter tools process pasted snippets client-side for quick, privacy-first developer workflows.
No account
HappyFormatter tools process pasted snippets client-side for quick, privacy-first developer workflows.
Minified JSON is compact.
Formatted JSON is readable.
Both require valid JSON input.
Formatted JSON
Minifying removes whitespace while keeping the same values.
{
"id": 1,
"active": true
}Output
{"id":1,"active":true}Minify JSON in the browser.
Related toolPretty-print JSON locally.
Related toolFix a common parse error.
Error guide