Free online JSONPath tester and evaluator. Test JSONPath expressions against JSON data with real-time results, filter expressions with logical operators, expression history, quick expressions, and built-in syntax cheat sheet. 100% browser-based with zero uploads.
100% browser-based — your data never leaves your device
Test JSONPath expressions against JSON data and see matched results.
Copy your JSON data and paste it into the input area.
Type your JSONPath query (e.g., $.store.book[0].title) or use the cheat sheet for reference.
Matched nodes are highlighted in the JSON tree with the extracted results displayed below.
Drop a file here or click to browse
Ctrl+Enter to find paths
Format, minify, validate, and explore JSON with tree view, JSONPath queries, and multi-format export — the complete JSON workbench.
JSON CompareCompare two JSON files side by side with real-time diff highlighting.
CSV to JSON ConverterConvert CSV data to JSON format with support for headers and custom delimiters.
YAML to JSON ConverterConvert YAML data to JSON format with support for complex nested structures.
JSON ValidatorValidate JSON data and detect syntax errors with detailed error messages and line numbers.
JSON to TOML ConverterConvert JSON data to TOML format for configuration files.
JSON Schema GeneratorGenerate JSON Schema (draft-07) from sample JSON data automatically.
HTML ↔ JSON ConverterConvert HTML markup to structured JSON and back.
JSON to CSV ConverterConvert JSON arrays to CSV format with customizable delimiter, headers, and nested object flattening.
JSON Query ToolExtract values from JSON using dot-notation and bracket-notation paths.
JSON to TypeScriptConvert JSON to TypeScript interfaces instantly. Generate typed interfaces from JSON samples for type-safe development.
JSON to PythonConvert JSON to Python dataclasses instantly. Generate typed Python classes from JSON samples for type-safe data handling.
This tool evaluates JSONPath expressions against your JSON and shows which nodes match, all inside your browser. Results update as you type, and matched nodes are highlighted in the JSON tree with the extracted values listed below.
The built-in cheat sheet covers the root marker, dot and bracket notation, recursive descent, wildcards, and filter expressions.
JSONPath is the standard query language for pulling data out of complex JSON, and a tester turns expression-writing from guesswork into an iterative craft. When you build data extraction pipelines, you develop an expression against one document and need it correct before it runs against thousands. This tool gives immediate feedback on where a query matches, so you can refine the expression in seconds. It is equally useful for validating structure by testing whether a path returns what you expect.
Filter expressions are the part most worth testing. A query like $.store.book[?(@.price < 10)] selects matching array elements, and combining filters with and and or operators lets you express precise conditions. The real-time matching means you see the node set change as the expression changes, which is the fastest way to understand how each token behaves. Highlighting in the tree connects the abstract expression to the concrete document.
The documents you test expressions against are often the live products of your pipeline, containing the actual values your system processes. Testing a query against production data with an online evaluator sends that data to a server before your pipeline even runs.
This JSON Path Tester evaluates expressions locally in your browser, so your documents never leave your device. You can develop and debug queries against real data while keeping the source documents private.
Copy your JSON data and paste it into the input area.
Type your JSONPath query (e.g., $.store.book[0].title) or use the cheat sheet for reference.
Matched nodes are highlighted in the JSON tree with the extracted results displayed below.
Practical examples to help you get the most out of JSON Path Tester:
// JSON:
// {"store": {"book": [{"title": "1984", "price": 9.99}, {"title": "Brave New World", "price": 12.99}]}}
// Expression: $.store.book[0].title
// Result: "1984"// Expression: $.store.book[?(@.price < 10)]
// Result: [{"title": "1984", "price": 9.99}]
// Expression: $..price
// Result: [9.99, 12.99] (all price values at any depth)All JSONPath expressions must start with $. Without it, the expression won't be valid. Always begin with $. or $[.
JSONPath uses @ for the current node (not .) and ?() for filters (not [@attr=value]). Check the syntax cheat sheet if you're more familiar with XPath.
JSONPath is a query language for extracting specific data from complex JSON documents. It is the JSON equivalent of XPath for XML.
$.store.book[0].title gets the first book's title. $..price finds all prices anywhere. $.store.book[?(@.price < 10)] filters books under $10.
Yes. JSONPath filters like [?(@.price < 10)] or [?(@.name == 'foo')] are fully supported to select matching elements from arrays.
No. All JSONPath evaluation happens locally in your browser.
See JSONPath query results update as you type the expression.
Cheat sheet of JSONPath syntax: $, ., [], .., *, @, filters.
Matched nodes highlighted in the JSON tree view.
All processing happens in your browser.
JSON Path Tester is useful in a variety of scenarios across different workflows:
Extracting specific fields from large JSON API responses
Debugging JSONPath expressions for data extraction pipelines
Querying nested JSON data structures for testing and validation
All JSONPath expressions start with $ which represents the root object. Use dot notation ($.store.book) or bracket notation ($['store']['book']).
Use [?(@.price < 10)] to filter arrays. Combine filters with && and || for complex queries like [?(@.price > 5 && @.price < 20)].
Explore more tools in the Developer Workspace workspace:
JSON Formatter
Format, minify, validate, and explore JSON with tree view, JSONPath queries, and multi-format export — the complete JSON workbench.
JSON Validator
Validate JSON data and detect syntax errors with detailed error messages and line numbers.
JSON Compare
Compare two JSON files side by side with real-time diff highlighting.
JSON Query Tool
Extract values from JSON using dot-notation and bracket-notation paths.
JSON Schema Generator
Generate JSON Schema (draft-07) from sample JSON data automatically.
JSON to TypeScript
Convert JSON to TypeScript interfaces instantly. Generate typed interfaces from JSON samples for type-safe development.