JSON Formatter
Format (Ctrl+Enter)
Minify
Sort Keys
Indent:
2 spaces
4 spaces
Tab
Tree
Formatted
Search (Ctrl+F)
Expand All
Collapse All
Copy
Sample
Input JSON
{ "name": "JSON Formatter", "version": "1.0.0", "description": "A powerful JSON viewer and formatter", "features": [ "Tree view with collapsible nodes", "Syntax-highlighted formatting", "Path navigation", "Search and filter", "Sort keys alphabetically" ], "config": { "theme": "dark", "indent": 2, "maxDepth": null, "sortKeys": false }, "stats": { "totalKeys": 12, "maxNesting": 2, "types": { "string": 8, "number": 2, "boolean": 1, "null": 1, "array": 1, "object": 3 } }, "active": true, "lastUpdated": "2026-03-23T12:00:00Z", "tags": ["json", "formatter", "viewer", "tool"], "metadata": null }
Output
×
Path:
$
Size:
0
Keys:
0
Depth:
0
Type:
—