Resolve RFC 6901-style JSON Pointer paths against JSON data with FreeProKit’s JSON Pointer Tester. Paste a JSON document, enter a pointer such as /user/profile/name or /items/0, and review the resolved value. The tool is useful for debugging APIs, JSON Patch-style workflows, configuration files, schemas, nested data, and any system that uses standardized JSON Pointer syntax. FreeProKit runs the tester in your browser and requires no registration.
What Is JSON Pointer?
JSON Pointer is a standardized string syntax for identifying a specific value inside a JSON document.
RFC 6901 defines a JSON Pointer as zero or more reference tokens, with each token prefixed by /. Evaluation starts at the root JSON value and processes the tokens from left to right.
That makes JSON Pointer compact and language-neutral: the same pointer syntax can be used across tools and systems that implement RFC 6901.
How to Use JSON Pointer Tester
- Enter, paste, or upload valid JSON data.
- Enter the RFC 6901-style JSON Pointer you want to test.
- Use
/between reference tokens as you move deeper into nested objects or arrays. - Escape
~as~0and/as~1when those characters are part of a property name. - Run the tester.
- Review the resolved value or any result limitation shown by the tool.
- If the JSON itself is invalid, validate or format it separately before testing more pointers.
The public FreeProKit page does not document exact error messages, URI-fragment pointer support, or batch-pointer testing. Use the live result panel as the source of truth for those implementation details.
Basic JSON Pointer Syntax
A non-empty JSON Pointer normally starts with /. Each slash introduces the next reference token.
For a JSON document with a user object containing a name property, /user/name refers to that nested value.
The pointer does not use JavaScript dot notation, brackets, or quoted property access. Its path grammar is defined by RFC 6901.
The Empty Pointer Refers to the Root
RFC 6901 defines the empty string as a valid JSON Pointer that references the entire JSON document.
This is different from /. A pointer containing a single slash refers to an object member whose property name is the empty string, if such a member exists.
That distinction is easy to miss when learning JSON Pointer and is useful when testing edge cases.
Using JSON Pointer with Objects
When the current JSON value is an object, the next pointer token identifies an object member name.
For example, /profile/email first selects the profile member and then selects its email member.
Property names are matched as JSON member names, not as JavaScript identifiers, which is why JSON Pointer can address keys that contain spaces or punctuation when encoded correctly.
Using JSON Pointer with Arrays
When the current value is an array, a numeric reference token can select an array element by index.
For example, /items/0 refers to the first value in the items array, and /items/2/name can refer to a nested name property inside the third array element.
RFC 6901 defines array indexes using non-negative decimal notation. Applications can also assign special meaning to -; for ordinary retrieval, do not assume - resolves an existing value unless the application explicitly defines that behavior.
Escaping Slash with ~1
A literal / cannot appear unescaped inside a JSON Pointer token because / separates path tokens.
RFC 6901 therefore represents a literal slash in a property name as ~1.
If a JSON object has a key named a/b, the pointer token for that key is a~1b, so the complete pointer could be /a~1b.
Escaping Tilde with ~0
A literal tilde also has special meaning in JSON Pointer escaping, so ~ is represented as ~0.
If a property is named m~n, its pointer token is m~0n.
RFC 6901 specifies that ~1 is decoded to / before ~0 is decoded to ~, which prevents ambiguous double transformations.
JSON Pointer Examples
| Pointer | Meaning |
|---|---|
| (empty string) | entire JSON document |
/foo | member named foo |
/foo/0 | first array element inside foo |
/ | member whose name is the empty string |
/a~1b | member named a/b |
/m~0n | member named m~n |
These examples reflect RFC 6901 semantics. The FreeProKit tool is explicitly described as resolving RFC 6901-style JSON Pointer paths.
JSON Pointer vs. JSON Property Path
FreeProKit provides a separate tool for a different path syntax.
Use JSON Property Path Tester when you want dot and bracket paths such as user.profile.name or items[0].sku.
Use JSON Pointer Tester when the path must follow RFC 6901 syntax such as /user/profile/name or /items/0/sku.
Keeping the two tools separate is useful because dot/bracket property paths are a programming convention, while JSON Pointer is a formal standard used by multiple specifications and APIs.
JSON Pointer vs. JSON Flatten & Unflatten
A JSON Pointer identifies one value. Flattening changes the shape of a JSON document.
Use JSON Flatten & Unflatten when you need nested JSON converted into property-path keys or flattened keys rebuilt into nested JSON.
Use JSON Pointer Tester when the JSON structure should remain unchanged and you only need to resolve a path.
JSON Pointer vs. JSON Viewer
A pointer tester assumes you have JSON data to navigate. A JSON viewer is the better starting point when the document may be malformed.
Use JSON Viewer to validate, format, minify, and inspect JSON with line-aware error messages.
Once the JSON is valid, use JSON Pointer Tester to target a specific value.
JSON Pointer vs. JSON Sort & Normalize
Sorting object keys changes presentation and ordering. Pointer resolution targets values by property name or array position.
Use JSON Sort & Normalize when you want recursive key sorting and normalized pretty or compact JSON.
Use JSON Pointer Tester when key order does not matter and you only need to resolve a standardized path.
JSON Pointer vs. JSON Schema Generator
JSON Pointer identifies a location inside one JSON instance. JSON Schema describes expected structure and validation rules.
Use JSON Schema Generator when you want a practical JSON Schema inferred from example JSON data.
Pointers can appear in schema-related ecosystems, but testing a pointer and generating a schema are distinct workflows.
JSON Pointer vs. JSON to TypeScript Interface
A pointer resolves a value. A TypeScript interface describes the shape of JSON data for code.
Use JSON to TypeScript Interface when you need readable TypeScript interfaces generated from a JSON object or array sample.
Use JSON Pointer Tester when you are debugging or verifying a specific path inside that data.
Can JSON Pointer Address Keys with Spaces or Symbols?
Yes. JSON Pointer tokens are strings and can identify object member names containing spaces or many punctuation characters.
The two characters with special pointer-level escape rules are / and ~, represented as ~1 and ~0 respectively.
If the pointer itself is embedded inside another format, such as a JSON string or URI fragment, additional escaping rules from that outer format can also apply.
What Happens When a Pointer Does Not Resolve?
RFC 6901 defines failed evaluation as an error condition when a referenced member or array element cannot be resolved.
The exact error text or result-state FreeProKit uses is not published on the crawlable page.
If a pointer fails, check each token in order, verify array indexes, confirm property-name spelling, and inspect ~0 or ~1 escaping.
What About JSON Pointer URI Fragments?
RFC 6901 also defines a URI fragment representation for JSON Pointer, which begins with # and applies URI percent-encoding rules.
The public FreeProKit page only says it resolves RFC 6901-style JSON Pointer paths and does not explicitly state that URI-fragment form such as #/foo/0 is supported.
Use the plain JSON Pointer form unless the live tool explicitly demonstrates fragment syntax.
Common Use Cases
- Test a pointer used by an API or configuration system.
- Verify array indexes in nested JSON payloads.
- Debug paths that contain slash or tilde characters.
- Resolve values referenced by JSON Patch-style workflows.
- Check whether a pointer reaches the intended node before coding it into an integration.
- Teach or learn RFC 6901 syntax with small JSON examples.
- Confirm a pointer after JSON restructuring or schema changes.
Practical Examples
Nested user profile
A JSON document contains user.profile.name. The RFC 6901 pointer is /user/profile/name. Use JSON Pointer Tester to confirm the pointer resolves the expected value.
First item in an array
A JSON payload contains an items array. /items/0 resolves the first element, and /items/0/sku can continue into the first object’s sku property.
Property name containing a slash
An object contains a property named a/b. Use /a~1b; a raw /a/b would mean two separate tokens instead of one property name.
Property name containing a tilde
An object contains m~n. Use /m~0n so the tilde is represented according to RFC 6901.
Important Considerations
- Validate the JSON before debugging pointer syntax.
- Use an empty pointer for the root document and
/only for an empty-string object key. - Escape
/as~1inside reference tokens. - Escape
~as~0inside reference tokens. - Use zero-based array indexes.
- Do not confuse RFC 6901 with JavaScript dot/bracket property paths.
- Test URI-fragment pointer syntax separately because FreeProKit does not publicly document it.
Limitations
JSON Pointer Tester is a focused path-resolution utility. It is not described as a JSON editor, JSON Patch executor, JSON Schema validator, batch pointer runner, JSONPath implementation, or general programming expression evaluator.
The public FreeProKit page does not document URI-fragment syntax, pointer-history storage, multiple-pointer testing, duplicate-object-key behavior, exact array-index error handling, maximum input size, upload file types, result formatting, output/download format, or the exact RFC 6901 implementation library.
When another specification builds on JSON Pointer, follow that specification’s additional rules as well as RFC 6901.
Privacy and Browser Processing
FreeProKit presents JSON Pointer Tester as a JavaScript browser tool and states that uploaded files are processed in your browser unless a tool clearly identifies a live server check.
The tool is free to use, requires no registration, and tells users to review the result before copying or downloading it.
Frequently Asked Questions
What does FreeProKit JSON Pointer Tester do?
The live page states that it resolves RFC 6901-style JSON Pointer paths against pasted JSON data.
Does a JSON Pointer have to start with a slash?
Every non-empty JSON Pointer is made of reference tokens prefixed by /. The empty string is also a valid pointer and refers to the whole JSON document.
How do I reference an array element with JSON Pointer?
Use a numeric token such as /items/0 for the first element. JSON array indexes are zero-based.
How do I reference a property name that contains a slash?
Use ~1 for a literal slash inside a token. A key named a/b is referenced as /a~1b.
How do I reference a property name that contains a tilde?
Use ~0 for a literal tilde. A key named m~n is referenced as /m~0n.
What is the difference between JSON Pointer Tester and JSON Property Path Tester?
JSON Pointer Tester uses RFC 6901 syntax such as /items/0/sku. JSON Property Path Tester uses dot and bracket paths such as items[0].sku.
Does FreeProKit support JSON Pointer URI fragments such as #/foo?
The public page does not explicitly document URI-fragment pointer support. Use the plain RFC 6901 path form unless the live workspace confirms fragment syntax.
Does FreeProKit upload my JSON data?
FreeProKit presents JSON Pointer Tester as a JavaScript browser tool and states that uploaded files are processed in your browser unless a tool clearly identifies a live server check. No registration is required.
