JSONPath Query Tool
Test JSONPath expressions and extract specific data from your JSON files. See results instantly in JSON, Tree, or Table view. Save your queries, bookmark favorites, and learn from examples.
JSON Data
JSONPath Expression
Results (0)
Execute a query to see results
Powerful JSONPath Query Features
Everything you need to query, extract, and analyze JSON data using JSONPath expressions.
Full JSONPath Support
Execute JSONPath queries with full standard support including filters, recursive descent, array slicing, and wildcards. Real-time execution with instant results.
Multiple View Modes
View results in JSON, Tree, or Table format. Switch between modes to analyze data the way that works best for your workflow.
Query History
Automatically saves your last 50 queries with timestamps and result counts. Re-run previous queries with a single click—no need to retype.
Bookmarks
Save frequently-used queries as bookmarks for quick access. Perfect for testing the same queries against different JSON datasets.
18+ Query Examples
Learn JSONPath with ready-to-use examples covering basic queries, arrays, filters, recursive searches, and advanced operations with sample data included.
Query Templates & Help
Access 25+ query templates and comprehensive syntax help. Browse by category or search for specific patterns to speed up your workflow.
How to Query JSON with JSONPath
Extract data from JSON in three simple steps using JSONPath expressions.
Add Your JSON Data
Paste your JSON data into the left editor or upload a JSON file. You can also load sample data from the Examples panel to practice.
Enter JSONPath Query
Type your JSONPath expression or select from 25+ templates and 18+ examples. Use the syntax help panel to learn JSONPath operators and patterns.
View Results
Click Execute or press Ctrl+Enter to run your query. View results in JSON, Tree, or Table format. Export results or bookmark queries for later use.
Frequently Asked Questions
What is JSONPath?
JSONPath is a query language for JSON, similar to XPath for XML. It lets you select and extract data from JSON structures using expressions like $.store.book[*].author
to get all book authors. It's essential for working with complex JSON data and APIs.
How do I write a JSONPath query?
Start with $
for the root, use .
for properties ($.name
), []
for arrays ($.items[0]
), and *
for wildcards. Use our Templates panel for ready-made patterns or Examples to see real queries in action.
What's the difference between view modes?
JSON view shows raw formatted results, Tree view displays hierarchical expandable nodes for complex nested data, and Table view presents results in rows with paths, values, and types—ideal for comparing multiple matches.
How does query history work?
Your last 50 queries are automatically saved with timestamps and result counts. Click any history entry to re-run it instantly. History is stored in your browser's local storage and persists between sessions.
Can I test JSONPath queries for APIs?
Absolutely! Paste your API response JSON into the editor and test queries before implementing them in your code. This helps you write correct JSONPath expressions and understand what data you'll extract from API responses.
Is my JSON data stored or shared?
No. All queries execute locally in your browser using JavaScript. Your JSON data never leaves your device. Query history and bookmarks are saved only in your browser's local storage for your convenience.