JSONPath Tester — Evaluate JSONPath Expressions Online
Paste JSON, enter a JSONPath expression, and inspect matches with paths and values. Switch between Classic and RFC 9535 dialects — all processing stays in your browser.
Developer notes
• Invalid JSON blocks evaluation — fix syntax first or use JSON repair. • Evaluation runs live as you type (debounced); use the Examples & syntax panel for ready-made queries and cheat-sheet tokens. • Dialect and result-view options reset on each visit — they are not saved in localStorage (aligned with other JSON tools). • Classic mode uses jsonpath-plus with sandboxed filter evaluation. • RFC 9535 mode follows IETF normalized paths — results may differ from Classic for edge cases. • The Book count example (`.length`) is Classic-only — it is hidden in RFC 9535 mode. • Documents above ~2 MiB use a longer debounce. Evaluation stops after 5 seconds or 1000 matches.
JSONPath options
When teams pick this route
• Debug API responses before wiring JSONPath into production code. • Learn filter and wildcard syntax on real payloads. • Validate Kubernetes-style or Postman queries locally. • Extract normalized paths for test fixtures.
When to use JSONPath vs JSON Tree Viewer
Use the JSON tree viewer to explore structure visually with text search. Use JSONPath when you need a reusable query language — wildcards, filters, slices, and normalized paths for scripts, tests, or Kubernetes-style selectors.
Worked examples
All authors from the bookstore sample
Sample JSON
Expected matches
Filter books by price
Sample JSON
Expected matches
Navigate related JSON tools
Browse the JSON tools hub. Validate syntax with the JSON validator, explore structure in the JSON tree viewer, prettify with the JSON formatter, or validate schemas with the JSON schema validator. Fix broken JSON via JSON repair.
JSONPath tester FAQ
Queries, dialects, and privacy
What is JSONPath?
JSONPath is a query language for JSON — similar in spirit to XPath for XML. It lets you select values with paths, wildcards, filters, and recursive descent.
Classic vs RFC 9535 — which should I use?
Choose Classic (Goessner) when matching older libraries like jsonpath-plus or Postman defaults. Choose RFC 9535 when targeting the IETF standard and normalized paths. Results can differ on edge cases — test both if unsure.
Invalid JSON — what happens?
Evaluation is blocked until the document parses. Use the JSON validator or repair tool, then return to test your expression.
Is my data uploaded?
No. Parsing and JSONPath evaluation run entirely in your browser. Nothing is sent to FastMinify servers.
JSONPath vs JSON Tree Viewer search?
Tree viewer search filters visible nodes by key or string value. JSONPath is a full query language you can copy into code, CI fixtures, or API tests.
Performance on large files?
Documents above ~2 MiB use a longer debounce (500 ms). Evaluation stops after 5 seconds or 1000 matches to keep the tab responsive.
Are dialect and result-view settings remembered?
No. Options reset to defaults on each visit — they are not stored in localStorage, consistent with other FastMinify JSON tools.
JSON Tools
Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.
Explore other tool categories
Minify
Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.
Beautify
Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.
Unminify
Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.
Conversion
Transform data between JSON, YAML, XML and CSV locally — no server uploads.
CSS preprocessors
Compile SCSS or LESS to standard CSS in the browser — pair with beautify or minify for a full stylesheet workflow.
SVG Tools
Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.
DevOps & Infra
Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.
CI/CD
GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.
Logs & observability
Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.
Kubernetes
Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.
Networking / IP
CIDR, subnets, and IPv4/IPv6 helpers — in your browser.
Security & tokens
JWKS, X.509 certificates, and secrets scan — browser-local.
API & schemas
OpenAPI tools to format, validate, and lint your specs.
Encoding
Encode or decode Base64, URL components and HTML entities — client-side only.
Developer utilities
Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.
Text & Markdown
Count words, build Markdown TOCs, and clean line lists — all in your browser.
Serialization
Serialize and deserialize PHP data structures beside JSON workflows.