Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitDeveloperJSONPath Tester

JSONPath Tester

Run JSONPath queries on your JSON live, with filters, paths and a syntax guide. Runs entirely in your browser, so nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
Use cases

One click to the right settings

Filter by value

Pick items whose fields match a condition, like price < 10.

Deep scan with ..

Find a key at any depth in a large document.

List matching paths

Get the exact path of every match to use in code.

How it works

How to use JSONPath Tester

  1. 01Paste your JSON into the JSON panel, or keep the bookstore sample.
  2. 02Type a query starting with $ in the JSONPath query box. Results update as you type.
  3. 03Switch Show between Values, Paths and Both.
  4. 04Click any example under Syntax and examples to try it, then Copy or Save the result.
Questions

JSONPath Tester FAQ

6 answers to what people ask most about the JSONPath Tester.

What is JSONPath?

JSONPath is a query language for JSON, like XPath for XML. $ is the root, a dot or [ ] selects children, .. searches at any depth and [?( )] filters items.

How do I filter an array by a field value?

Use a filter expression such as $..book[?(@.price < 10)]. @ is the current item, and you can combine conditions with && and ||.

What is the difference between $.* and $..*?

$.* returns only the direct children of the root. $..* returns every value at every depth.

How do I get the last item of an array?

Use a slice with a negative start, such as $..book[-1:]. [:2] returns the first two items and [0,2] picks items by index.

How do I refer to the root inside a filter?

Use @root, for example $..book[?(@.price > @root.expensive)]. Plain $ isn't available inside filters in this engine.

Is JSONPath Tester free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
JSON Formatter

Format, minify and validate JSON with clear errors.

Developer
Base64 Encode / Decode

Encode text to Base64 or decode it back, UTF-8 safe.

Developer
URL Encode / Decode

Percent-encode query values or whole URLs.

Developer
HTML Entities

Escape < > & and quotes, or decode entities.

Developer
Something off with JSONPath Tester? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt