A .env file that holds a live Stripe key is a file that cannot be committed, emailed, or stored on a shared drive safely. The .env Encryption Tool changes that: it wraps secret values with AES-256-GCM using a passphrase, turning them into opaque ENC: tokens while leaving the rest of the file intact.
Encryption happens entirely in the browser with the Web Crypto API. A PBKDF2 key derivation means a strong passphrase is all the protection the file needs; AES-GCM adds authentication, so tampered or mistyped ciphertext is detected instead of silently mis-decrypted.
You choose the strategy: encrypt every value for a fully locked file, or encrypt only listed keys and keep a readable companion file for the rest. Decryption is one click with the same passphrase.