JSONPath Tester

Run JSONPath queries such as $.items[*].id on your data.

JSONPath Tester

.json

Paste text or open a file to see the result.

What it does

Runs JSONPath queries on your JSON and shows what they return. Useful for writing and checking queries before using them in code, tests or tools like Postman. You see the matching values and their paths.

How to use the JSONPath Tester

  1. Paste the JSON into the Input box.
  2. Type the query in JSONPath, starting with $, for example $.items[*].name.
  3. Use [0] for the first item, [*] for every item and .. to search at any depth.
  4. Pick Values, Paths or Both under Result and adjust the query until the matches are right.

About the .json format

.JSON file extension
File Type
JavaScript Object Notation File
Developer
Specified by Douglas Crockford
Category
Web Files
MIME
application/json

JSON is a lightweight data-interchange format.

Related tools

More in JSON & Data

JSONPath Tester questions

How do I use the JSONPath Tester?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .json change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .json page lists programs and converters for it.