Data & Code

JSON Path Explorer

Read a dotted path such as users.0.email from JSON.

Read the guide

Run the tool

The calculation runs in your browser. This tool does not send your input to JVR Software.

More information

Back to the tool

What it is and when to use it

JSON Path Explorer reads one nested value from JSON using a simple dot-separated path. Use it when an API response is large and you need to inspect a single name, ID or entire nested object without scrolling through the rest of the document.

How it works

The tool parses JSON, then follows each path segment as an object key or an array position. Array positions start at zero. The path syntax is a small dotted lookup used by this page. It does not implement the full JSONPath language with filters, wildcards or recursive descent.

How to use it

  1. Paste valid JSON.
  2. Enter a dot-separated path such as users.0.name, then run the lookup.
  3. If it returns no value, inspect each shorter prefix to identify the segment whose name or array index is different.

Worked example

With {"users":[{"name":"Ava"},{"name":"Sam"}]}, users.0.name returns "Ava" and users.1.name returns "Sam". Use users.0 to see the whole first object instead of only its name.

Reading the result

String output appears quoted as a JSON string. An explicit null is a valid JSON result and is different from an absent property. A path pointing to an object or array returns that subtree rather than listing every matching descendant.

To inspect the second object in a list nested under data.results, try data, then data.results, then data.results.1. This isolates whether you chose the wrong branch, entered an out-of-range position, or asked for a field absent from just that one object.

Common mistakes and limits

Use exact case in keys. A key that contains a literal dot cannot be addressed reliably with this shorthand. For such documents, use a full JSONPath tool or inspect the formatted document directly. Avoid treating paths as permission checks or rules for accepting untrusted data.