LocalExcelTool
Get started

JSONPath Tester

Extract values from JSON with JSONPath expressions, filters included.

Runs in your browserNo account neededFree

What is JSONPath Tester

This JSONPath tester extracts values from JSON using expressions like $.store.book[*].author, $..price or filters such as [?(@.price>40)]. Built on jsonpath-plus; it lists the match count and each value. Useful for inspecting API responses or learning data extraction. Everything runs locally.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

JSONPath has dialects, and they disagree

The original Goessner proposal was never standardised; RFC 9535 finally defined a JSONPath in 2024, and implementations still differ on the edges. The biggest divergence is how $..name behaves, whether a filter can reference the root, and whether a missing path returns undefined, null or an empty list.

That means a path that works in one library can return a different result in another with no error. Recursive descent and filters are where the differences concentrate; simple child and index access is portable.

Filters are expressions, not queries

A filter such as [?(@.price < 10)] evaluates an expression against each candidate node. Comparison semantics follow the host language in many implementations, so string versus number comparison differs: "10" < 9 can be true in a language that coerces and false in one that does not.

Negative indices, slices and array unions are widely supported but not universally, and slice syntax [$start:$end:$step] is one of the later additions. If a path must run across languages, stick to child access, index access and a single filter.

Debugging a path that returns nothing

Start from $ and add one step at a time, checking the type at each stage. The usual causes are a path that assumed an object where the data has an array, a key with a hyphen that needs bracket notation, and a case mismatch — JSON keys are case-sensitive and most APIs use camelCase.

Then check whether the tool returns an empty list or an error for a missing path. Empty list is the useful behaviour for optional data; an error forces the caller to guard every access. Knowing which your production library does prevents a whole class of 500s.

How to use it

  1. 1.Paste your JSON
  2. 2.Enter a JSONPath expression
  3. 3.Run and review the matches

How JSONPath Tester works under the hood

Developer tools here are deterministic byte and string transformations. The useful question is not whether they are fast, but whether the output can be verified against a reference.

  1. 1

    Encode the input

    Text is converted to UTF-8 bytes with TextEncoder; binary input is read as an ArrayBuffer.

  2. 2

    Apply the primitive

    Hashing and HMAC use Web Crypto (SHA-1/256/384/512); encoding, escaping and formatting are pure functions over the bytes or string.

  3. 3

    Format the output

    The result is rendered as lowercase hex, Base64, or the target syntax, with the exact same rules the specification defines.

  4. 4

    Compare and copy

    Output stays on the page so you can diff it against a reference implementation before using it.

  5. Processing pipeline

Hashing is not encryption

A SHA-256 digest is one-way: there is no key and no way back. It proves that two inputs are identical (or not), which is what integrity checks need. It does not hide a password — for that you need a slow, salted KDF such as Argon2id, which this site uses for account passwords.

What runs where

Every transformation in this category runs in the tab. No key, token or payload is sent to us; the site cannot see what you hashed or decoded. That also means there is no server-side undo — if you close the tab, the input is gone.

Limits worth knowing

JWT decoding shows the header and payload; it does not validate the signature unless you supply the key, and it never proves the issuer is trustworthy. Regex-based tools can degrade badly on pathological input, so input size is capped. Very large payloads are also capped to keep the tab responsive.

Verify it yourself

Compare the output against a reference before you ship it.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Which syntax is supported?

Standard JSONPath — $ . .. [*] and filter expressions — via jsonpath-plus.

What if there are many matches?

The first 100 matches are shown, each value truncated at 300 characters.

What this kind of conversion cannot keep

Developer tools here check what breaks silently: a missing canonical, a description over the length search engines display, a sitemap that returns 200 but lists dead URLs. Each result links to the exact line or URL, because a warning you cannot act on is noise.

More in Developer