Back to Tools

JSONPath Playground

Query JSON documents with JSONPath expressions and see live results.

About JSONPath Playground

The KoolToolz JSONPath Playground lets you query JSON documents with JSONPath expressions and instantly see every match. Type an expression on the left, paste your JSON, and the matching values appear on the right as you type.

Supported Syntax

  • $ — the root object
  • .child / ['child'] — member access
  • ..descendant — recursive descent at any depth
  • .* / [*] — wildcard over objects and arrays
  • [0], [-1] — index (negative counts from the end)
  • [0,2] — union of indices
  • [start:end:step] — slice, e.g. [::2] every second item
  • ?(expr) — filter with ==, !=, >, <, >=, <=, =~ regex

Common Use Cases

  • API responses: Extract fields from nested payloads without writing code.
  • Config files: Verify values deep inside large JSON documents.
  • Learning JSONPath: Experiment with expressions against sample data.

Rate this tool

Log in to share your feedback on this tool.