JSON Formatter
Format, beautify and validate JSON instantly in your browser.
Paste formatted JSON below to strip all unnecessary whitespace. The tool validates your JSON while minifying and shows how many bytes you saved.
Paste or type JSON to minify
Minifies as you type; size savings show below.
Minified output
Minifying strips whitespace only — your data is unchanged. Everything runs in your browser.
Input
{
"name": "Ada",
"active": true
} Output
{"name":"Ada","active":true} These buttons share the page link, not your input.
Your current input will be stored in the link after the # symbol, not uploaded to Handy Browser Tools. Anyone with this link can read that text. If you send or post it, the service you choose also receives the link. Do not include passwords or private information.
Minified JSON is smaller to store and faster to transfer, which is useful for API payloads, config files and embedded data. It's functionally identical to formatted JSON.
No. The minifier runs entirely in your browser; nothing is sent to a server.
No. Only insignificant whitespace between tokens is removed. Strings, numbers and structure are untouched.
Format, beautify and validate JSON instantly in your browser.
Convert a JSON array to CSV online in one click.
Convert CSV to a JSON array of objects online.