.env Files to JSON & YAMLEnvironment files (.env) are the standard way to store local development settings, database URLs, and API keys for Node.js, PHP/Laravel/Yii, Python, and Docker Compose. However, cloud deployment platforms - such as Kubernetes ConfigMaps/Secrets, GitHub Actions workflows, AWS ECS task definitions, and Terraform - frequently require those same key-value pairs in YAML or JSON format. This tool converts seamlessly between .env, JSON, and YAML directly in your browser.
# and empty lines are safely skipped when parsing .env into JSON or YAML.'...') or double ("...") quotes around values - such as APP_NAME="My App" or DB_PASS='p@ss=123' - are automatically stripped so you do not end up with literal extra quotes in JSON/YAML.= preserves Base64 keys, connection strings, and query parameters containing =.export Prefixes: Shell-style export KEY=VALUE lines are handled cleanly..env secrets here? Yes. All conversion runs 100% locally in your browser's JavaScript memory - nothing is logged, stored, or transmitted over the network.data: or stringData: in a Kubernetes Secret/ConfigMap, or under environment: in docker-compose.yml..env? Yes - switch the target mode to convert a flat JSON object back into KEY=VALUE lines, automatically quoting values that contain spaces or # characters.