.env.example Generator
Strip secrets to build a .env.example.
How to use the .env.example Generator
- 1 Paste the contents of your .env file.
- 2 Choose how values are shown: blank, a placeholder, or kept as examples.
- 3 Copy the generated .env.example for your repo.
Examples
- ▸ Creating a safe .env.example to commit alongside your code.
- ▸ Documenting required environment variables for a team.
Frequently asked questions
Are my secret values exposed?
No. Everything runs in your browser and nothing is uploaded. By default the values are removed entirely so you can safely commit the example file.
Does it keep comments and structure?
Yes. Comments and blank lines are preserved (you can toggle comments off), and each KEY=value line keeps its key while the value is blanked or replaced with a placeholder.