Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Env MaskerNew to Visual Studio Code? Get it now.
Env Masker

Env Masker

karan kadam

|
30 installs
| (2) | Free
Mask secrets in .env files while streaming
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔐 Env Masker

VS Code JavaScript MIT License Open Source

Env Masker is a lightweight VS Code extension that automatically masks secret values in .env* files (like .env, .env.local) with asterisks (*) to help you avoid accidentally leaking secrets while screen sharing or recording.


✨ Features

  • 🔒 Automatically masks values in .env files (e.g., API_KEY=********)
  • 👁️ Toggle masking on/off with a simple button
  • 📂 Works with .env, .env.local, .env.production, etc.
  • ⚡ Lightweight and easy to use

🚀 Usage

  1. Open any .env or .env.* file.
  2. The extension will automatically mask the secret values.
  3. Use the Toggle Masking button in the top-right of the editor to show or hide actual values.

📸 Screenshot

🔻 Disabled View

Disabled View

✅ Enabled View

Enabled View


📞Contact

Email YouTube LinkedIn

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