Free JSON Path Finder
Explore nested JSON visually. Click any key or value to instantly get its JSONPath expression and dot notation. Format, validate, minify, and search your JSON data — all in your browser.
Paste JSON to see the tree view
result(s) found
No matches found
Type to search keys and values
How JSONPath Works
JSONPath is a query language for JSON, similar to XPath for XML. Learn the syntax to navigate any JSON structure.
| Expression | Description | Example |
|---|---|---|
$ |
Root object/element | $ |
.key |
Child operator — access a property | $.store.name |
[n] |
Array subscript — access by index | $.items[0] |
[*] |
Wildcard — all elements in array/object | $.items[*].name |
..key |
Deep scan — search all descendants | $..price |
['key'] |
Bracket notation — for special characters in keys | $['first-name'] |
[start:end] |
Array slice — subset of array | $.items[0:3] |
When to Use a JSON Path Finder
Whether you're debugging APIs, building integrations, or exploring data, finding the right path saves hours.
API Debugging
Paste API responses to quickly find the exact path to any field you need to extract in your code.
Data Extraction
Navigate complex JSON datasets to find paths for data pipelines, ETL processes, and transformations.
Config Exploration
Explore large configuration files (package.json, tsconfig, etc.) to find and reference settings paths.
Testing & QA
Validate API response structures and generate assertions using precise JSON paths for your test suites.
JSON Best Practices
Follow these tips to keep your JSON clean, readable, and easy to work with.
Use Consistent Keys
Stick to one naming convention — camelCase or snake_case — throughout your JSON structure.
Keep It Flat
Avoid deeply nested structures when possible. Flat JSON is easier to query, parse, and maintain.
Validate Early
Always validate JSON before processing. A missing comma or extra bracket can cause silent failures.
Use Meaningful Names
Choose descriptive key names like "orderTotal" instead of "ot" for self-documenting data structures.
Avoid Trailing Commas
Unlike JavaScript, JSON does not allow trailing commas after the last element in an array or object.
No Comments in JSON
Standard JSON does not support comments. Use JSONC or JSON5 if you need inline documentation.
JSON Path Finder FAQ
Common questions about JSON paths, formatting, and this tool
$.store.books[0].title. It's widely used in API testing tools like Postman, programming languages, and data processing pipelines.
$ as the root and uses bracket notation for arrays (e.g., $.store.books[0].title). Dot notation uses plain dots and treats array indices as regular keys (e.g., store.books.0.title). JSONPath is more expressive and supports wildcards ([*]), deep scans (..), and filters, while dot notation is simpler and commonly used in JavaScript.
Track Your Marketing Data with Confidence
PixelFly provides server-side tracking that ensures your conversion data is accurately captured, even when ad blockers are active.
No credit card required. 14-day free trial.