Env File Parser

Parse .env to JSON or key-value list.

Developer

Paste .env file content to see parsed key-value pairs or JSON. Comments and empty lines are skipped. Runs in your browser — do not paste real secrets in shared environments.

About Env File Parser

.env files store environment variables as KEY=value lines. This tool parses that format and outputs a key-value list or a JSON object. Comments (#) and empty lines are ignored. Use it to inspect structure or convert to JSON for docs (avoid pasting real secrets).

How to use

  1. Paste your .env content. Choose list or JSON output.
  2. Click Parse. Copy the result if needed.

Frequently Asked Questions

What format does it expect?
Standard .env: KEY=value per line. Lines starting with # are comments. Empty lines are skipped. Values can be quoted.
Is my .env content sent to a server?
No. Parsing runs in your browser. Your secrets never leave your device.
Can I get JSON output?
Yes. Choose "JSON" to get a single object with all keys and values. Useful for config or documentation (with non-secret values).