JSONPath Tester

Run JSONPath queries against any JSON document. See matched nodes and their paths in real time.

Try: $..price, $.store.books[?(@.price < 20)].title, $.store.books[*].tags[0], $..*
Enter input above to see the result.

What is this for?

JSONPath is to JSON what XPath is to XML — a query language for extracting specific values from nested documents without writing custom parsing code. A query like $.store.books[*].title retrieves every book title under store; $..price finds every price anywhere in the structure, regardless of depth. This tool executes JSONPath queries live against any JSON document you provide, displaying both the matched values and their full paths, so you can refine your query iteratively until it returns exactly what you need.

When to use it

How it works

JSONPath syntax cheat sheet

Common gotchas