JSON Query
Extract values from JSON using JSONPath dot notation.
Examples: users, users.0, users[*].name, data.items[0]
About the JSON Query
The JSON Query extracts values from a JSON document using path expressions, without writing code. It is useful because finding one value inside a deeply nested API response is tedious; a query fetches it directly by its path.
Like every Pockly tool, it runs entirely in your browser: the JSON you paste is processed on your device and never uploaded to a server.
How to use it
- Paste your JSON into the input panel.
- The result appears automatically in the output panel.
- Fix any reported errors and re-run if needed.
- Copy the result with one click.
Frequently asked questions
Is my JSON uploaded anywhere?
No. Processing happens locally in your browser; your data never leaves your device.
Is there a size limit?
No fixed limit. Documents of several megabytes are processed in seconds.
What if my input is not valid JSON?
The tool shows a clear error message with the location of the problem instead of failing silently.
Are the other JSON utilities related?
Yes — format, minify, sort, validate, flatten, diff, and query all work together; you can chain them by copying output from one into another.