Back to Tools
.env Formatter
.env Formatter
Clean, sort, and perfectly align your environment variables.
About the .env Formatter
Tidy and sort .env files.
How to use the .env Formatter
- Paste your code into the input box, or click Sample to load an example.
- Press Process / Generate.
- Use Copy (or Download where shown) to keep the result. Clear empties the box.
Tips
- Never commit .env files with real secrets to version control.
- Do not paste real secrets into online tools. Replace them with dummy values first.
Frequently Asked Questions
A file of KEY=value settings that configures an application.