Dotenvx
Dotenvx is an open-source secrets tool from Scott Motte, who created dotenv, the widely used library for loading .env files. It encrypts the values in .env files with public-key cryptography so the files can be committed to git, and decrypts them at runtime with a private key kept outside the repository.
CyberReviewed Editorial Team · Updated · dotenvx.com
Company details
- Score
- 7.7/10Ranked 71 of 325
- Category
- Secrets management
- Founded
- 2024 (dotenv first released in 2013)
- Headquarters
- Not disclosed
- Leadership
- Scott Motte, Creator of dotenv and Dotenvx
- Funding disclosed
- None disclosed
- Pricing
- Open-source CLI free; Armor key custody from $5 a month; Business $90 a month
- Best fit
- Developers and small teams that already use .env files and want them encrypted in git, with one private key per environment instead of a hosted vault
Our take
Dotenvx suits developers and small teams who like working with .env files and want them encrypted without adopting a hosted secrets service. The CLI is free and open source, and the paid Armor tier adds off-device key custody and access logs. Teams that need central access control, rotation, or dynamic credentials should look at Infisical, Doppler, or a vault.
Scores by criterion
| Criterion | Score |
|---|---|
| Pricing transparency | 9.4 |
| Product scope and fit | 6.8 |
| Company durability | 5.6 |
| Evidence of adoption | 7.6 |
| Ease of adoption | 9.0 |
| Overall score (average of the five) | 7.7 |
Each criterion is defined on our methodology page.
Who uses Dotenvx and what it's for
Dotenvx is for developers who already keep configuration in .env files and want to stop sharing those files in plain text.1 Scott Motte wrote the first version of dotenv in 2013, and it has more than 20,000 GitHub stars; Dotenvx is his successor project, with about 5,900 stars and a BSD 3-Clause license.234 The Dotenvx site features users including John Zila, cofounder of Watt and a former head of security at Zoom, and Dhravya Shah, chief executive of Supermemory.1
Its nearest substitutes are open-source and developer-first tools such as Infisical and Doppler, which replace .env files with a central service, and Bitwarden Secrets Manager. Mozilla SOPS, a file-encryption tool, is the closest technical match.
How Dotenvx works
Running the encrypt command turns each value in a .env file into ciphertext using a public key written into the file, so the encrypted file can travel with the code.14 One private key per environment unlocks it. On a developer laptop the key is kept in the operating system's secret store, and in production it is set as a single DOTENV_PRIVATE_KEY variable on the host or CI system.1 The design uses secp256k1, the same elliptic curve Bitcoin uses.1
Launching an app with dotenvx run decrypts secrets just in time and injects them as environment variables, and it works with any language, not only Node.js.4 Armor, the paid tier, keeps private keys off the device, can require human approval before decryption, and records who accessed what and when.5
Pricing
The Dotenvx CLI and SDKs are free and open source. Armor accounts start free for individual users, Member costs $5 a month, and Business costs $90 a month, with extra seats sold on top.6
Company background
Dotenvx is run by Scott Motte, who describes himself as the creator of dotenv and Dotenvx.7 He introduced Dotenvx in June 2024 as the fix for three problems with plain dotenv: leaking .env files, juggling many environments, and inconsistent behavior across languages.2 The operating company is Dotenvx LLC, and it has not announced outside funding.6
Competitive landscape
| Company | Main focus | How secrets reach apps | Stage and backing | Where it stands out |
|---|---|---|---|---|
| Dotenvx | Encrypts .env files with public-key cryptography1 | Decrypts at runtime with one private key per environment1 | Founder-led; about 5,900 GitHub stars4 | No hosted vault required1 |
| Infisical | Open-source secrets, certificate, and privileged access management12 | Delivers secrets and short-lived access to apps and people11 | Private; nearly $60M raised, $600M valuation10 | More than 30,000 GitHub stars13 |
| Doppler | Hosted secrets platform that replaces .env files15 | CLI injection and syncs to cloud and CI services14 | Private; $20M Series A led by CRV17 | Developer experience and fast setup14 |
| Bitwarden Secrets Manager | Open-source secrets manager from Bitwarden18 | CLI, SDKs, and machine accounts for CI18 | Private; $100M led by PSG19 | Low published prices18 |
| 1Password | Password manager with developer secrets tools22 | Service accounts, CLI, and CI integrations22 | Private; $400M+ ARR20 | Staff and app secrets in one vault22 |
| Pulumi ESC | Secrets and configuration layer over many stores24 | Versioned environments read by CLI, SDKs, and Kubernetes24 | Private; $99M raised25 | Dynamic cloud credentials24 |
Where Dotenvx falls short
Dotenvx protects secrets at rest but not at runtime. Once decrypted, values sit in the process environment like any .env file, and the private key itself becomes a secret that someone has to manage.89
It is a small, founder-led project, so buyers who need vendor support contracts, rotation, or fine-grained access policies will find more in a full secrets platform.65

What customers say
Where it helps
“For development on linux I like to use dotenvx, which lets you put encrypted secrets in an .env file and supply the private key separately.”
“dotenvx encryption goes a long way towards solving THE BIGGEST problem with dotenv; using multiple tools to ensure that secrets are protected.”
Where it falls short
“dotenvx is a way to encrypt your secrets at rest. It's kinda like sops but not as good.”
“Agreed, and it's nice and easy for anyone already using `.env` files, although the private key used to decrypt the dotenvx key-values is itself a secret.”
Leadership

Scott Motte
Creator of dotenv and Dotenvx
Motte describes his work as sitting where security and design meet.1
Sources
- Dotenvx: homepage, design, and featured users, accessed November 9, 2026
- Dotenvx: From dotenv to dotenvx, June 24, 2024
- GitHub: dotenv repository
- GitHub: dotenvx repository and license
- Dotenvx: Armor key custody
- Dotenvx: pricing
- Scott Motte: personal site
- Hacker News: comparing Dotenvx with SOPS, April 2026
- Hacker News: the private key is itself a secret, December 2025
- SecurityWeek, Secrets Management Firm Infisical Valued at $600 Million After $40 Million Raise, October 28, 2026
- Infisical, Pricing, accessed October 29, 2026
- Infisical, homepage, accessed October 29, 2026
- Infisical, Infisical raises $40M Series B, October 28, 2026
- Doppler: customers
- Doppler: pricing
- Doppler: on-premises deployment
- TechCrunch: Doppler lands $20M Series A, April 27, 2022
- Bitwarden: Secrets Manager plans
- Bitwarden: $100M investment led by PSG, September 2022
- 1Password: surpasses $400M ARR, November 2025
- 1Password: Business pricing
- 1Password: secrets management
- Pulumi: pricing
- Pulumi: ESC
- GeekWire: Pulumi raises $41M, October 2023
