Nifty / Tools / JSON

JSONPath Tester

Write a JSONPath expression and see what it matches in your JSON, live.

jsonpath-tester
JSONDrop a file here
Matches
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the JSONPath Tester

  1. Paste the JSON on the left.
  2. Type a JSONPath expression in the box above, for example $.users[*].name.
  3. The matches appear on the right as JSON.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

What JSONPath syntax is supported?

The usual syntax: $ for the root, .key and ['key'], [0] and [-1], [*] wildcards, .. for recursive descent, slices like [0:3] and filters like [?(@.price < 10)].

How do I find the path of a value?

In VS Code, Nifty JSON copies the path of whatever is under the cursor, like $.users[0].name.

Related tools