.env file validator

Runs entirely in your browser — paste with confidence, nothing is sent anywhere. Checks basic syntax and flags keys that look like secrets, so you can double-check they're not something you're about to commit.

What is .env file validator?

A .env file's syntax is simple but unforgiving — a stray space, an unquoted value with spaces, or a duplicate key can silently break an application's configuration.

How to use it

Paste .env content to check its syntax and flag lines that look like real secrets (API keys, passwords, tokens) as a reminder to make sure the file isn't about to be committed to version control.

Example

DB_PASSWORD=hunter2 -> flagged: "looks like a real secret value — make sure this file is in .gitignore."