Find syntax errors by line and column
Invalid JSON is marked at the detected character so missing commas, quotes, braces and values are easier to locate.
Explore a collapsible JSON tree
Expand objects and arrays while keeping strings, numbers, booleans and null values visually distinct.
Find the path of any JSON key
Search for a property, select it in the tree and copy its complete path for debugging nested payloads.
Private browser processing
Formatting, minification, validation and tree generation happen locally in this browser tab.
- Paste JSON into the editor.
- Format or minify valid input.
- Search the tree and copy a key path.
JSON formatter questions
How do I find an invalid character in JSON?
Paste the JSON into the editor. The validator highlights the detected line and character and reports its line and column.
How do I find the full path of a JSON key?
Enter the key in the path search, choose a matching result and copy the selected path above the tree.
Can I inspect JSON arrays?
Yes. Array items appear as indexed branches in the tree and their indexes are included in copied paths.
Does my JSON leave the browser?
No. The JSON editor performs its formatting and analysis locally.
Need a working endpoint for the payload? Use formatted JSON as a mock API response.