Toolshed

A growing library of browser tools and deep technical guides for IT professionals.

← All guides

JSONPath Playground

Paste JSON on the left, write a JSONPath expression, and see matches highlighted live — plus a results list with each match's exact path and value. Supports dot and bracket notation, .. recursive descent, [*] wildcards, [start:end:step] slices, and [?(@.field > 1)] filter expressions, evaluated by a small hand-written interpreter — nothing here is ever passed to eval() or executed as code. Runs entirely in your browser; your file is not uploaded.

Supported syntax

$ root · .key / ['key'] child access · ..key recursive descent (finds key at any depth) · [*] / .* wildcard · [0], [0,2] indices · [1:3], [::2], [-2:] slices (Python-style, negative indices count from the end) · [?(@.price < 10)] filter expressions supporting == != < <= > >=, &&, ||, !, and parentheses against the current item (@). This is a hand-written evaluator implementing the common Goessner JSONPath semantics most tools follow — it is not a JavaScript engine, and filter expressions can't call functions or reference anything outside the current item.