Free Online Developer Tools - ULID, UUID, NanoID, CUID, Snowflake ID, JWT Decoder, Base64, JSON Formatter & More

Tools Menu

JSONPath Tester

Test a JSONPath query against JSON you paste. Match nodes locally in the browser; nothing leaves your device.

What it does
Runs a JSONPath query against JSON you paste.
When to use it
You are checking that a query selects the nodes you expect.
Example
A query looks like $.items[0].name. Matches are shown from your document.

JSONPath Tester

Test and validate JSONPath expressions against your JSON data.

JSON
Ln 1, Col 10 B
Empty

JSONPath Expression

Result

JSONPath Reference

Basic Syntax

SymbolDescription
$Root object
@Current object
.Child operator
..Recursive descent
*Wildcard. All objects/elements
[]Subscript operator
[,]Union operator

Examples

JSONPathDescription
$.store.book[0]First book
$.store.book[-1]Last book
$.store.book[0,1]First two books
$.store.book[*]All books
$.store.book[*].authorAll authors
$.store.book[?(@.price < 10)]Books less than 10 dollars
$..book[?(@.isbn)]All books with ISBN
Help keep this tool free & serverless