JSON Formatter
JSON prettify, minify, and validate—with line and column hints on parse errors.
Output
Output will appear here.
How to use
Paste or type JSON in the editor. Prettify adds indentation and line breaks; Minify strips whitespace for a compact one-line payload.
Validate catches syntax errors and shows line/column hints so you can jump to the problem in large files.
JSONC conveniences (comments, trailing commas) are parsed when possible; output is always strict JSON. Minified output is handy for logs, API body copies, or compact deploy snippets.
Keyboard: Ctrl/Cmd+Enter to prettify; Tab / Shift+Tab to indent lines, Ctrl/Cmd+D to duplicate the current line below.