JSONPath Tester
Paste JSON and JSONPath to inspect extraction results immediately. Useful for API response slicing checks.
Status
Runs in your browser. No input is sent to a server.
How to use
Enter JSON and JSONPath, then click Run to inspect matched paths and values.
Notes (this tool)
- Filter expressions (`[?()]`) are not supported.
- Provide standard JSON (without comments).
About this page
What does this tool do?
Extracts elements from JSON using JSONPath queries and lists which paths matched.
A lightweight tool for log checks, monitoring-rule drafts, and mapping-spec pre-validation.
Supported syntax (this implementation)
- `$` (root) / dot property / bracket property
- `[index]` (array index, negative supported)
- `[*]` / `.*` (wildcard)
- `[start:end]` (array slice)
- `..name` / `..*` (recursive descent)
How to use
- Paste JSON input
- Enter JSONPath and run
- Review matched paths/values
- Use Paths only when you only need path list
Notes
- Filter expressions (`[?()]`) and functions are out of scope. Use a full library for final validation.
- JSONPath behavior can vary by implementation. Verify against your destination runtime.
Referenced specs
- RFC 9535 (JSONPath)
- RFC 8259 (JSON)
FAQ
Why do results differ from other JSONPath tools?
JSONPath still has implementation differences, especially around recursion, filters, and function-like extensions.
I need paths, not only values.
This tool always tracks matched paths. Enable `Paths only` to output just a path array.
References
Next to view (diagnostic order)
These links are generated from site_map rules in recommended diagnostic order.
- JSON Schema Validator — Validate JSON data against JSON Schema
- CSV ↔ JSON Converter — Convert CSV and JSON with selectable delimiter
- JSON ↔ YAML Converter — Convert between JSON and YAML with validation
- JSON Diff — Compare two JSON documents and show diffs
- JSON Formatter — Pretty-print, minify, and validate JSON
- JSONC Formatter — Format and validate JSONC (comments/trailing commas)
Same-theme links
Data Conversion
Convert and validate JSON/YAML/CSV on one screen
- JSON Formatter — Pretty-print, minify, and validate JSON
- JSONC Formatter — Format and validate JSONC (comments/trailing commas)
- JSON ↔ YAML Converter — Convert between JSON and YAML with validation
- CSV ↔ JSON Converter — Convert CSV and JSON with selectable delimiter
- JSON Schema Validator — Validate JSON data against JSON Schema
- JSON Diff — Compare two JSON documents and show diffs