Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JSON Data AnonymizerNew to Visual Studio Code? Get it now.
JSON Data Anonymizer

JSON Data Anonymizer

Vitthal Patil

|
1 install
| (0) | Free
Anonymize sensitive JSON values with realistic fake data while preserving structure.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Title

JSON Anonymizer (VS Code)

Short Description

Anonymize JSON values with realistic fake data while preserving JSON structure and keys.

🎯 Features

  • In-place anonymization of the active JSON file
  • Copy anonymized JSON to clipboard without changing the source file
  • Create anonymized output in a duplicate file (*.anonymized.json)
  • Deterministic anonymization with optional seed
  • Field/path rule overrides with precedence:
    • exact path
    • wildcard path ([*])
    • field name
  • Strict JSON parsing with clear error handling

Screenshots / GIFs

Add screenshots or recordings under resources/ and link them here.

Example placeholders:

  • Command Palette flow (Anonymize Document)
  • Before/after JSON diff
  • Anonymize to Duplicate File result in editor tabs

Usage

  1. Open a valid .json file in VS Code.
  2. Run one of the commands from Command Palette:
    • JSON Anonymizer: Anonymize Document
    • JSON Anonymizer: Copy Anonymized JSON
    • JSON Anonymizer: Anonymize to Duplicate File
  3. (Optional) Configure seed/rules for deterministic or custom behavior.

Configuration

You can configure the extension in VS Code settings JSON:

{
  "jsonAnonymizer.seed": "demo-seed",
  "jsonAnonymizer.rules": {
    "user.email": "keep",
    "contacts[*].email": "email",
    "address.zip": "zip",
    "phone": "null"
  }
}

Commands

  • jsonAnonymizer.anonymizeDocument
  • jsonAnonymizer.copyAnonymizedJson
  • jsonAnonymizer.anonymizeToDuplicateFile

Extension Settings

jsonAnonymizer.seed

Optional deterministic seed (string | number | null).

jsonAnonymizer.rules

Path/field strategy overrides.

Supported strategies:

  • keep, null, string, number, boolean
  • email, phone, uuid, name, url, date, ip, zip

Release Notes

See CHANGELOG.md for all versions and release details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft