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
- Dialect
- Classic (Goessner) matches most older libraries. RFC 9535 follows the IETF standard with normalized paths.
- Result view
- Show values only, paths only, or both. Useful when copying into scripts versus debugging structure.
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 with 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 and 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 or 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, so test both if unsure.
What happens with invalid JSON?
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, repair, compare and explore JSON in your browser, alongside the JSON minifier and converters.
Explore other tool categories
- Minify
Minify JavaScript, CSS, HTML, JSON, XML, SVG and other formats to cut the bytes you ship, before gzip or a CDN.
- Unminify
Make minified code readable again to debug or review it. Unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats.
- Conversion
Convert data between JSON, YAML, XML, CSV, TOML and other formats locally, with no upload to a server.
- Encoding
Encode or decode Base64, URLs, HTML entities and JWTs, and generate hashes and HMACs in your browser.
- Serialization
Serialize and deserialize PHP data structures beside JSON workflows.
- SVG Tools
Preview, optimize with SVGO, export as a data URI, resize, beautify, convert to JSX and validate SVG in your browser.
- Beautify
Make code readable with consistent indentation. Beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.
- CSS preprocessors
Compile SCSS or LESS to standard CSS in your browser. Pair it with beautify or minify to handle a whole stylesheet.
- Color & CSS Tools
Check WCAG contrast, convert CSS colors and units, and generate shades, border-radius and box-shadow code in your browser.
- DevOps & Infra
Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.
- CI/CD
Format GitHub Actions and GitLab CI YAML and check the structure of workflows and jobs in your browser.
- Logs & observability
Format, filter and validate JSON and NDJSON logs, and turn Nginx or Apache access logs into CSV or TSV.
- Kubernetes
Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.
- Networking / IP
Subnet calculator, IP converter, range to CIDR, CIDR summarize and IP-in-subnet checks for IPv4 and IPv6, in your browser.
- Security & tokens
Inspect JWKS, verify JWTs, decode X.509 certificates, convert PEM and JWK, scan text for secrets and hash with bcrypt in your browser.
- API & schemas
Format, validate, lint and convert OpenAPI, JSON Schema and GraphQL SDL in your browser.
- HTTP Tools
Paste cURL commands, HTTP messages, URLs, HAR files and Cookie or Set-Cookie headers to format and inspect them. Nothing is sent.
- SEO / Web Tools
Generate meta tags, Open Graph, Twitter Card, robots.txt, sitemap.xml and JSON-LD in your browser. Previews come from your input, and your site is never fetched.
- Developer utilities
Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugs, number bases, letter case, text diff, chmod and Lorem Ipsum, all in your browser.
- Text & Markdown
Count words, build Markdown tables of contents, turn CSV into Markdown tables and sort or deduplicate lines in your browser.
- AI & LLM
Count tokens, estimate API costs, check context-window fit, convert JSON to TOON and analyze prompts, all in your browser.
- Test Data
Dummy names, emails, phone numbers, addresses, dates, IBANs, card numbers and JSON, CSV or SQL rows for fixtures and database seeds. Everything is generated in your browser.
- Barcode labels
Draw Code 128, EAN-13 and UPC-A labels and static QR codes in your browser, then download PNG or SVG. This is not a GS1 lookup.