Small tools. Better flow.

JSONPath query

Find values and locations using JSONPath.

Usage guide

Your input stays in this browser.

Input & options

Text 1 MB

View code examples ↓

Result

Your result will appear here.

Code examples

Starting points for your own code. Run them in the environment shown below.

Node.js 22+ · ES module (.mjs)

Current inputs apply only to fields used by the example. Selected files are not embedded.

Install dependencies

npm install jsonpath-plus
import { JSONPath } from "jsonpath-plus";
const json = JSON.parse("{\"users\":[{\"name\":\"Alice\"},{\"name\":\"Bob\"}]}");
console.log(JSONPath({ path: "$.users[0].name", json, eval: false }));

Put it to work

Find values and locations using JSONPath.

Details that matter

Format and meaning

Supports properties, indices, wildcards, and recursive descent. Script filter expressions are disabled.

Supported scope and limits

Text 1 MB

Split inputs that exceed the limit. If a format or algorithm is unsupported, choose a tool that matches your requirements instead of silently changing the format.