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

  1. RFC 9535
  2. RFC 8259

These links are generated from site_map rules in recommended diagnostic order.

  1. JSON Schema Validator — Validate JSON data against JSON Schema
  2. CSV ↔ JSON Converter — Convert CSV and JSON with selectable delimiter
  3. JSON ↔ YAML Converter — Convert between JSON and YAML with validation
  4. JSON Diff — Compare two JSON documents and show diffs
  5. JSON Formatter — Pretty-print, minify, and validate JSON
  6. JSONC Formatter — Format and validate JSONC (comments/trailing commas)

Data Conversion

Convert and validate JSON/YAML/CSV on one screen