JSON Path Finder

Query and explore JSON data with JSONPath expressions in real-time. Test filters, wildcards, recursive descent, and array slicing — all in your browser with no installation required. Includes built-in examples and a complete JSONPath syntax reference.

JSONPath Expression
JSON Input
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Result

Enter JSON and a JSONPath expression to see results

JSONPath Syntax Reference

Basics

  • $- Root element
  • $.field- Property access
  • $.a.b- Nested property
  • $['key']- Bracket notation

Arrays

  • $[0]- Array index (first)
  • $[-1]- Last element
  • $[0:3]- Slice (index 0-2)
  • $[*]- All elements

Recursive

  • $..field- Find field at any depth
  • $..name- All "name" values

Filters

  • $[?(@.age>25)]- Numeric comparison
  • $[?(@.x==true)]- Boolean check
  • $[?(@.s!="x")]- Not equal

Frequently Asked Questions

What is JSONPath?
JSONPath is a query language for JSON, similar to XPath for XML. It allows you to specify paths to elements within a JSON document using dot notation, brackets, wildcards, and filter expressions. Starting from the root ($), you build expressions to navigate to exactly the data you need.
How do I copy a matched path?
When your JSONPath expression returns results, the matched paths are shown as clickable chips above the output. Click any path chip to copy it to your clipboard instantly.
What JSONPath features are supported?
This tool supports property access ($.field), bracket notation ($['key']), array indexing ($[0], $[-1]), array slicing ($[0:3]), wildcards ($[*]), recursive descent ($..field), and filter expressions ($[?(@.age>25)]).
What JSON types are shown?
The tool handles all JSON types: objects, arrays, strings, numbers, booleans, and null values. Results are displayed as formatted JSON with syntax highlighting.
Can I use this with API responses?
Yes! Copy the JSON response from your API testing tool, browser dev tools, or Postman and paste it into the input panel. Use JSONPath expressions to quickly extract the specific data you need.