Skip to content
JSON + Path → MatchesDeveloper tools

JSONPath Tester

Test JSONPath on your JSON: every match with its path, filters, slices and functions, and a list of paths to start from.

Did this tool work for you?

Used JSONPath Tester? Share how it went to help others.

About this tool

About JSONPath Tester

JSONPath Tester finds values in JSON with a path and shows every match together with its own exact path. JSONPath is to JSON what XPath is to XML, and is used in API tests, Kubernetes, log tools and databases. The tester follows RFC 9535, the official standard from 2024. A path starts with a dollar sign, the whole document. A dot and a name go one level down, two dots search at any depth, and a star takes everything. Square brackets take a position, counted from zero or from the end with a minus sign, a slice such as [0:2], several positions, or a quoted name with spaces. Filters pick items by their values: $.store.books[?@.price > 300].title gives the titles of books that cost more than 300. Filters can compare with numbers, text, true, false and null, look at other parts of the document, be joined with and, or and not, and use the functions length, count, match, search and value. The older way of writing filters, with round brackets, works too, and a path without the leading dollar sign is accepted. If a path has a mistake, the message says at which character and what was expected. Not sure how to begin? Open Paths in your JSON for a list taken from your own data and tap one, or look at the examples. Switch between values and paths, tap a path to look at just that match, copy the result as a JSON array, or download it. Paths are read by the tool itself and never run as program code, so a path from someone else cannot do any harm. JSON problems are explained with line and column. Functions help with harder questions: search finds text inside a value, length counts letters or items, and count tells you how many matches a path inside the filter has. Files up to 5 MB can be opened, and everything stays in your browser.

JSONPath Tester tool

Where JSONPath is used

Find values without code

API tests

Write the path for a check.

Example$.data.user.id

Kubernetes

Find fields in a long answer.

Example$.items[*].metadata.name

Large JSON

Look for one field at any depth.

Example$..email

Lists

Take one property of every item.

Example$.orders[*].total

Picking items

Use a filter on a value.

Example$.orders[?@.status == 'paid']

Learning

Change the path and watch the matches.

ExampleTry slices such as [0:2] and [-1].

JSONPath tips

Precise paths

Be specific

A full path is faster and safer than two dots.

Quote odd names

Use ['first name'] for names with spaces or dashes.

Tools differ

Kubernetes and some databases have their own variants. Test there too.

Format first

See the structure of the JSON.

Open JSON Formatter

Describe the data

Make a schema from it.

Open JSON Schema Generator

Need a table?

Turn JSON into CSV.

Open JSON to CSV
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed JSONPath Tester and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 25 November 2026

Answers and guidanceFrequently Asked Questions
What is JSONPath?
A short way to point to values in JSON, such as $.store.books[0].title.
How do I get a property of every item?
Use a star: $.books[*].title.
How do I find a field at any depth?
Use two dots: $..price.
How do I filter items?
Put a question mark in the brackets: $.books[?@.price > 300]. The @ sign is the item.
How do I get the last item?
Use -1: $.books[-1].
Why does my path work elsewhere but not here?
Some programs have their own additions. This tester follows RFC 9535.
Is my JSON uploaded?
No. Everything stays in your browser.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.