convert .env files to json and back
← enter .env or JSON
.env files store environment variables as KEY=VALUE pairs, one per line. Lines starting with # are comments and blank lines are ignored. Values can optionally be wrapped in single or double quotes. This tool converts between .env text and JSON objects in both directions — useful for comparing environment configs, migrating to a secrets manager that speaks JSON, or seeding a local env from a JSON export.