.env — Environment Variables File
A plain-text file defining key-value environment variables, commonly used to store local configuration and secrets for an application.
.env files frequently store API keys, passwords, or other secrets. Never commit them to version control or share them, and treat their contents as sensitive.
Check another filename
File extension lookup
Frequently asked questions
What is a .env file?
A plain-text file defining key-value environment variables, commonly used to store local configuration and secrets for an application.
Can I edit a .env file?
Yes — .env files are commonly editable with software such as Any text editor.
Does having a .env extension mean the file is safe?
No single extension can guarantee that. .env files frequently store API keys, passwords, or other secrets. Never commit them to version control or share them, and treat their contents as sensitive. Always consider where the file came from, not just its name.