JSON Minifier
Minify JSON online by removing all whitespace and line breaks. Free, instant, and 100% client-side; see the size saving immediately.
Paste or type JSON below to pretty-print and validate it. Choose your indentation, then copy or download the formatted result. Invalid JSON shows the exact parse error.
How to useInput
{"name":"Ada","languages":["js","py"],"active":true} Output
{
"name": "Ada",
"languages": [
"js",
"py"
],
"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 HandyBrowserTools. 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.
No. Formatting runs entirely in your browser with JavaScript, so your JSON never leaves this device. A draft is saved in this browser's local storage so it's restored if you return, and it stays on this device. Avoid pasting sensitive content on shared devices, and note that a share link made with "include my text" contains your JSON and exposes it to anyone who receives the link.
Yes. If your input isn't valid JSON, you'll see the exact parse error so you can find and fix the problem quickly.
You can format with 2 spaces (default), 4 spaces, or tabs. Use the JSON Minifier tool if you want to compress instead.
Inputs under 50,000 characters update automatically as you type. Larger inputs need the Format button to update the result, and very large inputs are limited by your browser's memory.
Minify JSON online by removing all whitespace and line breaks. Free, instant, and 100% client-side; see the size saving immediately.
Convert a JSON array to CSV online in one click. Handles nested values, quotes and custom delimiters, free and 100% client-side.
Free JSON to YAML converter for config, Kubernetes and CI files. Paste JSON and get clean, indented YAML instantly; 100% in your browser, nothing uploaded.
Format and validate XML online with proper indentation. Free XML beautifier and minifier that runs 100% in your browser, with no upload needed.