Anonymize JSON data while preserving its structure. Choose which fields to anonymize using JSON paths.
Original JSON
Anonymized JSON
Privacy: Your data never leaves your browser. All anonymization is performed locally.
How to use
- Paste your JSON data into the Original JSON editor.
- Choose which fields you want to anonymize.
- Optionally specify JSON paths to include or exclude.
- Click Anonymize JSON to generate the result.
- Copy the result or download it as a JSON file.
Field selection
Two modes are available:
- All fields except listed paths (default): Anonymizes every field except the specified paths.
- Only listed paths: Anonymizes only the fields matching the specified paths.
You can use JSON paths to target specific fields:
| Path | Description |
|---|---|
user.email | Targets the email field inside user |
users[*].name | Targets the name field of every user |
users[0].id | Targets the ID of the first user |
metadata.* | Targets all direct fields inside metadata |
**.token | Targets token fields at any depth |
Anonymization rules
- String values are replaced with
ANONYMIZED_1,ANONYMIZED_2, etc. - Numbers are replaced with
0. - Boolean values are replaced with
false. - Null values are preserved.
- JSON property names and object structure are preserved.