Anonymize JSON data while preserving its structure. Choose which fields to anonymize using JSON paths.

Original JSON
Anonymized JSON

Use paths to include or exclude fields. Supports wildcards (*) and array indexes.

Privacy: Your data never leaves your browser. All anonymization is performed locally.

How to use

  1. Paste your JSON data into the Original JSON editor.
  2. Choose which fields you want to anonymize.
  3. Optionally specify JSON paths to include or exclude.
  4. Click Anonymize JSON to generate the result.
  5. 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:

PathDescription
user.emailTargets the email field inside user
users[*].nameTargets the name field of every user
users[0].idTargets the ID of the first user
metadata.*Targets all direct fields inside metadata
**.tokenTargets 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.