Paste JSON to format, validate, convert or compare it. Everything runs in your browser.
Paste JSON and the formatted result will appear here
Errors show the exact line and reason. Single quotes, unquoted keys, trailing commas, comments and similar mistakes can be fixed in one click. In tree view, click a key to copy its JSONPath. Press Ctrl + Enter to use the result as input.
All formatting and validation happen in your browser. Nothing you paste is uploaded to a server, so it is safe to use with sensitive JSON.
JSON (JavaScript Object Notation) is a text format for data made of key-value pairs and arrays. It is widely used to exchange data between browsers and servers or between services.
The tool keeps the numbers exactly as you typed them instead of converting them to JavaScript numbers, so values like 12345678901234567890 or 1.50 are preserved.
It converts single quotes to double quotes, quotes property names, removes trailing commas and comments, adds missing commas, and turns True, False and None into true, false and null.
JSON copied from logs or databases often looks like "{\"a\":1}". When the tool detects this, an Unescape button appears to turn it back into normal JSON.
$ is the root. For example $.tools[0].id gets the first tool's id, $.tools[*].id gets every id, $..id finds ids at any depth, and $.tools[?(@.category == 'design')] keeps only items whose category is design.
Each object in the array becomes a row, nested objects are flattened into columns like a.b, and arrays are stored as JSON text in the cell. Converting CSV back to JSON rebuilds a.b columns into nested objects.