Convert YAML to .env

Convert flat YAML key-value pairs into a .env file. Free, private, runs in your browser.

🔒 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 YAML to .env

Paste YAML like API_KEY: "abc123", keep From = yaml and To = env, then click Convert.

Typical use cases

Extract variables from a Docker Compose environment: block or a CI config and reuse them as a local .env file.

Frequently asked questions

Are comments kept?

Comment lines are skipped in the output.

Does it upload my file?

No. Everything stays in your browser.