JSON Path Evaluator

Query and extract data from JSON using JSONPath expressions with live results, tree view, and autocomplete.

JSONPaste, type or drop a .json file
Results4 matches
[
  "Nigel Rees",
  "Evelyn Waugh",
  "Herman Melville",
  "J. R. R. Tolkien"
]
4 matches24 keysDepth 4767 BProcessed locally

How to use it

  1. Paste JSON or drop a .json file into the JSON pane (or use the sample).
  2. Type a JSONPath expression starting with $; autocomplete suggests paths and Examples lists common patterns.
  3. Read the matches in Results or see them highlighted in Tree, then copy or download them.

Related tools

JSON FormatterFormatJSON DiffFormatData Format ViewerFormat

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. It lets you navigate and extract data from complex JSON structures using expressions like $.store.book[*].author to select all authors from a bookstore object. This evaluator provides live results, tree view, autocomplete, and filter expression support.

Common use cases

  • Extracting specific fields from large API responses
  • Building JSONPath expressions for API testing tools
  • Filtering JSON arrays based on conditions
  • Navigating deeply nested configuration files
  • Learning JSONPath syntax with instant feedback

Frequently asked questions

What is the difference between JSONPath and jq?

JSONPath uses dot notation ($.store.book[0].title) and is commonly used in API testing tools like Postman. jq uses pipe-based syntax (.store.book[0].title) and is a command-line tool for transforming JSON. Both achieve similar goals with different syntax.

How do I filter arrays in JSONPath?

Use filter expressions with ?(): $.store.book[?(@.price < 10)] selects all books cheaper than $10. The @ symbol refers to the current element being evaluated.