Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

JSONPath Tester

JSONPath Tester helps developers, testers and analysts find values in nested JSON and check filters as they type. It runs in your browser without uploading your JSON and accepts up to 5 MB.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.

What is the JSONPath Tester?

JSONPath Tester is a free tool for checking which values a JSONPath expression selects from your JSON. Paste a document into Your JSON, enter a query in JSONPath, and inspect the matches as you type. It uses the open source JSONPath Plus library in safe mode, which reads filter expressions without running them as code. Developers use it to inspect API responses, testers check expected fields, and analysts explore nested data. You can switch between matching values and their locations, then copy the result. It is free with no subscriptions.

Who it is for: JSONPath Tester is for developers, API integrators, QA engineers, data analysts and people learning JSONPath.

How to use the JSONPath Tester

  1. Paste a valid JSON document into Your JSON.
  2. Enter an expression in JSONPath, such as $.store.book[*].title, or try Everything: $..*, Filter: price under 10 or First book.
  3. Watch Matches update as you type, or tap Test path, then check the match count.
  4. Turn on Show where each match is (its path) instead of its value if you need locations rather than values.
  5. Tap Copy result to copy the displayed matches.

Why use it

  • Check queries as you typeSee matches update while you edit a path, so you can spot the selector that changes your result.
  • Find each match's locationSwitch from values to paths to see where matching items sit inside nested objects and arrays.
  • Test filters safelyCheck conditions such as price under 10 without running filter expressions as JavaScript code.
  • Keep JSON on your deviceYour JSON is processed in your browser and is never uploaded.

At a glance

What you put in
Valid JSON up to 5 MB and a JSONPath expression
What you get
Matching values or paths, plus a match count
Limits
JSONPath Plus safe mode; no arbitrary JavaScript function calls
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
Your JSON:
{
  "store": {
    "book": [
      { "title": "River Maps", "price": 8.95 },
      { "title": "City Walks", "price": 10 },
      { "title": "Night Trains", "price": 9.5 }
    ]
  }
}

JSONPath:
$.store.book[?(@.price < 10)].title
Result
[
  "River Maps",
  "Night Trains"
]

With the path switch off, Matches contains two titles: 8.95 and 9.5 are below 10, while 10 is excluded.

When to use something else

  • For documents larger than 5 MB, use a local script or command-line tool; broad recursive queries can also slow down a phone.
  • Before shipping a query, test it in your actual library: RFC 9535, Jayway, Goessner-derived tools and product-specific dialects can differ.
  • For reshaping data or calling arbitrary JavaScript functions, use a programming language or transformation tool; this tester selects matches using safe-mode filters.

Questions people ask

How do I test a JSONPath expression online?

Paste valid JSON into Your JSON and enter your expression in JSONPath. Matches updates as you type, and you can also tap Test path. Use Copy result when the matches are what you expect.

What does $ mean, and how do I select nested properties?

$ means the root of the JSON document, so $.store.book selects book inside store. Use bracket notation for unusual keys, such as $["order-total"]. If your path does not start with $, this tester adds $. at the beginning.

How do I select array items or search every level?

Use [*] for all array items, [0] for the first, [-1] for the last, or [0,2] for the first and third. The slice [1:3] selects indexes 1 and 2. Use $..title to find properties named title at any depth.

How do I filter an array by a property value?

Use $.store.book[?(@.price < 10)] to select books priced below 10; @ refers to the item being tested. Conditions such as [?(@.tags && @.tags.length > 1)] are also supported. Safe mode does not allow arbitrary JavaScript function calls.

Can I see paths instead of matching values?

Yes. Turn on Show where each match is (its path) instead of its value to display locations in Matches. Use Copy result to copy that output.

Why does my query return no matches or an error?

Zero matches can mean the property name, nesting or filter condition does not match your data. Invalid JSON gives an error, so check the document first. Simplify the path to $ and add selectors one at a time.

Does this tester support RFC 9535 exactly?

This tester uses JSONPath Plus in safe mode, not a guaranteed RFC 9535-only implementation. Many common selectors work across dialects, but filters and functions can differ. Verify the expression in your target library before using it in production.

Is my JSON uploaded, and can I use the tester offline?

Your JSON stays in your browser and is never uploaded. The tester works offline once the tool has been opened and is available offline. Input is limited to 5 MB, and complex queries may be slower on phones.

Next, you might need