What it does
Paste JSON, type a JSONPath expression and the matches update as you type. Results are shown as pretty-printed JSON, and every match is listed with its normalized path ($['orders'][0]['id']) and its JSON Pointer (/orders/0/id), so you can copy the exact location into code, a JSON Patch or a test assertion.
- Switch the output between values, paths, pointers or path/value pairs, then copy or download it.
- Click any example in the cheat sheet to try wildcards, recursive descent (
..), filters (?(@.price < 10)), slices ([-1:]), unions and property names (~). - Invalid JSON is reported with line, column and a pointer to the exact character, so a missing comma is found in seconds.
- Open or drop a
.jsonfile instead of pasting.
How to use it
- Paste your JSON on the left (or press Example).
- Type a query starting with
$, for example$.orders[?(@.total > 40)].id. - Click a result path to copy it.
Queries are evaluated with JSONPath-Plus, using its safe expression evaluator for filters: @ is the current item, and comparisons, &&, || and simple method calls like @.tags.includes('x') work. Other JSONPath implementations (for example RFC 9535 or Newtonsoft’s SelectTokens) can differ in filter syntax.
Privacy
Your JSON is processed in your browser and stored only in local storage. Nothing is uploaded.