About this tool
Pull values out of JSON with a dot path such as a.b.0.c or items.*.name, all in your browser.
Keys are matched exactly, including case, and branches that do not exist are dropped quietly. A path with no wildcard that finds one value prints that value; any path containing * prints an array, even for one match. An empty path returns the whole document. This is not full JSONPath: there is no $ prefix, bracket notation, filter or recursive search, and a key containing a dot cannot be reached.
Frequently asked questions
What path syntax is supported?
Dot-separated keys, numeric array indexes, and a * wildcard that expands over every item of an array or every value of an object.
What if the path matches nothing?
It shows a no-match message. Invalid JSON shows an error instead of crashing the tool.
Why is my result in square brackets?
Any path containing * returns a list. Use an index such as items.0.name for a single value.
Can I write $.items[0].name?
No. Write items.0.name; a leading $ would be looked up as a key.
More tools