JSON Formatter
Format, validate, minify, and explore JSON
Input
About JSON Formatter
Paste any JSON to format with syntax highlighting, validate structure, minify to compact output, or explore with the interactive tree view.
Format — pretty-print with 2-space indentation and color-coded syntax. Minify — strip all whitespace for the smallest possible output. Tree — collapsible navigation for large objects.
Invalid JSON shows the exact error message from the parser, including line and column position.