Nested keys
database.host becomes DATABASE_HOST. Switch to double underscores (DATABASE__HOST) for .NET, Pydantic settings and other frameworks that rebuild nesting from them.
Turn a JSON config object into environment variables for dotenv, Docker and CI.
Convert JSON to a .env file. Nested keys become DATABASE_HOST style variables (or DATABASE__HOST), values are quoted when needed and a prefix can be added.
{"port":8080,"database":{"host":"localhost","port":5432},"features":["export","beta"]}PORT=8080
DATABASE_HOST=localhost
DATABASE_PORT=5432
FEATURES=export,betaTip: Never commit real secrets: keep .env in .gitignore and commit a .env.example with placeholder values.
database.host becomes DATABASE_HOST. Switch to double underscores (DATABASE__HOST) for .NET, Pydantic settings and other frameworks that rebuild nesting from them.
Values with spaces, quotes, # or $ are double-quoted and escaped.
Add a prefix such as APP to every variable: APP_PORT, APP_DATABASE_HOST.
Lists of plain values become comma-separated strings; lists of objects use indexes.
Single underscores (DATABASE_HOST) are the usual .env style. Choose double underscores when your framework turns DATABASE__HOST back into nested settings, as ASP.NET Core and Pydantic settings do; they also keep nesting distinct from underscores inside names.
Yes, untick "UPPERCASE keys".
As plain text (true, 8080), since environment variables are strings.
No, the file is generated in your browser.