Convert .env to YAML

Convert .env variables to YAML for Docker Compose, Kubernetes and GitHub Actions. Free and private.

🔒 100% client-side. Your keys, secrets and values are never sent to any server and never stored.

.env

.env.example (secrets removed)

Input

Output

Paste your .env content

How to convert .env to YAML

Paste your variables, keep From = env and To = yaml, then click Convert. Values are quoted so numbers and booleans stay strings.

Where to use the YAML

Paste the result under environment: in Docker Compose, in a Kubernetes ConfigMap data: block, or in a GitHub Actions env: section.

Frequently asked questions

Does it support nested YAML?

The converter handles flat key: value pairs, which is what environment variables are.

Is it free?

Yes, free with no sign-up.