Convert JSON to .env
Flatten nested JSON
to KEY=VALUE.
Convert any JSON object to .env
dotenv format, shell export
statements or Docker env-file.
Nested keys become UPPER_SNAKE_CASE.
Runs entirely in your browser.
{"db": {"host": "localhost"}} →
DB_HOST=localhost
Common use cases
Node.js and Docker
Convert a JSON config file to a .env file for use with dotenv, Docker Compose or Kubernetes ConfigMaps. Nested config sections become prefixed env var names — database.host becomes DATABASE_HOST.
ASP.NET appsettings.json
ASP.NET Core reads environment variables as config overrides. Convert your appsettings.json to env vars to override config in CI/CD pipelines or Docker containers — matching the SECTION__KEY convention with the double-underscore separator option.
CI/CD pipelines
GitHub Actions, GitLab CI and CircleCI accept environment variables as key-value pairs. Convert your JSON secrets or config to shell export statements — paste directly into a CI env block or source the file in your pipeline script.
Cloud config
AWS Lambda, ECS task definitions, App Runner and ECS all accept environment variables as key-value pairs. Convert JSON config to the right format for each service — dotenv for Lambda layers, export for shell scripts, Docker format for container definitions.
All data & config formats tools
JSON flattened to env vars
in your browser. No upload.
The flattener recursively traverses the JSON tree and builds UPPER_SNAKE_CASE keys from the path. camelCase keys are converted with underscore insertion before each uppercase letter. Special characters are removed to produce valid env var names.
The double-underscore separator option produces SECTION__KEY format — the convention used by ASP.NET Core, Kubernetes ConfigMaps and many other frameworks for hierarchical environment variable overrides.
