Format, validate, minify and inspect JSON privately in your browser.
Paste JSON or drop a file. Everything stays in this browser tab.
Shortcut: Ctrl / Cmd + Enter to format
Paste JSON into the editor or drop a .json file.
Pick indentation and optionally sort object keys.
Copy clean JSON or download it as a new file.
Your JSON is parsed locally by your browser. It is not uploaded to OptimizeFile, which makes the tool suitable for everyday development data that you are comfortable opening in your own browser.
It uses the browser JSON parser to detect invalid syntax and reports the error location when available.
Yes. Minify removes unnecessary spaces and line breaks without changing the JSON data.
No. Sort keys only alphabetizes object keys. Array item order is preserved.
You can open .json files up to 20 MB. Processing speed depends on your device and browser.