Paste JSON, click any value to get its path. Supports JSONPath, dot notation, and bracket notation. Interactive tree view with search.
Working with deeply nested JSON APIs? This tool lets you visually explore JSON data and click on any key or value to instantly get its access path in multiple formats — JSONPath, JavaScript dot notation, and bracket notation.
$.users[0].name — Standard JSONPath syntax used by jq, JSONPath librariesusers[0].name — Clean JavaScript-style access["users"][0]["name"] — Works with any key name including special charactersdata.users[0].name — Ready to use in JavaScript with a data root variableInteractive tree view with expand/collapse, key and value search with highlighting, one-click copy for any path format, value type detection (string, number, boolean, null, array, object), and statistics showing total keys, depth, and data size.
Use our JSON Formatter & Validator for pretty-printing and syntax checking.
JSON formatter, regex tester, image compressor, and more — all free, all client-side.
Browse All Tools →JSONPath is a query language for JSON, similar to XPath for XML. It uses dot notation and bracket notation to navigate JSON structures. A path like $.users[0].name selects the name of the first user. JSONPath is used in API testing tools like Postman, AWS Step Functions, and libraries across Java, Python, JavaScript, and Go.
Dot notation ($.user.name) is more readable and works for simple property names. Bracket notation ($.user['name']) is required for property names with spaces, hyphens, or special characters. Bracket notation also supports array indexing ($.items[2]) and wildcards ($.items[*]). Both are equivalent for standard alphanumeric keys.
The wildcard * matches all elements at a given level. $.users[*].email returns all email values from every user in the array. The recursive descent operator .. finds a key at any depth: $..name matches all name fields anywhere in the document, regardless of nesting level.
Use filter expressions with the ?() syntax: $.users[?(@.age > 18)] returns all users where age is greater than 18. The @ symbol refers to the current element being tested. You can use comparison operators (==, !=, >, <) and logical operators. Filters work on any array and are supported in most JSONPath implementations.
JSONPath is used in API testing with Postman and REST Assured for assertions. AWS Step Functions use JSONPath for input/output path processing. Log analysis tools like Elasticsearch support JSONPath-like queries. It's also used in data transformation pipelines, CI/CD configuration, and JSON-based configuration management.