.env viewer
To open a .env file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.
What you see
| .env in the viewer | |
|---|---|
| Values | Hidden until Show values; the switch is never remembered |
| Rules | As dotenv reads them: export, quotes, multi-line values, # comments |
| Set twice | Named under Details; the last value counts |
| Convert | To JSON or YAML |
| Extensions | .env |
| Upload | None: opened on your device |
What is a .env file?
A .env file holds environment variables as KEY=value lines: database addresses, API keys and other settings an app reads when it starts.
The file with line numbers and colours, its values hidden as dots until you switch Show values on; keys and comments stay visible. Tree lists every variable. Details counts them and names any key set twice.
How to open a .env file
- Add your .env. Drop the file in the box, choose it or paste it.
- Look at it. The file with line numbers and colours, its values hidden as dots until you switch Show values on; keys and comments stay visible. Tree lists every variable. Details counts them and names any key set twice.
- Take it further. Open in hands it, in a new tab, to File converter.
Questions
It is read in your browser and never uploaded. Its values are dots in View until you switch Show values on; Bytes shows the file as it is.
It is named .env on purpose: the dot hides it on Mac and Linux. The viewer knows it by that name, and by names like .env.local or prod.env.
No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.