Ttooleras
🔎

JSON Path Finder

JSON Tools

Explore JSON documents interactively and copy the exact JSONPath or JMESPath query for any value. Perfect for API tests, data pipelines, and debugging complex nested structures.. Free, private — all processing in your browser.

This tool is coming soon. Check back later!

Advertisement

JSON documents get deep fast. Nested arrays inside nested objects inside API responses are the norm, and finding the right path to a specific value — especially one you need to extract repeatedly in tests or pipelines — is surprisingly fiddly. This JSON path finder gives you an interactive tree view of any JSON and, when you click on a value, shows the exact JSONPath or JMESPath expression to reach it. No more counting array indices by hand.

The tree is collapsible and searchable. Click a key to expand, click a value to see its path, and use the search box to filter keys or values across the whole document. Copy the path with one click. Switch between JSONPath (the de-facto standard, used by Postman, jq-like tools, and many APIs) and JMESPath (used by AWS CLI, Ansible, and cloud-native tools). Both flavors produce queryable expressions that select your target value deterministically.

Once you have a path, the tool lets you evaluate it against the document and shows every matching value. This is useful for verifying the expression does what you expect before pasting it into your test assertion or pipeline config. For arrays, the tool offers both specific-index expressions (results[0].id) and wildcard expressions (results[*].id) so you can pick the one that fits your need. Multi-line JSON with gigabytes of data may need jq at the command line, but for most API responses and config files, this browser-based tool is faster and friendlier.

JSON Path Finder — key features

Interactive JSON tree

Collapsible, searchable tree view of any JSON document.

Click to get path

Click any value and copy the JSONPath or JMESPath to it.

Both syntax flavors

Switch between JSONPath and JMESPath for different tool ecosystems.

Live path evaluation

Enter a path and see every value it selects highlighted in the tree.

Wildcard or indexed paths

Choose between precise-index paths and wildcard array expressions.

Search across keys and values

Fuzzy-search the entire document to locate data quickly.

Client-side privacy

Your JSON never leaves the browser; perfect for sensitive API responses.

How to use the JSON Path Finder

  1. 1

    Paste your JSON

    Drop in the JSON response or config you want to explore. Invalid JSON is flagged with the line number.

  2. 2

    Expand the tree

    Click through keys and array indices to see the structure. Use search to jump to a specific key.

  3. 3

    Click a value

    The tool shows the JSONPath and JMESPath expressions that select that value.

  4. 4

    Pick wildcard or specific

    Switch between precise-index and wildcard paths depending on whether you want one value or all matches.

  5. 5

    Copy the path

    One-click copy to your API test, pipeline config, or debug console.

Common use cases for the JSON Path Finder

API testing

  • :
  • :
  • :

Cloud automation

  • :
  • :
  • :

Data pipelines

  • :
  • :
  • :

Debugging

  • :
  • :
  • :

JSON Path Finder — examples

Simple object path

Extract nested key

Input
user.address.city
Output
$.user.address.city

Array index

First item

Input
items[0]
Output
$.items[0]

Wildcard array

All items ids

Input
items[*].id
Output
$.items[*].id

JMESPath

Same query in JMESPath

Input
items[].id
Output
items[].id

Filter expression

Only active users

Input
users[?active==true]
Output
$.users[?active==true]

Technical details

JSONPath was proposed by Stefan Gössner in 2007 as the JSON equivalent of XPath for XML. The syntax uses $ as the root, . to descend into objects, [n] for array indices, and [*] as a wildcard. $.store.book[0].title selects the title of the first book. JSONPath has several implementations with minor differences; RFC 9535 was published in 2024 to standardize.

JMESPath is an alternative query language standardized by the AWS community. It uses dot notation for object access, bracket notation with wildcards or slices for arrays, and pipes for transformation (results[].name | sort(@)). JMESPath is used in the AWS CLI's --query option, Ansible's json_query filter, and many cloud tools. It is slightly more expressive than JSONPath for transformation but has a different learning curve.

This tool parses your JSON into a tree, renders it as an interactive DOM, and on value selection generates the correct path in both syntaxes. For arrays, it offers both specific-index paths (useful for debugging one value) and wildcard paths (useful for extracting all values in an array). Evaluation uses a lightweight client-side JSONPath/JMESPath engine that handles the most common use cases; for very deep nested data or filter expressions with complex predicates, falling back to jq or a server-side tool is sometimes necessary. All processing is client-side so your JSON never leaves the browser.

Common problems and solutions

Syntax flavor differences

JSONPath and JMESPath look similar but have important differences. Always match the flavor your target tool expects.

Implementation inconsistencies

JSONPath implementations differ on edge cases before RFC 9535. Test your expression in your actual tool.

Unicode escape in keys

Keys with dots or unusual characters need bracket notation: $['key with.dots'].

Array index out of range

Paths referencing indices that may not exist in all responses return empty or throw, depending on the implementation.

Overly generic wildcards

$.* matches everything at the root which is rarely what you want.

Performance on huge JSON

Multi-megabyte JSON may slow browser rendering. For large files, use jq at the command line.

JSON Path Finder — comparisons and alternatives

Counting array indices by hand to write JSONPath queries is slow and error-prone. jq is powerful but command-line only and has its own syntax. IDE plugins for JSON paths help but lock you into an editor. This tool gives you an interactive tree view with one-click path copy, supports both JSONPath and JMESPath, evaluates paths live so you verify before using them, and runs client-side so your data stays private. Fastest way to turn an API response into a test assertion or a pipeline query.

Frequently asked questions about the JSON Path Finder

JSONPath or JMESPath — which should I use?

Use the one your target tool expects. Postman and jq-style tools use JSONPath; AWS CLI and Ansible use JMESPath.

Does the tool support filter expressions?

Basic JSONPath filter expressions like [?active==true] are supported. Very complex predicates may need jq.

Can I extract multiple values at once?

Yes. Use wildcards like items[*].id to get all values in an array.

Does it handle large JSON?

Up to a few megabytes comfortably. For larger files, use jq at the command line.

Can I use this with streaming JSON?

No — the tool loads the full document. For streaming (JSON Lines, NDJSON) consider jq or a scripting language.

Are my JSON documents private?

Yes. All parsing and evaluation happens in your browser.

Can I convert a JSON path to a JavaScript access expression?

Partly. Simple paths like $.a.b.c map cleanly to obj.a.b.c. Wildcards and filters don't have a direct JS equivalent — use map and filter functions.

What if my JSON has duplicate keys?

JSON technically allows duplicates but most parsers keep only the last. The tool follows the standard parser behavior.

Additional resources

Advertisement

Related tools

All JSON Tools

Learn more

Explore more tools

200+ free tools that run in your browser.

Browse all tools →