Text and dataRuns in your browser

JSONPath Query Lab

Test JSONPath expressions and receive up to 500 matches with JSON Pointer paths without executing JavaScript code.

  • Local JSON
  • No eval
  • Up to 500 matches
Online tool

Try the tool

Add your data, choose the settings, and get the result.

JSON and JSONPath

Matches

Run a query to produce a bounded match list.

Processing in your browser

Text and selected files are processed in the current browser and are not sent to a server to produce the result.

Reviewed: 2026-07-17
01

How to use it

  1. 1

    Paste a JSON document.

  2. 2

    Enter a JSONPath expression starting with $.

  3. 3

    Run the query and inspect match paths and values.

02

What the tool can do

  • Dot and bracket properties, array indices, and negative indices.
  • Wildcards, recursive descent, unions, and array slices.
  • Existence and comparison filters using string, number, boolean, and null literals.
  • JSON Pointer paths for every match while preserving repeated node selections.
03

Common use cases

  • Testing a path against an API response or fixture.
  • Finding nested properties without writing a script.
  • Preparing a JSONPath expression for an integration within the supported operations.
04

How it works inside

The parser does not use Function, eval, or JavaScript expression execution.

Traversal stops with an error if it exceeds 10,000 visited nodes.

05

Questions and answers

How do I select a field from JSON?

Paste JSON and a JSONPath expression. For example, $.name selects the name field at the object root. Run the query and compare returned values with the source structure.

Why is an expression rejected or returning nothing?

Check field names, paths, and value types. Only the documented operations and simple comparisons are supported; filters do not execute arbitrary JavaScript or regular expressions. An empty result may simply mean there are no matches.