JSON Pointer identifies an existing value with slash-separated segments. It is a path syntax, not executable JavaScript or a search language. Explicit paths make a selection or replacement inspectable.
Write an exact path
/users/0/name selects name in the first users array entry. In the selector, an empty pointer selects the whole document. Encode a slash inside a key as ~1 and a tilde as ~0. Property names are case sensitive; array segments must identify existing indices.
Replace only named values
The redactor validates each path, then replaces its value with [REDACTED]. Enter one pointer per line; the special # line replaces the entire document. Redacting an object replaces its contained values too. Other property names and values remain, and those may themselves disclose information.
Review before sharing
Replacing /token does not find a second secret embedded in /notes or a differently named field. Inspect arrays, free text and identifiers in the complete result. The tool does not authenticate tokens, detect every secret or guarantee anonymization. Download the reviewed JSON and preserve an original only where appropriate.
Worked example
Scroll the table horizontally on small screens to see every column.
| Key or position | Pointer segment/path |
|---|---|
| a/b | a~1b |
| a~b | a~0b |
| First users entry | /users/0 |
Paths must exist. Explicit replacement is not automatic secret detection.
Sources and checks
Examples are illustrative and can be checked with the linked tools. Read each tool’s assumptions before applying its result. How we verify methods.