Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>dotenv-sanitizeNew to Visual Studio Code? Get it now.
dotenv-sanitize

dotenv-sanitize

jacob-ebey

|
1,991 installs
| (0) | Free
Sanitize your dotenv files to easily create examples, or cleanup before a commit.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

dotenv-sanitize README

Quickly sanitize your .env (dotenv) files.

Features

Ctrl + Shift + P to bring up the dialog and search for "Dotenv: Sanitize". This will replace all the string values in your file with a placeholder.

Extension Settings

This extension contributes the following settings:

  • editor.dotenvSecretReplacement: The value to replace string secrets with

Release Notes

1.0.0

Initial release of dotenv-sanitize

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