CalcChef
Search tools (e.g. 'calc', 'converter')... (Press '/' or 'Cmd+K')

JSON Path Query Tool

Query JSON documents using JSONPath expressions. Validate JSON, test path queries, and see matching nodes with their paths — all client-side in a Web Worker.

Loading Tool...

Applications

Debug API responses by extracting specific fields, validate complex JSON structures against expected shapes, transform data by selecting sub-trees, and learn JSONPath syntax with live feedback. Useful for QA testing, data analysis, and building documentation examples.

JSONPath Syntax

JSONPath is a query language for JSON, similar to XPath for XML. Use $ for the root, .property for object access, [*] for array iteration, .. for recursive descent, and ?(@.field op value) for filters. For example, $..book[?(@.price < 10)] returns all books with a price less than 10.

Fun Fact: JSONPath was first proposed by Stefan Gössner in 2007 as a way to navigate JSON structures. It has since been adopted by libraries in nearly every major programming language and is a key tool for working with JSON APIs.

Related Tools

View all tools