ENV Cleaner — remove noise from .env files
Strip duplicates, empty lines, comments, and trailing whitespace from any .env file. The cleaner keeps the last definition when duplicates exist — matching how dotenv behaves at runtime.
Clean your .env file. Remove duplicates, empty values, comments, and trailing whitespace in one click.
API_KEY=def DEBUG=true PORT=3000
Runs 100% in your browser. Your .env never touches our servers.
API_KEY=abc DEBUG=true API_KEY=def
DEBUG=true API_KEY=def
NODE_ENV=production EMPTY= PORT=3000
NODE_ENV=production PORT=3000
# app config DATABASE_URL=postgres://... # debugging flag DEBUG=true
DATABASE_URL=postgres://... DEBUG=true
Strip duplicates, empty lines, comments, and trailing whitespace from any .env file. The cleaner keeps the last definition when duplicates exist — matching how dotenv behaves at runtime.
We're building a tiny tool to keep .env files in sync across teammates and environments. Leave your email — no spam, just a single launch ping.