dotenvx
dotenvx.com
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What dotenvx is
dotenvx encrypts secrets in .env files and decrypts and injects them when applications run. Its maker describes it as free and open source. Public-key encryption uses a secp256k1 key pair, with the private decryption key kept separate from the encrypted file. For development, that key can be stored in an operating system secret store, including macOS Keychain, Windows Credential Manager, and Linux Secret Service. Listed workflow features include environment selection and composition, validation, pre-commit leak prevention, Docker image protection, key/value operations, and runtime log redaction. The maker says encrypted files can travel with code and be decrypted using a private key supplied in the deployment environment, without a secrets service in the application's critical path. Installation options include CLI, npm, winget, Homebrew, GitHub releases, Docker, Ruby gem, and Python pip. Guides cover developer tools, programming languages, and deployment services. The free user plan includes CLI, SDKs, secret encryption, and GitHub Issues support. Member costs $5 per month; the paid product has a 14-day trial. Armor adds team access controls and decryption auditing.
Who it suits
dotenvx is aimed at software developers and teams, including people working with coding agents. Its operating-system secret-store options may suit developers managing environment secrets across supported desktop platforms.
Good to know, and what to watch
- Free and open source
- Private decryption key stays separate from encrypted files
- Supports several operating-system secret stores
- Includes validation and pre-commit leak prevention
- Install options include CLI, package managers, and Docker
- Free-tier support is through GitHub Issues
- SOC 2 Type 2 observation is in progress
- GDPR data processing agreement is in preparation
Plans
Every plan and priceDotenvx User
Member
Business
Free plan · 14-day trial
Getting started
- Open https://dotenvx.com/
- Choose a CLI, npm, winget, Homebrew, GitHub release, Docker, Ruby gem, or Python pip installation
- Install on Linux, macOS, Windows, or use a self-hosted deployment
- Use the free Dotenvx User plan or start the 14-day paid trial
- Encrypt secrets in .env files and supply the private key through the deployment environment
Limits to check
The free Dotenvx User plan includes CLI, SDKs, secret encryption, and GitHub Issues support. Member costs $5 a month for one seat, 250,000 included audit events, and five days of audit retention; Business costs $90 a month for 10 seats, 1,000,000 events, and 90 days of retention.
The Club's review
dotenvx is a free, open-source tool for developers who want encrypted .env files to travel with application code and work across development and deployment. Its file-based approach suits teams that can manage decryption keys themselves; teams needing approval workflows and shared access controls should consider Armor.
Overview
dotenvx encrypts secrets in .env files and decrypts and injects them at runtime. It uses a secp256k1 public-key pair, keeping the private decryption key separate from the encrypted file. That makes it practical to keep encrypted configuration alongside code while supplying the private key through a deployment environment, without putting a secrets service in the application’s critical path.
For local development, the private key can be stored in the operating system’s secret store, including macOS Keychain, Windows Credential Manager, and Linux Secret Service. The approach depends on teams protecting and distributing the decryption key appropriately. It is a good fit for developers comfortable with that responsibility, but not a substitute for centralized team governance.
Key features
dotenvx covers more than encryption and runtime injection. Environment selection and composition help manage configuration across environments, while validation and key/value operations support day-to-day edits. Pre-commit leak prevention, Docker image protection, and runtime log redaction address several points where secrets could otherwise be exposed.
Its integration coverage is broad. Official guides cover Claude, Codex, Cursor, 1Password, Bitwarden, and a range of programming languages, including Node.js, Python, Ruby, Rust, PHP, Go, Java, Kotlin, Clojure, and .NET. Deployment guides cover AWS Lambda, Cloudflare, DigitalOcean, Fly, Heroku, Netlify, Railway, Render, Vercel, Docker, Docker Compose, and GitHub Actions. Install options include the CLI, npm, Windows winget, Homebrew, GitHub releases, Docker, a Ruby gem, and Python pip. That range gives teams multiple ways to fit dotenvx into existing tools and workflows.
Secret rotation and CI/CD injection are supported. The free CLI and SDKs handle the core encrypted-file workflow; teams that need controlled access can add Armor, which offers team access without sharing private keys, human approval before decryption, software-enclave decryption, and decryption audits.
Pricing
The Dotenvx User plan is free at no cost. It includes the CLI, SDKs, secret encryption, and GitHub Issues support. It is the clearest starting point for individual developers and teams that can work without paid access controls or audit features.
Member costs $5 a month, billed monthly, for one seat, unlimited keys, 250,000 included audit events, and five days of audit retention. Additional seats cost $10/mo per additional seat. This is a modest entry point for a small team that needs audit history, but five days may be too short for teams that investigate issues over longer periods.
Business costs $90 a month, billed monthly, and includes 10 seats, unlimited keys, 1,000,000 included audit events, and 90 days of audit retention. Additional groups of 10 seats cost $90/mo per additional 10 seats. It adds Slack support alongside ticket support; Member includes ticket support. Enterprise SSO is listed as coming soon, so teams that require it should not treat it as an available feature.
The pricing model is freemium, with a 14-day trial for the paid product. Armor is the paid product for access controls; the free plan keeps the core workflow accessible but does not include the listed paid audit and support tiers.
Platforms
dotenvx supports Linux, macOS, Windows, and self-hosted deployments. Its installation choices and language and deployment guides make it workable across common developer environments and a range of hosting platforms.
Who it's for
dotenvx is aimed at software developers and teams, including people working with coding agents. It suits those who want encrypted environment files stored with code, prefer runtime key injection over a secrets service in the application’s critical path, and can manage private-key handling. Organizations that need approvals, audited decryption, or team access without sharing private keys should evaluate Armor.
Compliance work is still in progress: SOC 2 Type 2 observation is underway, and a GDPR data processing agreement is being prepared. Organizations that require completed status in either area should factor that into their decision.
Pros and cons
- Pros: The private key stays separate from the encrypted .env file, supporting a code-adjacent workflow without adding a secrets service to the runtime critical path.
- Pros: Broad language, deployment, and installation guides give developers several ways to integrate it into existing projects.
- Pros: The free CLI and SDKs include encryption, while workflow features address validation, accidental commits, Docker images, and runtime logs.
- Cons: Teams must handle the private decryption key and its delivery to deployments.
- Cons: Member’s five-day audit retention is brief for teams that need longer review windows.
- Cons: Enterprise SSO is coming soon, and the stated SOC 2 and GDPR work is not complete.
Alternatives
Secrets Management Tools is the broader category to browse if you are still comparing approaches.
Choose Infisical if its free plan’s five identities, unlimited projects, and 100+ integrations better match your needs. Envshed offers a free Developer plan with up to two members, three projects, unlimited secrets, AES-256-GCM encryption, and CLI and API access, which may suit a small project seeking those explicit caps. KeyEnv has a free plan capped at three projects and 100 secrets per environment, with CLI access, end-to-end encryption, and community support.
Phase may suit teams looking for a free plan with up to five users or service accounts, three apps, three environments, OAuth SSO, and AI agent integration. secr offers a free plan with three projects, 100 secrets, one AI agent, and seven-day audit logs. Keyway lists a Pro plan at €9 a month with 10 private repos, unlimited environments, and unlimited collaborators.
Kubermatic Kubernetes Platform is another option, with a free, open-source Community Edition under Apache License 2.0. Doppler may fit teams seeking a free allowance for three users, with five config syncs and three days of activity history; its Developer plan is $8 a month per additional user.
Verdict
Choose dotenvx if you want open-source encrypted .env files that travel with code, runtime decryption, and broad developer and deployment integration support. Its main advantage is keeping a secrets service out of the application’s runtime critical path. Look elsewhere if your team needs centralized access controls without adding Armor, longer audit retention on the entry paid tier, or completed compliance status.
The verdict
dotenvx focuses on keeping encrypted environment files with code while separating the key used to decrypt them. Teams that need access controls can consider Armor, while the listed compliance work remains in progress.
Questions people ask
Is dotenvx free?
Yes. The Dotenvx User plan is free and includes CLI, SDKs, secret encryption, and GitHub Issues support.
What do paid plans cost?
Member is $5 a month. Business is $90 a month.
Is there a trial?
The paid product has a 14-day free trial.
Where can dotenvx run?
It supports Linux, macOS, Windows, and self-hosted deployment.
Is dotenvx open source?
The maker describes dotenvx as free and open source.
Which integrations are covered?
Guides cover tools such as Claude, Codex, Cursor, and 1Password; languages including Node.js, Python, Ruby, Rust, PHP, Go, Java, Kotlin, Clojure, and .NET; and services including AWS Lambda, Docker, GitHub Actions, and Vercel.
What the maker publishes
- Armor access controls
- Armor lists team access without sharing private keys, human approval before decryption, software-enclave decryption, and auditing of decryptions. source
- Armor trial
- The Armor FAQ states that the paid product has a 14-day free trial. source
- Compliance status
- The trust page says SOC 2 Type 2 observation is in progress and a GDPR data processing agreement is in preparation. source
- Deployment integrations
- Official guides cover AWS Lambda, Cloudflare, DigitalOcean, Fly, Heroku, Netlify, Railway, Render, Vercel, Docker, Docker Compose, and GitHub Actions. source
- Developer integrations
- Official guides cover Claude, Codex, Cursor, 1Password, Bitwarden, Node.js, Python, Ruby, Rust, PHP, Go, Java, Kotlin, Clojure, and .NET. source
- Encryption
- Dotenvx uses public-key encryption with a secp256k1 key pair, keeping the private decryption key separate from the encrypted .env file. source
- Headquarters
- Santa Monica, California, United States source
- Install options
- The install documentation lists CLI installation, npm, Windows winget, Homebrew, GitHub releases, Docker, Ruby gem, and Python pip. source
- Intended audience
- The maker describes Dotenvx as being built for software developers and teams, including humans and coding agents. source
- Key storage
- For development, the private key can be stored in the operating system’s secret store, including macOS Keychain, Windows Credential Manager, and Linux Secret Service. source
- No central runtime dependency
- The maker says encrypted files travel with code and can be decrypted at runtime using a private key supplied in the deployment environment, without a secrets service in the application’s critical path. source
- Open source
- The maker describes Dotenvx as free and open source. source
- Purpose
- Dotenvx encrypts secrets in .env files and decrypts and injects them at runtime for applications. source
- Support
- The pricing table lists GitHub Issues for the free user tier, ticket support for Member and Business, and Slack support for Business. source
- Workflow features
- The feature list includes environment selection and composition, validation, pre-commit leak prevention, Docker image protection, key/value operations, and runtime log redaction. source
Checked against the maker's pages on 4 Oct 2026.