BizTechLab

IDEASINNOVATIONIMPACT

JSON

JSONPath Tester

Paste JSON and a JSONPath expression to see exactly what matches, with the path to each result. Runs entirely in your browser; nothing you paste is ever sent anywhere.

Your JSON
Matches
Paste JSON on the left and enter a JSONPath expression above to see matches here.

Quick Learn

JSONPath is to JSON what a file path is to a filesystem, or a CSS selector is to HTML — a compact syntax for pointing at one or more values inside a document without writing a loop. $ refers to the root, a dot (.) walks into a child key, [*] matches every item in an array or every key in an object, and .. (recursive descent) searches at any depth, no matter how deeply nested.

Filter expressions take it further: [?(@.price < 20)] keeps only array items whose price is under 20, letting you query by condition instead of by position. This tool evaluates expressions with a sandboxed, eval-free engine — no filter you write here can execute arbitrary code — and runs entirely in your browser.

Best Practices

  • Start broad and narrow down: try $.. first to see everything, then add keys and filters once you know where the value you want actually lives.
  • Use [*] for "every item" and .. for "at any depth" — mixing them up is the most common source of an empty result set.
  • Filter expressions reference the current item as @, e.g. [?(@.price < 20)] — not the root ($) — a frequent source of confusion when porting a filter from a different tool.
  • An expression that matches nothing usually means a typo in a key name or an array index that's out of range, not a broken tool — check the exact key names in your JSON first.

More JSON Tools

See all JSON tools

Frequently Asked Questions

No. Both your JSON and the JSONPath expression are evaluated entirely in your browser — nothing is sent to a server or stored anywhere.

Want the engineering deep-dives behind tools like this one?