JSON formatter and validator
Paste JSON to reformat it with clean indentation, or switch to minify to strip every unnecessary byte before you paste it into a config file. When the input is malformed you get the parser error with the line and column where it stopped, rather than a vague failure.
Everything runs on JSON.parse and a small walker, so the output is guaranteed valid JSON whenever the input parses. Large documents are handled in the page; nothing leaves your tab.
Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.
Questions about this tool
Is my JSON uploaded anywhere?
No. Parsing and formatting happen in this browser tab. There is no request carrying your data, and nothing is stored after you close the page.
How large a document can it handle?
Anything that fits comfortably in browser memory — tens of megabytes is fine, though pasting multi-hundred-megabyte files will be slow. For very large files, a command-line tool such as jq is the better instrument.
Does it fix invalid JSON?
It reports the first syntax error with its position, which is usually enough to fix by hand. It will not guess your intent and silently repair broken input, because a formatter that quietly changes your data is worse than one that refuses it.
AI alternatives from the directory
Browse coding tools →This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.
Free AI autocomplete for every language
A fast, free completion and chat tool that plugs into 40+ editors with strong privacy options.
Anthropic's terminal agent that edits whole repos
Claude Code runs in your shell, reads the repository, plans a change and applies multi-file edits with tests.