Query and inspect JSON with JSONPath
Use JSONPath to select values from a JSON document without manually expanding every nested object. Paste JSON, enter an expression, and inspect the values or paths that match.
How it works
- Paste valid JSON into the input editor.
- Enter a JSONPath expression that selects the fields or array items you need.
- Review matching values and paths, then adjust the expression for your data shape.
Capabilities and limits
- Queries nested objects and arrays with JSONPath expressions.
- Shows matching values or paths for inspection.
- Works on the JSON you paste; it does not fetch private API responses or URLs for you.
Examples
Read a nested name
$.user.nameSelects the name property inside a top-level user object.
Select every item name
$.items[*].nameSelects name from each object in an items array.
Frequently asked questions
Is JSONPath the same as JSON Pointer?
No. JSONPath is a query language for selecting values, while JSON Pointer identifies a specific location with a slash-separated path.
Why does my query return no results?
First validate and format the JSON, then confirm exact property names, array indexes, and whether the expression starts from the expected root.