.env to JSON & YAML Converter

Turn .env into JSON or YAML — or JSON, YAML, compose files and K8s Secrets back into .env — all in your browser.

Loading Tool...

Help shape .env to JSON & YAML Converter

The bug you just noticed will fade in 3 minutes. The feature idea will vanish after your next tab switch. Crazy peps don't suffer silently.

0/1000

Frequently Asked Questions

They're joined with double underscores: {"db":{"host":"x"}} becomes DB__HOST=x, the convention used by .NET, NestJS and other config loaders.

No. The conversion runs in your browser and the file is never stored.

Yes. Paste the YAML in Import and the base64 data is decoded back to plain KEY=value lines.

Inline comments are kept when converting back to .env. JSON and YAML output drop them because those formats can't carry them.