Kalcify
Tools
BlogAboutContact
Kalcify

The World's Smartest Free Online Tools. 30+ free calculators & tools — no signup required.

💰 Finance

  • Loan EMI Calculator
  • Global Wealth Calculator
  • Investment Calculator
  • Salary Calculator
  • Sales Tax Calculator
  • Deposit Calculator
  • Compound Interest Calculator
  • Margin & Markup Calculator
  • ROI Calculator

📚 Education

  • Grade Calculator
  • Percentage Calculator
  • Countdown Timer
  • Online Graph Generator

Quick Links

  • Blog
  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service
  • Disclaimer

© 2026 Kalcify. All rights reserved.

Made with ❤️ for the Web 🌍

  1. Home
  2. Tools
  3. JSONPath Tester

JSONPath Tester

Evaluate JSONPath expressions against your JSON live. Supports filters, recursive descent, slices, and unions with matched paths — safe, eval-free, and 100% client-side.

100% Free No Signup Instant Results

JSON Input

Valid

4 matches

[
  "Nigel Rees",
  "Evelyn Waugh",
  "Herman Melville",
  "J. R. R. Tolkien"
]
Show matched paths (4)
  • $['store']['book'][0]['author']
  • $['store']['book'][1]['author']
  • $['store']['book'][2]['author']
  • $['store']['book'][3]['author']

JSONPath Cheatsheet

$The root element
.key / ['key']Child member by name
[0] / [-1]Array index (negative = from end)
[*] / .*Wildcard — all children
..keyRecursive descent (search everywhere)
[start:end:step]Array slice
[a,b]Union of indices or keys
[?(@.k < 10)]Filter by an expression

Test JSONPath Expressions Online

JSONPath is the go-to way to pull specific values out of a JSON document, and it shows up everywhere: API testing tools, configuration systems, CI/CD pipelines, and libraries in nearly every programming language. But writing a path correctly on the first try is hard, especially with filters and recursive queries. This tester gives you a live playground: paste your JSON on one side, type a path on the other, and see the matched results update instantly as you type. Everything runs locally in your browser, so you can safely test paths against private API responses or sensitive config without anything being uploaded. When a path is wrong, you get a clear inline error instead of a silent empty result, which makes debugging far faster than trial-and-error in code.

Safe Filters, Result Paths & Quick Examples

Unlike many free JSONPath tools that evaluate filter expressions with JavaScript eval() — a genuine security risk when handling untrusted input — this tester uses a sandboxed interpreter. It fully understands filters like [?(@.price < 10 && @.category == "fiction")] but can never run arbitrary code, so it is safe for any JSON you paste. The tool supports the full common JSONPath syntax: child selectors, array indices (including negatives), wildcards, recursive descent with .., array slices, unions, and filter expressions. A one-click example gallery and a built-in cheatsheet help you learn the syntax quickly, and you can copy or download the matched results as JSON for use elsewhere.

How to use this JSONPath Tester?

1

Paste JSON

Drop your JSON document into the input panel — it is validated live.

2

Write a Path

Type a JSONPath expression like $.store.book[*].author, or pick an example.

3

See Matches

Results update instantly, with the matched values and their canonical paths.

4

Copy or Export

Copy the matched values as JSON or download them as a file.

Frequently Asked Questions

JSONPath is a query language for JSON, similar to what XPath is for XML. It lets you select and extract specific values from a JSON document using a compact path expression like $.store.book[0].title, without writing custom code.
No. This tester runs entirely in your browser. Your JSON and query never leave your device, which makes it safe to use with private API responses, config files, or sensitive data.
No — and this is an important safety point. Many JSONPath tools evaluate filter expressions like [?(@.price < 10)] using JavaScript eval(), which can be a security risk. This tool uses a purpose-built, sandboxed interpreter that understands comparisons and logic but can never execute arbitrary code.
Filters support the comparison operators ==, !=, <, <=, >, and >=, combined with && (and) and || (or). You can reference the current item with @ and its fields with @.fieldName or @['field name']. For example: [?(@.inStock == true && @.price < 20)].
Common causes: the path does not match your JSON structure, a key name is misspelled or case-sensitive, or you forgot the leading $. Check the live error message, and try the recursive descent operator .. if you are unsure exactly where a key lives in the tree.

Related Tools

JSON Formatter & Validator

Format and validate JSON

Use Free

Regex Tester & Matcher

Real-time regex editor & visual tester

Use Free

String Escape & Unescape

JSON, Base64 & URL string encoding

Use Free