Skip to content
CyberReviewed

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
Ranked 71 of 325
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

Dotenvx scores out of 10
CriterionScore
Pricing transparency9.4
Product scope and fit6.8
Company durability5.6
Evidence of adoption7.6
Ease of adoption9.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

Which of these companies scores best, and who is each one built for?Hover over or tap a logo for details.
Top rated, for smaller teamsTop rated, for enterprisesLower score, for smaller teamsLower score, for enterprises45678910Review Score← Small businessesLarge enterprises →Who it's built for7.78.58.58.48.68.2
Dotenvx and its competitors
CompanyMain focusHow secrets reach appsStage and backingWhere it stands out
DotenvxEncrypts .env files with public-key cryptography1Decrypts at runtime with one private key per environment1Founder-led; about 5,900 GitHub stars4No hosted vault required1
InfisicalOpen-source secrets, certificate, and privileged access management12Delivers secrets and short-lived access to apps and people11Private; nearly $60M raised, $600M valuation10More than 30,000 GitHub stars13
DopplerHosted secrets platform that replaces .env files15CLI injection and syncs to cloud and CI services14Private; $20M Series A led by CRV17Developer experience and fast setup14
Bitwarden Secrets ManagerOpen-source secrets manager from Bitwarden18CLI, SDKs, and machine accounts for CI18Private; $100M led by PSG19Low published prices18
1PasswordPassword manager with developer secrets tools22Service accounts, CLI, and CI integrations22Private; $400M+ ARR20Staff and app secrets in one vault22
Pulumi ESCSecrets and configuration layer over many stores24Versioned environments read by CLI, SDKs, and Kubernetes24Private; $99M raised25Dynamic 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

Dotenvx homepage
Dotenvx homepage at dotenvx.com, captured November 9, 2026.

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

Sources

  1. Dotenvx: homepage, design, and featured users, accessed November 9, 2026
  2. Dotenvx: From dotenv to dotenvx, June 24, 2024
  3. GitHub: dotenv repository
  4. GitHub: dotenvx repository and license
  5. Dotenvx: Armor key custody
  6. Dotenvx: pricing
  7. Scott Motte: personal site
  8. Hacker News: comparing Dotenvx with SOPS, April 2026
  9. Hacker News: the private key is itself a secret, December 2025
  10. SecurityWeek, Secrets Management Firm Infisical Valued at $600 Million After $40 Million Raise, October 28, 2026
  11. Infisical, Pricing, accessed October 29, 2026
  12. Infisical, homepage, accessed October 29, 2026
  13. Infisical, Infisical raises $40M Series B, October 28, 2026
  14. Doppler: customers
  15. Doppler: pricing
  16. Doppler: on-premises deployment
  17. TechCrunch: Doppler lands $20M Series A, April 27, 2022
  18. Bitwarden: Secrets Manager plans
  19. Bitwarden: $100M investment led by PSG, September 2022
  20. 1Password: surpasses $400M ARR, November 2025
  21. 1Password: Business pricing
  22. 1Password: secrets management
  23. Pulumi: pricing
  24. Pulumi: ESC
  25. GeekWire: Pulumi raises $41M, October 2023

Related reviews

More Secrets management reviews
8.5/10

Infisical review

Infisical is an open-source secrets management company founded in 2022 and based in San Francisco, California, that manages application secrets, certificates, and privileged access in one platform. A free plan covers 5 identities, and paid plans start at $20 per identity per month.

Secrets management
8.5/10

Doppler review

Hosted secrets manager for developers that stores environment variables and API keys once and syncs them to laptops, CI pipelines, and cloud platforms.

Secrets management
8.4/10

Bitwarden Secrets Manager review

Open-source, end-to-end encrypted secrets manager from Bitwarden for API keys, database credentials, and machine access tokens.

Secrets management