JSON-Utils

JSONPath Explorer

Test JSONPath expressions against your document and see every match with its canonical path. Supports child and recursive descent, wildcards, array indices and slices, and filters such as [?(@.price > 10)]. Invalid expressions report where the syntax went wrong.

JSON document
Matches
Matches will appear here
Ready. Press Run query.

How to use the JSONPath Explorer

  1. Paste JSON on the left.
  2. Type a JSONPath expression, starting with $.
  3. Review the matches and their paths on the right.

Example

Try $.author.name, $..name, or $.tags[*].

{
  "name": "json-utils",
  "version": "1.0.0",
  "private": false,
  "tags": ["json", "tools"],
  "author": { "name": "Ada", "active": true },
  "score": 9.5,
  "notes": null
}

Frequently asked questions

Which JSONPath dialect is this?

The widely used Goessner style syntax: dot and bracket notation, wildcards, recursive descent, slices, and simple comparison filters.

Why did my filter match nothing?

Filters compare against child values of each candidate node. Check that the key exists on the objects being tested and that string literals use quotes.