JSONPath Tester
Write a JSONPath expression and see exactly what it selects, with the full path of every match. Useful for building the expression a config file, a CI step or a data pipeline is going to need.
Output appears here as you type.
Runs entirely in your browser. Nothing you paste here is uploaded or stored.
Questions
Is my JSON uploaded anywhere?
No. Everything runs inside your browser tab as plain JavaScript. There is no request to a server at any point, which is the entire reason this tool can be pointed at production data.
Which JSONPath syntax is supported?
Child access ($.a.b and $["a"]), wildcards ($.items[*]), recursive descent ($..email), array indices and negative indices, slices ($.items[1:5]) and single-comparison filters ($.items[?(@.price > 10)]) including the =~ regular expression operator.
Why does my filter return nothing?
Filters apply to the children of the current node, so $.items[?(@.active)] filters the elements of items - not items itself. Also check the comparison type: a numeric comparison against a value stored as a string will not match.