Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Dotenv Studio: GUI for Environment VariablesNew to Visual Studio Code? Get it now.
Dotenv Studio: GUI for Environment Variables

Dotenv Studio: GUI for Environment Variables

metecan

|
3 installs
| (0) | Free
Manage .env files with a user-friendly GUI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔐 Dotenv Studio: GUI for Environment Variables

The Ultimate VS Code Extension for Managing Environment Variables

Version Downloads Rating License

Say goodbye to messy .env files and hello to a beautiful, secure GUI! 🎨

Features • Installation • Usage • Security • Contributing


Dotenv Studio Screenshot

✨ Features

🔒 Secure by Default
Values are masked by default. Reveal only when you need to see them.
📁 Smart Organization
Automatically groups variables by comment headers (# Database, # API, etc.)
✏️ Intuitive Editing
Add, edit, and delete variables with a clean, modern interface.
🔍 Powerful Search
Instantly find variables across all sections with real-time filtering.
💾 Format Preservation
Keeps your comments, blank lines, and original formatting intact.
🎨 Theme Adaptive
Seamlessly matches VS Code's light and dark themes.
⚡ Lightning Fast
Opens instantly with no lag, even for large .env files.
🌍 Multi-Environment Support
Works with .env, .env.local, .env.production, and more!

� Screenshots

Main Interface

Main Interface

Variable Management

Variable Management

Editing Variables

Editing Variables

Organized Sections

Organized Sections

�🚀 Installation

From VS Code Marketplace

  1. Open Extensions in VS Code (Cmd+Shift+X / Ctrl+Shift+X)
  2. Search for "Dotenv Studio"
  3. Click Install

From Command Line

code --install-extension metecan.dotenv-studio

📖 Usage

Dotenv Studio Interface

Opening .env Files

Simply open any .env file and Dotenv Studio will automatically launch the GUI!

Supported file patterns:

  • .env
  • .env.local
  • .env.development
  • .env.production
  • .env.test
  • .env.* (any variant)

💡 Pro Tip: You can also right-click any .env file and select "Open in Env Manager" or use the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) → Open in Env Manager

Managing Your Variables

Managing Variables

📂 Sections

Navigate through your variables using the section sidebar. Sections are created from comment headers in your .env file:

# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=myapp

# API Keys
API_KEY=your_secret_key_here
API_SECRET=super_secret

➕ Adding Variables

  1. Select a section from the sidebar
  2. Click the "Add Variable" button
  3. Enter the key and value
  4. Hit save!

✏️ Editing Variables

  • Click on any key or value field to edit inline
  • Values are masked by default 🔒 – click "Show" to reveal
  • Changes are tracked in real-time

🗑️ Deleting Variables

Click the Delete button on any variable card to remove it instantly.

🔍 Searching

Use the search bar at the top to filter variables by key or value across all sections.

💾 Saving Changes

  • Click "Save Changes" to write modifications to your file
  • Click "Discard" to revert all unsaved changes
  • The extension preserves your original formatting, comments, and blank lines!

Creating Organized Sections

Structure your .env files with comment headers for automatic section grouping:

# ========================================
# Database Configuration
# ========================================
DB_HOST=localhost
DB_PORT=5432
DB_USER=admin
DB_PASSWORD=secret123

# ========================================
# Third-Party Services
# ========================================
STRIPE_API_KEY=sk_test_...
SENDGRID_API_KEY=SG....

# ========================================
# Application Settings
# ========================================
NODE_ENV=development
PORT=3000
DEBUG=true

🔐 Security

Your secrets are safe with Dotenv Studio:

  • ✅ No External Transmission – All data stays local to your VS Code instance
  • ✅ Masked by Default – Values are hidden (password-style) in the UI
  • ✅ No Logging – We never log your environment variables
  • ✅ No Telemetry – Zero data collection or tracking
  • ✅ Open Source – Fully transparent code you can audit

🎯 Why Dotenv Studio?

Feature Showcase

Before 😫 After 😎
Manually editing raw text files Beautiful, intuitive GUI
Accidentally exposing secrets on screen share Masked values by default
Losing track of variables in large files Organized sections & powerful search
Breaking formatting when editing Automatic format preservation
Confusion with multiple .env files Clear multi-environment support

💻 Requirements

  • VS Code 1.75.0 or higher
  • That's it! No external dependencies needed.

🛠️ Development

Want to contribute or build from source?

# Clone the repository
git clone https://github.com/metecan/dotenv-studio.git

# Install dependencies
npm install
# or
pnpm install

# Compile TypeScript
npm run compile

# Watch for changes during development
npm run watch

🐛 Found a Bug?

Please open an issue on GitHub. We appreciate your feedback!

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

📝 License

MIT © metecan


Made with ❤️ by metecan

If you find this extension helpful, please consider giving it a ⭐ on GitHub!

Report Bug · Request Feature · Marketplace

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