Loading…

How to use JSONPath Tester

Paste your JSON and a JSONPath expression, and the tool extracts and shows the matching values live.

Frequently asked questions

What is JSONPath?

JSONPath is a query language for JSON, similar to XPath for XML. Developed by Stefan Goessner.

What is the root symbol?

$ represents the root of the JSON document. $.users[0].name gets the first user's name.

What are common JSONPath operators?

$ (root), . (child), [] (subscript), * (wildcard), [?(@.prop)] (filter), .. (recursive descent)

More JSON Tools

JSON Schema Validator
Validate JSON data against a JSON Schema (draft-7)
JSON Key Sorter
Sort all JSON object keys alphabetically (deep)
JSON Flattener
Flatten nested JSON into a single-level dot-notation object
JSON Unflattener
Expand flat dot-notation JSON back to nested structure
JSON Key Extractor
Extract all keys, paths, and values from a JSON object
JSON Merger
Deep merge two JSON objects with conflict resolution
JSON Array Tools
Filter, sort, map and paginate JSON arrays interactively
JSON Query / Filter
Filter and transform JSON arrays with field conditions
JSON Repair
Fix broken JSON — trailing commas, single quotes, unquoted keys, comments
JSON ⇄ JSONL Converter
Convert a JSON array to JSONL/NDJSON and back, line by line
JSON to Go Struct
Generate a Go struct with json tags from a JSON sample
JSON to Python TypedDict
Generate a Python TypedDict class from a JSON sample

← View all JSON ToolsBrowse all 1,100+ tools →