🔎

JSON Path Finder

Evaluate JSONPath expressions against JSON to find matching values. Supports dot notation, recursive descent, wildcards, array slicing, union, and filter expressions. Shows each match with its full resolved path. 100% client-side and free.

Data ToolsDevelopment
Loading tool...

How to Use JSON Path Finder

How to Use the JSON Path Finder

Step 1: Paste Your JSON

Paste any valid JSON into the left input panel. The tool accepts JSON objects, arrays, and nested structures of any depth. Use one of the built-in examples to get started quickly — each example loads both the JSON and a matching expression.

Step 2: Enter a JSONPath Expression

Type your JSONPath expression in the input field on the right. All expressions start with $ (the root). The tool evaluates your expression in real time as you type — no button click required.

Step 3: Read the Results

Each matching value is displayed in its own card showing:

  • The resolved path (e.g., $.users[0].name) — the exact location of the value in the JSON tree
  • The value type (string, number, boolean, object, array, null)
  • The value itself, formatted as JSON

Step 4: Copy Individual Results

Each result card has two copy buttons:

  • path — copies the resolved JSONPath string (useful for use in code)
  • value — copies the matched value as a JSON string

Step 5: Copy All Results

Click Copy All to copy all matches as a JSON array of { path, value } objects. This is useful for documentation or passing results to another tool.

Step 6: Load Examples

Click any example button below the expression input to load a pre-built JSON + expression pair:

  • User Names — extract all names from a users array with $.users[*].name
  • Recursive Hosts — find all host values anywhere in a nested config with $..host
  • Array Slice — extract a range of products with $.products[1:3].name
  • Filter Expression — filter orders by status with $.orders[?(@.status == "shipped")].id

Common Use Cases:

  • API development: Verify response structure by querying sample payloads
  • Data extraction: Pull specific fields from large JSON blobs
  • Configuration inspection: Find all values for a specific key across a deeply nested config
  • Debugging: Explore unfamiliar JSON structures by querying paths incrementally
  • Documentation: Discover and document the exact paths to values in an API response
  • Test fixture writing: Find the paths you need to assert in test code

Tips and Best Practices:

  • Start with $ — all valid JSONPath expressions begin with the dollar sign (root)
  • Use $..key (double dot) for recursive search across all nesting levels
  • Use [*] to iterate all elements of an array or all values of an object
  • Combine segments: $.users[*].address.city drills into nested objects within an array
  • Filter expressions support ==, !=, >, <, >=, <= operators
  • Use [-1] to select the last element of an array
  • Array slices use Python-style notation: [1:4] returns elements at indices 1, 2, 3
  • Click the resolved path in any result to understand exactly where the value lives
  • The syntax reference card at the bottom is always visible as a quick reminder

Frequently Asked Questions

Most Viewed Tools

📺

Screen Size Converter

1,620 views

Calculate screen width and height from diagonal size and aspect ratio. Convert between inches and centimeters for displays, TVs, and monitors with instant dimension calculations.

Use Tool →
🔀

Reorder PDF Pages

600 views

Drag and drop to rearrange PDF pages in any order. Upload your PDF, preview all pages as thumbnails, drag pages to reorder them, and download the rearranged PDF. Fast, visual, and privacy-focused.

Use Tool →
🖨️

DPI Calculator

569 views

Calculate DPI (dots per inch), image dimensions, and print sizes. Convert between pixels and physical dimensions for printing and displays.

Use Tool →
📄

Paper Size Converter

512 views

Convert between international paper sizes (A4, Letter, Legal) with dimensions in mm, cm, and inches. Compare ISO A/B series and North American paper standards.

Use Tool →

Fuel Consumption Converter

406 views

Convert between MPG (miles per gallon), L/100km (liters per 100 kilometers), and other fuel efficiency units. Compare car fuel economy across different measurement systems.

Use Tool →
✂️

CSV Splitter

362 views

Split large CSV files into smaller files by number of rows. Process large datasets in manageable chunks instantly.

Use Tool →
🛍️

Product Schema Generator

331 views

Generate JSON-LD Product schema markup for SEO. Add product details like name, price, brand, rating, and availability to create structured data for rich search results.

Use Tool →
📄

Large Text File Viewer

309 views

View and search large text files up to 200MB in your browser. Features virtual scrolling, line numbers, search functionality, and file statistics. Perfect for log files, CSV, JSON, and code files.

Use Tool →

Related Development Tools

📱

QR Code Generator

Featured

Create custom QR codes for URLs, text, and contact info

Use Tool →
🔄

YAML to JSON Converter

Convert YAML data to JSON format instantly. Supports nested objects, arrays, and multi-level structures. Output as pretty-printed or minified JSON. 100% client-side and free.

Use Tool →
🗂️

Parquet to CSV Converter

Convert Apache Parquet files to CSV format instantly in your browser. No uploads, no server — all processing is 100% client-side.

Use Tool →
🎨

CSS to SCSS Converter

Convert plain CSS to SCSS/Sass instantly. Automatically nests child selectors under their parents, extracts repeated hex colors as $variables, and preserves @media blocks — no server required.

Use Tool →
🟣

Kotlin Formatter

Format Kotlin code instantly in your browser. Fix indentation, enforce opening-brace-on-same-line style, and add trailing commas to function parameters and class bodies — no server required.

Use Tool →
💎

Ruby Formatter

Format and clean up Ruby code instantly in your browser. Fix indentation, align end blocks, and normalize string quotes — no server required.

Use Tool →
🪙

XML to TOON Converter

Convert XML to TOON (Token Oriented Object Notation) and reduce LLM token usage. XML is the most verbose format — savings can exceed 50%. Free, browser-based.

Use Tool →
🦀

Rust Formatter

Format Rust code instantly in your browser. Fix indentation, enforce opening-brace-on-same-line style, and add trailing commas to structs and enums — no server required.

Use Tool →

Share Your Feedback

Help us improve this tool by sharing your experience

We will only use this to follow up on your feedback