Skip to main content
HandyWeb

.env File Editor

Paste a .env file to spot errors and duplicate keys, keep secrets hidden, and get a safe .env.example or JSON. Nothing is stored or sent.

0 characters0 bytes
Output
0 characters0 bytes

How to Use It

  1. Paste the .env file.
  2. Read the problems and the variables.
  3. Choose the output, and copy it. The .env.example has no values, so it is safe for a code repository.

Questions and Answers

Are my secrets stored or sent?

No. The file is read on this page only, and nothing is stored or sent. Everything is gone when you close the page.

Good to Know

Variables are not expanded (${VAR} stays as it is). Values are hidden by their key names only, so the tool does not find every secret.

Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)