Formats JSON at two or four spaces, or minifies it to a single line. Invalid input shows the browser parser’s own message rather than a vague “invalid JSON”, so you can find the character that broke it.
Runs entirely in your browser
TechToolsHQ is an independent, reader-supported tech platform. If this free tool saved you time, solved a problem, or helped your workflow, consider supporting our work. Your support helps us keep our utilities 100% free, private, and ad-free for everyone.