Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
JSON Path Finder

JSON Path Finder

Find JSONPath expressions by clicking nodes in an interactive tree view, or evaluate JSONPath queries to extract data from JSON.

What is JSON Path Finder?

JSON Path Finder is an interactive tool that helps you navigate and query JSON data structures. Whether you're a developer working with APIs, a QA engineer testing endpoints, or a data analyst exploring datasets, this tool makes it easy to find the exact path to any piece of data in your JSON.

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. It allows you to specify paths to elements within a JSON document using a simple expression syntax. For example, $.store.book[0].title refers to the title of the first book in a store object.

Two Powerful Modes

Find Path

Click any node in the visual tree to instantly see its JSONPath expression. Perfect for quickly identifying the path you need.

Evaluate

Enter a JSONPath expression and see the matching results immediately. Great for testing queries before using them in your code.

Your Data Stays Private

100% Client-Side Processing: All processing happens in your browser. Your JSON data never leaves your device, and we don't collect or store any information you enter.
  • No uploads — Your JSON data never leaves your device
  • No tracking — We don't collect or store any data you enter
  • Complete privacy — Everything runs locally in your browser

How to Use JSON Path Finder

Getting Started

1

Load Your JSON Data

Paste your JSON data into the input panel on the left, or click the Sample button to load example data. You can also use the Upload button to load a .json file from your device.

2

View the Tree Structure

The tree view on the right will automatically display the parsed JSON structure with color-coded data types and collapsible nodes.

3

Click to Get Paths

Click on any key, value, or array element in the tree view. The path bar will show the JSONPath expression for that node, ready to copy.

Finding Paths (Find Path Mode)

The Find Path mode is perfect for discovering JSONPath expressions through visual exploration:

  • Make sure Find Path mode is selected in the toolbar
  • Click on any key, value, or array element in the tree view
  • The path bar will show the JSONPath expression for that node
  • Click Copy to copy the path to your clipboard

Evaluating Expressions (Evaluate Mode)

The Evaluate mode lets you test JSONPath queries and see results in real-time:

  • Switch to Evaluate mode using the toolbar toggle
  • Enter a JSONPath expression in the input field (e.g., $.store.book[?(@.price < 10)])
  • Press Enter or click the Run button
  • View the matched results below, including the number of matches
  • Click Copy to copy the results
Pro Tip: Use the Dot / Bracket toggle to switch between notation styles. Dot notation ($.store.book[0].title) is cleaner, while bracket notation ($['store']['book'][0]['title']) works with special characters in keys.

Features

Interactive Tree View

Your JSON is displayed as a collapsible tree with color-coded data types for easy navigation.

  • Objects with purple badges (key count)
  • Arrays with green badges (element count)
  • Distinct colors for strings, numbers, booleans, and null
  • Expand/collapse controls for large structures

Click-to-Path

Simply click any node in the tree to instantly get its JSONPath expression.

  • Real-time path updates
  • One-click copy to clipboard
  • Works with nested structures
  • Supports both notation styles

JSONPath Evaluator

Test JSONPath expressions and see results immediately with full syntax support.

  • Child access and wildcards
  • Array indexing and slicing
  • Recursive search
  • Advanced filtering

Supported JSONPath Syntax

The evaluator supports a comprehensive range of JSONPath features:

Feature Syntax Example
Child Access $.key or $['key'] $.store.name
Array Indexing $[index] $.book[0], $.book[-1]
Wildcards $.* or $[*] $.store.*, $.book[*]
Recursive Search $.. $..author
Array Slicing $[start:end:step] $.book[0:3], $.book[0:6:2]
Filters [?(@.field operator value)] $.book[?(@.price < 10)]

Additional Tools

Notation Toggle

Switch between dot notation and bracket notation with a single click. Choose the style that works best for your use case.

JSONPath Cheat Sheet

Click the ? button to open a quick reference table with common JSONPath expressions and their descriptions.

Smart Tree Controls

Use Expand All and Collapse All buttons to quickly navigate large JSON structures.

Frequently Asked Questions

What is a JSONPath expression?

A JSONPath expression is a string that describes a path to one or more elements in a JSON document. It always starts with $ (the root element) and uses dots or brackets to navigate deeper into the structure.

Example: $.users[0].name gets the name of the first user in the users array.

What's the difference between dot and bracket notation?

Dot Notation

$.store.name

  • Shorter and easier to read
  • Only works with simple alphanumeric keys
  • Cannot handle special characters
Bracket Notation

$['store']['name']

  • Works with any key
  • Handles special characters, spaces, hyphens
  • More verbose but more flexible

How do I filter array elements?

Use the filter syntax [?(@.field operator value)] where @ represents the current element being evaluated.

Common filter examples:

  • $.products[?(@.price < 50)] — products cheaper than 50
  • $.users[?(@.active == true)] — active users only
  • $.items[?(@.category == 'electronics')] — items in a specific category
  • $.orders[?(@.quantity >= 10)] — orders with 10 or more items

What does the .. operator do?

The double-dot (..) performs a recursive search through the entire JSON structure, looking at every level of nesting.

Example: $..name finds all values with the key "name" regardless of where they appear in the hierarchy — whether at the root level, nested in objects, or deep within arrays.

Performance Note: Recursive searches can be slow on very large JSON documents as they examine every node in the tree.

Can I use negative array indices?

Yes. Negative indices count from the end of the array, making it easy to access elements from the back without knowing the array length.

  • $.array[-1] returns the last element
  • $.array[-2] returns the second-to-last element
  • $.array[-3] returns the third-to-last element

Is my data safe?

Absolutely. All JSON parsing and JSONPath evaluation happens entirely in your browser using JavaScript. Your data never leaves your device.

  • No server uploads — everything runs client-side
  • No data storage — nothing is saved after you close the page
  • No tracking or analytics on your JSON content
  • Complete privacy and security

What's the maximum JSON size supported?

There is no hard limit imposed by the tool, but very large JSON files may impact browser performance due to tree rendering and DOM manipulation.

Optimal Performance < 1 MB
May Slow Down 1-10 MB
Performance Issues > 10 MB

Recommendation: For best performance, keep your JSON under a few megabytes. If you're working with very large files, consider extracting and testing smaller sections.

JSONPath Cheat Sheet
Expression Description
$Root object
$.keyChild property
$..keyRecursive search
$.arr[0]Array index
$.arr[-1]Last element
$.arr[*]All elements
$.arr[0:3]Array slice
$.arr[?(@.price<10)]Filter expression
$.obj.*All values
Input
Tree View

Paste JSON to explore its structure

Path
$
Query

            
| |
Click any node in the tree to instantly get its JSONPath expression
Switch between Dot and Bracket notation using the toggle
Use Evaluate mode to run JSONPath queries and extract matching data
Try $.store.book[?(@.price < 10)] to filter books by price
Use $..author to find all authors at any depth
Press Enter in the expression input to run the query
Click the ? button to see the JSONPath cheat sheet
All processing happens in your browser - no data is sent to any server
Want to learn more? Read documentation →
1/9
Start typing to search...
Searching...
No results found
Try searching with different keywords