Home / Developer / .env Converter & Checker

.env Converter & Checker

Convert .env files to JSON, YAML, Docker Compose, Kubernetes ConfigMap or Secret, and find missing keys.

Free, no uploads, no sign-up. Runs 100% in your browser.

How .env Converter & Checker works

The .env parser handles comments, export, single, double and multi-line quoted values. Values are written in the format you pick. The compare tab checks your file against .env.example for missing, extra and empty keys.

Input: ENV, JSON, YAML. Output: JSON, YAML, ENV, SH.

How to use .env Converter & Checker

  1. Paste or open a .env, JSON or YAML file.
  2. Pick the output format.
  3. Copy or download it, or compare with .env.example.

Tips

  • Everything is computed locally. Safe for tokens, keys and private data.
  • Use Ctrl/⌘ + K to jump between developer tools quickly.

.env Converter & Checker FAQ

Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

  • YAML ⇄ JSON: Convert between YAML and JSON with validation.
  • docker run to Compose: Turn one or more docker run commands into a docker compose YAML file.
  • Secret Scanner: Scan files, a folder or a ZIP for API keys, tokens, passwords and private keys before you share or commit.
  • JSON Formatter: Prettify, validate, minify and explore JSON as a tree.

OpenFile runs in your browser. Turn on JavaScript to use the tools.