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.