Environment Variables,
Simplified.

Load environment variables from a .env file into process.env. Secure, simple, and trusted by millions of developers worldwide.

Why Developers Choose Dotenv

🔒

Secure by Default

Your secrets never leave your machine. Load variables locally with zero network calls.

Lightning Fast

Zero dependencies and minimal overhead. Your app starts in milliseconds, not seconds.

📦

Easy to Use

One line of code to get started. No complex configuration or boilerplate required.

🌐

Universal Support

Works with Node.js, Deno, Bun, and any JavaScript runtime. One tool for every project.

🛡️

Vault Encryption

Encrypt your .env files and share them safely across your team with .env.vault.

📖

Open Source

MIT licensed and battle-tested. Trusted by over 20 million weekly downloads.

Ready to simplify your environment?

Join millions of developers who trust Dotenv for their environment variable management.

View Pricing