Developer tools

JSON Pointer query

Select a nested value using an exact JSON Pointer, preserving large numeric tokens.

JSON Pointer query
Esc to restore

Your inputs

UTF-8 JSON up to 2 MB, 50,000 values and 64 levels. Duplicate object member names are rejected; numeric tokens are preserved.

UTF-8 JSON, NDJSON or GeoJSON up to 2 MB. Files stay on this device.

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Implements plain-string JSON Pointer syntax: / separates tokens, ~1 represents a slash and ~0 a tilde. Empty pointer selects the root; / selects an empty object key. Arrays use zero-based canonical integer indices, without leading zeros. Missing values and the nonexistent append index - are errors. URI-fragment pointers are not decoded. Duplicate keys are rejected, and large numbers remain exact text.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

JSON document
{"name":"Ada","items":[{"id":9007199254740993,"active":true},{"id":2,"active":false}],"settings":{"theme":"blue"}}
JSON Pointer (empty selects root)
/items/0/id

Example result

9007199254740993

Pointer resolves to one exact JSON value; numeric tokens are preserved.