What is JSONPath / jq?
JSONPath is a query language for JSON, the equivalent of what XPath is for XML. With expressions like $.users[?(@.role=='admin')].name you can extract, filter and navigate large JSON documents without writing code. This tool evaluates your query against the JSON live and shows the results instantly.
It's ideal for locating exactly the data you need within a large API response, testing an expression before using it in your app, or exploring an unknown structure. The JSON never leaves your browser.
Frequently asked questions
What is JSONPath?
A query language for JSON (the equivalent of XPath for XML) that lets you extract and filter data with expressions like $.users[*].name.
Is it the same as jq?
They are similar: both query JSON. jq is a command-line tool with its own syntax; JSONPath is an expression standard used across many languages.
How do I filter an array by a condition?
With a filter in brackets: $.users[?(@.role=='admin')].name returns the names of users with the admin role.
Is it free?
Yes, all NewKit tools are completely free.
Is my data sent to a server?
No. Processing happens 100% in your browser, so it is safe even for sensitive data.