Skip to main content

JSONPath Tester

Paste any JSON and write a JSONPath expression to see matching values in real time. Supports dot notation ($.store.name), array indexing ($.orders[0]), wildcards ($.items[*]), recursive descent ($..price), and filter expressions. Runs entirely in your browser — no data sent anywhere.

✓ 60K+ developers trust DevPlaybook ✓ Runs 100% in your browser ✓ No sign-up required

Frequently Asked Questions

What is JSONPath and when should I use it?▼

JSONPath is a query language for JSON, similar to XPath for XML. You use it to extract specific values from nested JSON structures — for example, pulling all order IDs from an array of orders, or grabbing every email address nested under customer objects. It is widely used in REST API testing tools like Postman, AWS Step Functions, Kubernetes manifests, and monitoring configurations.

How does the $ symbol work in JSONPath?▼

The $ symbol always refers to the root of your JSON document. Every JSONPath expression should start with $. From there you use dot notation ($.store.name) to navigate object keys, bracket notation ($.orders[0]) to access array elements, and wildcards ($.orders[*]) to match all items in an array or all values in an object.

What is the difference between $.key and $..key?▼

$.key navigates directly to a property at one specific level of the JSON tree. $..key uses recursive descent, meaning it searches at every depth — it will find 'name' whether it is at the top level, inside an array, or nested five levels deep. Use .. when you want to extract a field without knowing exactly how deeply it is nested.

How do I select all items in a JSON array?▼

Use the wildcard operator: $.orders[*] selects every element in the orders array. You can chain this with further selectors — for example $.orders[*].id returns the id property from every order object in the array. To select a specific index use $.orders[0] for the first, $.orders[-1] for the last.

Can I filter JSONPath results by a condition?▼

Yes, using filter expressions: $.orders[?(@.price > 100)] selects all orders where price is greater than 100. The @ symbol refers to the current element being tested. You can use comparison operators (>, <, ==, !=), logical operators (&&, ||), and string matching to build precise filters.

Is this tool safe to use with sensitive data?▼

Yes. The JSONPath Tester runs entirely in your browser using JavaScript. No data is transmitted to any server. Your JSON payload — including API responses, config files, and any sensitive values — never leaves your machine. It is safe to paste production API responses for debugging.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

JSON Diff Viewer JSON Diff JSON Formatter Pro JSON Path Finder OpenAPI Validator YAML to JSON Converter CSV to JSON Converter JSON ↔ YAML Converter JSON Schema Form Builder Protobuf to JSON Converter CSV JSON Transformer JSON Schema to Zod Converter API Response Mock Generator API Response Time Tester JSON Formatter & Validator JSON Schema Generator JSON to CSV Converter OpenAPI Schema Validator API Mock Server Config Generator TOML to JSON Converter OpenAPI Mock Generator API Test Case Generator API Request Builder API Response Formatter & Analyzer JSON to TypeScript Interface package.json Validator & Audit TOML to JSON Converter package.json Generator Jest Testing Framework Guide OpenAI Function Calling Generator API Rate Limit Calculator HTTP API Tester LLM Cost Calculator Grafana Dashboard JSON Validator AI Prompt Cost Calculator REST API Request Builder Vitest Guide — Vite-native Testing Cypress Frontend Testing Guide LLM Prompt Cost Calculator Mock Data Generator API Response Mocker LLM JSON Schema Builder AI Rate Limit Calculator Grafana Dashboard JSON Builder API Key Generator AI Doc Generator — Pro Tool AI Unit Test Generator — Pro Tool HTTP Methods Reference HTTP Code Snippet Generator HTTP Status Code Reference HTTP Status Code Reference JWT Builder JWT Decoder TOML Validator YAML Validator & Formatter Rate Limiter Tester API Changelog Generator PWA Manifest Generator HTTP Mock Response Builder Fake Data Generator Rate Limit Calculator Biome Config Generator Package Lock Analyzer Feature Flag Config Generator CORS Policy Builder GCP Service Account Key Checker Azure ARM Template Validator SBOM Generator HTTP Status Code Lookup HTTP Status Code Lookup JWT Debugger Pro Vue Component Generator HTTP Status Code Reference TypeScript tsconfig.json Generator LLM Context Window Calculator LLM Token Counter k6 Load Test Script Generator Chrome Extension Manifest Generator Playwright E2E Test Generator Prompt Token Estimator YAML Validator Pro Playwright E2E Testing Guide Storybook Component Development Guide Mock Service Worker (MSW) API Mocking Guide Pulumi Modern IaC Guide MCP Endpoint Tester MCP Server Config Builder HTML5 Canvas API Playground Prompt Injection Tester Token Context Calculator LangGraph Workflow Visualizer AWS IAM Policy Generator GCP Service Account Key Auditor Expo App Config Generator Token Counter & Cost Estimator AI API Rate Limit Calculator LLM Prompt Template Builder NFT Metadata Generator

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →