JSON Pointer Evaluator

JSON Pointer Evaluator

Evaluate RFC 6901 JSON Pointer paths against JSON data.

Pointer Input

Resolved Value

About The JSON Pointer Evaluator

The JSON Pointer Evaluator resolves RFC 6901 JSON Pointer paths against a JSON document and shows the exact value at that location.

Evaluation runs locally in your browser. Use sanitized JSON when testing payloads that contain credentials, personal data, or private API responses.

How to Evaluate a JSON Pointer Online

  1. Paste a valid JSON document into the JSON input box.
  2. Enter a pointer such as /users/0/name in the JSON Pointer field.
  3. Click Evaluate Pointer to resolve the value.
  4. Copy the resolved value if you need it for tests, docs, or debugging notes.

Choosing Options Correctly

Pointer syntax:
- Start with / for nested values, or leave the pointer empty to return the whole document.
- Use numeric path segments for array indexes.

Escaping:
- Use ~1 for a literal slash in a key.
- Use ~0 for a literal tilde in a key.

Common Use Cases

  • Testing JSON Pointer paths before adding them to code.
  • Checking API payload fields by exact path.
  • Debugging array indexes and escaped object keys.
  • Explaining RFC 6901 pointer behavior with live examples.

Quick FAQ

Can the pointer be empty?
Yes. An empty JSON Pointer refers to the whole document.

Why did an array path fail?
Array indexes must match existing zero-based positions, and the path must use JSON Pointer escaping rules.

Does it support JSONPath?
No. JSON Pointer and JSONPath are different syntaxes. Use the JSONPath tester for JSONPath expressions.

How do I escape special characters?
In JSON Pointer, ~ becomes ~0 and / becomes ~1 inside path tokens.