./prontouso.com

DEVELOPER TOOLS

JSONPath Tester

Paste JSON, write a JSONPath expression, and see matched values with their paths for quick API and data debugging.

Tool statusRuns in your browser
Preview

Results

2 match(es).

How it works

  1. Enter your input

    Fill in the values, paste your text, or upload the file this tool works with.

  2. See results instantly

    Most tools update live as you type; a few use a single button. Either way, the result appears right on this page.

  3. Use your results

    Copy, download, or share what the tool produces — you're always in control of the output.

Privacy and processingRuns locally in your browser. This tool does not upload your input.

What is JSONPath Tester?

Experiment with JSONPath selectors and inspect matched values with their paths while working through an API response or fixture.

UNDERSTAND THE TOOL

How to test JSONPath expressions

Supported selectors

The tester supports root $, dot properties, quoted bracket properties, array indexes, wildcards, recursive property search with $..name, and recursive wildcard search with $..*.

Reading matches

Results are returned as JSON objects containing the matched path and value. This makes it easier to see whether the expression matched the value you expected or a parent object around it.

Useful workflow

  • Start with a broad selector such as $.items[*] or $..price.
  • Narrow one segment at a time until the count matches your expectation.
  • Use bracket notation for property names that contain spaces or punctuation.

Testing notes

The matcher is a focused subset for quick selector checks. Confirm complex production selectors in the library or runtime that will execute them.

Frequently Asked Questions

Does it support filters like [?(@.price > 10)]?

No. This version does not evaluate filter expressions, slices, unions, or script expressions.

How do I select every value under an object?

Use $..* to collect every descendant value, or $..propertyName to collect every property with a specific name.

Why is my bracket selector failing?

Bracket property selectors need quotes, such as $['user-name']. Unquoted brackets are treated as array indexes or wildcards.

Can it query invalid JSON?

No. The JSON must parse first. Syntax errors are shown before the JSONPath expression is evaluated.