You know what you want from a JSON document. You just don't want to memorize whether it's $[?(@.age > 18)] or $..users[?(@.active)].
Plain English in. JSONPath out.
JSONPath Assistant on FormatList lets you paste JSON, describe what you need in natural language, and get a validated JSONPath expression plus the actual results — all in your browser. No account, no API key, no data sent to a server.
How it works
- Paste your JSON — an API response, config file, or test fixture.
- Describe what you need — e.g. "get all user names" or "find products with tag tech".
- Generate — the assistant reads your JSON structure and maps your query to JSONPath.
- Validate & copy — the expression runs against your data immediately. Copy the path or the matched values in one click.
If the first attempt returns no matches, the tool retries with a simpler variation automatically.
Example queries
| You type | Generated JSONPath |
|---|---|
| Get all user names | $.users[*].name |
| Find users older than 18 | $.users[?(@.age > 18)] |
| Get names of active users | $.users[?(@.active == true)].name |
| Find products with tag tech | $.products[?(@.tags.indexOf('tech') >= 0)] |
| Get all order prices | $.orders[*].price |
| Get the first user's email | $.users[0].email |
| Get all pod names | {.items[*].metadata.name} |
| Get all pod IP addresses | {.items[*].status.podIP} |
The tool ships with one-click examples for each of these — load one, hit Generate, and see how it works before trying your own JSON.
What kinds of queries it understands
- Property access — "get all names", "list order prices"
- Numeric filters — "older than 18", "price under $10", "greater than 100"
- Boolean filters — "active users", "enabled devices"
- Tag / category searches — "with tag tech", "beauty category"
- Multi-condition — "both tech and mobile tags"
- Quantifiers — "the first user", "the last item"
- Kubernetes — "get all pod names", "pod IP addresses"
It analyzes field names in your JSON — so users, products, orders, or whatever keys you actually have — and builds paths that match your schema.
Not ChatGPT. Still feels like magic.
Despite the "AI" label, nothing leaves your browser. JSONPath Assistant uses rule-based pattern matching against your JSON structure — no external API, no LLM call, no upload.
That means:
- Private — safe for production API responses, customer data, internal configs
- Fast — results in milliseconds, not seconds
- Free — no token limits or rate caps
You get the convenience of natural language without sending sensitive JSON to a third party.
JSONPath Assistant vs the other FormatList tools
FormatList has three JSONPath tools that solve different problems:
| JSONPath Assistant | JSON Path Finder | JSONPath Explainer | |
|---|---|---|---|
| Direction | English → JSONPath | Click node → JSONPath | JSONPath → English |
| Best for | Writing queries from scratch | Exploring unknown JSON | Learning what a path means |
| Input | JSON + plain English | JSON (+ optional expression) | JSONPath string |
Typical workflow: Assistant to generate → Finder to verify paths in the tree → Explainer to understand unfamiliar syntax.
When to use it
| Scenario | Why it helps |
|---|---|
| API integration | "Get all customer emails" without reading JSONPath docs |
| Data pipelines | Quick path for jq, Python jsonpath, or Node scripts |
| Kubernetes / kubectl | Natural language for {.items[*].metadata.name} style paths |
| Learning JSONPath | See how English maps to real syntax on your data |
| Debugging filters | Test "users older than 18 and active" before committing to code |
Pair it with JSON Formatter if your payload is minified, or Repair ChatGPT JSON if an LLM gave you broken JSON first.
FAQ
Is my data sent to an AI model?
No. Everything runs locally in your browser using pattern matching against your JSON structure.
What if the generated path is wrong?
Refine your query — mention the array name (users, products) and the field you want (name, price). You can also switch to JSON Path Finder to click the exact node and compare paths.
Does it support complex filters?
Yes — age comparisons, price ranges, tag searches, boolean flags, and Kubernetes-style notation. For edge-case syntax, generate a starting point here and tweak manually.
Try it
Paste JSON, type what you want, copy the path. Five seconds beats five minutes of JSONPath documentation.
More free, browser-local data tools at formatlist.com.
Free tool, 100% client-side. Feedback welcome on About.
Top comments (0)