Parse, validate, and convert .env files between formats.
A powerful utility for working with environment variables. Parse .env files, detect syntax errors and leaked secrets, and convert them to JSON, YAML, TOML, Docker formats, or Kubernetes ConfigMaps. Runs completely client-side to ensure your secrets never leave your browser.
Keywords: env parser, env to json, env to yaml, json to env, json to env converter, json to env online, json to env file, nested json to env, docker env file, kubernetes configmap, detect secrets, validate env, dotenv converter, env file generator
Tags: env, dotenv, config, json, yaml, kubernetes, docker, secrets
Paste your .env file content, JSON object, or YAML key-value pairs into the input panel on the left.
Choose your target format (JSON, YAML, .env, Docker env-file, Kubernetes ConfigMap, or TOML) from the bottom options bar.
Optionally enable 'Sort Keys' to alphabetically order your variables or 'Comments' to preserve or strip .env comments.
Review the 'Issues Found' section to see detected secrets, duplicate keys, or syntax errors instantly highlighted.
Click the Convert button or press ⌘↵ to generate the converted output.
Comprehensive .env parser: handles comments, single/double quotes, multiline values, and 'export' prefixes.
Bidirectional format conversion: convert .env to JSON/YAML, or JSON/YAML back to a clean .env file.
Docker & Kubernetes support: generate Docker-compatible --env-file output or Kubernetes ConfigMap YAML with a single click.
Secret detection engine: automatically scans for AWS keys, GitHub tokens, JWTs, private keys, and database passwords.
Real-time validation: highlights duplicate keys, empty values, and formatting errors as you type.
Syntax highlighting: beautiful, color-coded output for JSON, YAML, and shell script formats.
Sort keys: alphabetically order your environment variables for better maintainability and cleaner diffs.
Privacy-first: all parsing and secret scanning happens locally in your browser. No environment variables are ever sent to a server.
Keyboard shortcuts: use ⌘↵ to convert, ⌘⇧K to clear input, ⌘⇧S to scan for secrets, and ⌘⇧V to validate.
Large-input handling: optimized to process large configuration files without UI lag.