JSONPath Query Tester

Select values and their paths from pasted JSON using a documented JSONPath query subset.

Inputs stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Inspect input controls

Showing an example. Edit to see your own.

Up to 1,000,000 UTF-8 bytes, 20,000 nodes and 32 nesting levels. Repeated object keys are refused.

Root $, named children, array indices, wildcards, slices and recursive named members. No filters, unions, functions or JMESPath.

Processed in your browser. Your inputs stay on this device.

How to use JSONPath Query Tester

  1. Paste a JSON document.
  2. Enter a supported JSONPath expression and run it.
  3. Review the matched paths and values before downloading them.

Example: JSONPath Query Tester

{"books":[{"title":"Dune"}]} with $.books[*].title

You add
JSON document: {"books":[{"title":"First","price":12},{"title":"Second","price":8}]} JSONPath subset: $.books[*].title
You get
Found 2 matches. Sample rows: /books/0/title | "First"; /books/1/title | "Second".

Options

Selection syntax
Use the documented child names, array indexes, wildcards, slices or recursive named members. Filters, functions and script evaluation are outside this subset.
Match paths
Read each returned path alongside its value. Several equal values can come from different locations in the JSON document.

Supported inputs and limits

JSON up to 1,000,000 bytes, 20,000 nodes and depth 32; query up to 2,048 bytes and 64 segments. Child names, indexes, wildcards, slices and recursive named members only. Up to 100,000 selection operations and 1,000 matches. No filters, unions, functions, script evaluation or JMESPath.

Where your input is processed

This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

An empty selection is a result

Check the spelling of property names, whether a node is an array and the actual indexes before changing the query. This tool selects data; it does not validate the document against a schema or rewrite it. Keep the path export when downstream work needs to distinguish identical values from different records.

Questions about JSONPath Query Tester

Why does a query fail instead of returning nothing?

Unsupported query syntax is refused; a supported query with no matches has an empty result.

Can I use JMESPath or filters?

No. This tool supports only the listed JSONPath selectors.

Is a missing property the same as null?

No. A missing property is not selected, while an existing null value can be a match.

Project manager: Tony Hines · Content updated 4 October 2026 · Report a problem