← All tools

.env File Generator

Build a .env file from a list of environment variables — add or remove rows, set name, value, and an optional comment, then export as .env (with values), .env.example (values blanked for templates), or a shell export script (export NAME=value). Optionally fill empty values with generated secure random secrets (hex, base64, base64url) via Web Crypto. Pairs with the dotenv converter and gitignore generator. Everything runs locally in your browser.

NameValueComment

Output

Add variables above.