Skip to developer tool

JSONPath Tester & Visual Query Studio

Query local JSON, explore exact matching nodes, inspect JSON Pointers, and download trustworthy results. Everything runs in your browser.

JSONPath support and browser privacy

V2 provides a safe, read-only, explicitly limited JSONPath evaluator. It supports child property/array access, wildcards, descendants, indexed slices, union selectors, and simple filters with comparisons, existence and logical operators. It does not run JavaScript or fetch APIs. It is not a full RFC 9535 or JSONPath Plus implementation. Copy or export only completed, shown matches; limits and errors are shown by the tool. Querying a document does not upload it to PixelOkay.

How to use JSONPath Tester & Query Explorer

  1. Paste or load valid JSON and enter a JSONPath expression for its structure.
  2. Choose values, paths or pointers and set the maximum returned results. The sample filter demonstrates a property comparison.
  3. Evaluate in a worker, inspect the displayed results and copy either the expression or the JSON result.

When to use this tool

Explore a response payload and verify which values a JSONPath expression selects. Compare returned values with paths or pointers before copying a query into another implementation.

Read-only filters keep expressions constrained

The V2 tool-local evaluator supports read-only child and descendant selection, slices, unions, and bounded comparison/existence filters. It deliberately does not execute JavaScript functions. The returned-result cap is applied after evaluation; a separate work budget and worker deadline prevent unbounded work on supported inputs.

Worked example

$.store.book[*].title
$.store.book[?(@.price > 30)].title
$..price
The sample JSON contains store.book entries with title and price properties.

Find matching values and trace them back to source locations

Original JSON practice input

[{"id":"A1","quantity":0},{"id":"B2","quantity":3}]

Use $[?(@.quantity > 0)].id to inspect IDs on records with a positive quantity. For this input, the expected matched value is B2; its JSON Pointer location is /1/id.

  1. Load the authored JSON and enter the expression. Evaluate in Matched values mode to inspect the selected content.
  2. Switch to paths or JSON pointers when you need to trace each match to its source location. A value result alone does not identify every enclosing record.
  3. Choose a result limit appropriate to review. If the returned list reaches that limit, do not assume it contains every match; truncation happens after evaluation.
  4. Check errors separately from an empty result. A valid expression can match nothing, while a parse error or worker deadline does not establish absence of matching records.
  5. Copy or download the reviewed result. The query is read-only and does not update the source JSON.

Authored query and expected match, not a newly executed result. Filters use the supported bounded interpreter, not arbitrary JavaScript functions. Use JSON Schema Validator to validate record constraints; JSONPath selection is a different task.

Limits and output checks

Function calls, assignments and arbitrary JavaScript filter expressions are not supported. JSONPath dialects vary across implementations. Integers outside the JavaScript safe-number range are rejected; ordinary floating-point values may still be rounded by the browser. Up to the configured number of results is returned; the tool displays both the exact completed match count and the number returned.

Reference: JSONPath Plus documentation.

Frequently asked questions

Can a filter run JavaScript functions?

No. The bounded interpreter supports read-only value/property comparisons and logical operators, not native eval or function calls.

Does an empty array mean the JSON is invalid?

Not necessarily. A valid expression can match no values. Input parsing and expression errors are reported separately.

What is the result limit for?

It bounds the displayed and exported list after evaluation. It does not replace the text-size or execution-time limits.

Query a supported JSONPath dialect

Load JSON, enter a supported read-only expression and inspect returned values and limits. Separate input errors from a successful query with no matches.

Scope of this workflow

The interpreter does not execute arbitrary JavaScript filters or function calls. A result limit can truncate a larger matching set.

JSON Schema Validator - Draft-07 Instance Checks · All developer tools · Privacy policy · Contact PixelOkay