DevOps Tools
Convert .env files into docker-compose, Kubernetes, and GitHub Actions secrets.
Convert a .env file into a docker-compose environment section.
Convert a .env file into a base64-encoded Kubernetes Secret manifest.
Convert a .env file into gh secret set commands for GitHub Actions.
Convert a docker-compose.yml into Kubernetes Deployment and Service manifests.
Convert a docker-compose.yml into docker run commands.
Convert docker run commands into a docker-compose.yml file.
These tools all take one artifact from your deployment pipeline — a .env file or a docker-compose.yml — and re-render it in the shape another tool in that same pipeline expects, so you're not hand-translating environment variables or service definitions between formats every time you add one.
The three .env converters (to docker-compose, to a Kubernetes Secret, to GitHub Actions) all read the same simple KEY=value format but target genuinely different destinations: docker-compose gets a plain environment: block, a Kubernetes Secret gets each value base64-encoded per the Secret manifest spec (not for confidentiality — base64 isn't encryption — but because that's the literal wire format kubectl apply expects), and GitHub Actions gets a sequence of gh secret set commands for bulk-importing values into a repo's encrypted secrets store via the CLI. docker-compose ↔ docker run moves in both directions between a compose file's declarative service definitions and the equivalent one-shot CLI invocations — the conversion is honest about what doesn't translate: a service that only has a build: context with no image: can't be run directly (compose builds it; docker run doesn't build anything), depends_on ordering has no docker run equivalent since the command doesn't sequence container startup, and deploy.replicas beyond 1 requires running the command in a loop with distinct names, which the output calls out explicitly rather than silently producing one container and calling it done.
One thing worth saying plainly: these tools process everything client-side and nothing is uploaded, which matters more here than in most categories, since .env files routinely contain real API keys and database credentials. That's exactly why running secrets through any web tool — including this one — is worth being deliberate about; verify a tool doesn't phone home before pasting production credentials into it, and this page's network tab is the fastest way to check.