{ }jsonkit
Format
Validate
Convert
Query
Generate
/~1

JSON Pointer Tester

Resolve RFC 6901 pointers, escaped tokens and URI fragments live.
/RFC 6901 pointer · empty selects the root
89 B · paste or drop a file
1 2 3 4
✓ complete89 B → 8 B0.0 ms

About JSON Pointer Tester

JSON Pointer Tester resolves an RFC 6901 pointer against a JSON document as you type. It is useful for checking patch paths, schema references and machine-readable validation locations.

The empty pointer selects the whole document, while slash-separated tokens select object properties and array indexes.

How it works

Escaped property names

Use ~1 for a slash and ~0 for a tilde inside a token. For example /a~1b/~0key selects the key path a/b then ~key.

Arrays by index

A token such as /users/0 selects the first array item. Leading zeroes and the patch-only - append token are rejected for lookup.

URI fragment form

Pointers beginning with # are percent-decoded first, so fragment identifiers such as #/a%20b work too.

Frequently asked questions

What does an empty pointer mean?

It selects the complete root JSON value.

Is JSON Pointer the same as JSONPath?

No. Pointer identifies one exact location; JSONPath is a query language that can return many matches.

Why does /01 fail for an array?

RFC 6901 array indexes use canonical non-negative integers, so leading zeroes are not valid except for 0 itself.

Sources & last verified

The behaviour of this tool and the claims on this page were checked against the specifications below on . Everything runs in your browser, so the output you see is exactly what the engine produced.

Found a wrong result or an outdated claim? Report an error and it will be re-verified.