# Env File Checker > Free .env file checker that runs in the browser: drop or paste a .env file and the page reads it the way dotenv does, lists what is wrong (lines that cannot be read, names set twice, a # that Node's dotenv treats as a comment, unquoted spaces that break a shell, ${VAR} references to names the file does not set, short passwords, placeholders, and secrets behind NEXT_PUBLIC_, VITE_ or REACT_APP_ that the build ships to every visitor), and writes a .env.example with the secret values taken out. Nothing is uploaded. An optional, metered AI step writes a one-line comment for each variable from the variable names only. URL: https://env-file-checker.skillsafe.ai/ API: https://env-file-checker.skillsafe.ai/api.html ## What the free checker does (in the browser, no sign-in) - Reads NAME=value, export NAME=value and NAME: value lines; single, double and backtick quotes; double-quoted \n escapes; quoted values over several lines; full-line and inline comments; a byte-order mark and Windows line endings. - Finds secrets by name (SECRET, PASSWORD, TOKEN, KEY, DSN, CREDENTIALS and similar words) and by value (known key formats, a password inside a connection URL, a long random-looking string). Names that say a key is public (publishable, anon) are not counted. Secret values are masked on screen unless the visitor chooses to show them. - Flags a secret behind a browser prefix (NEXT_PUBLIC_, VITE_, REACT_APP_, EXPO_PUBLIC_, PUBLIC_ and others) as a leak, and a browser-prefixed key that may be public by design as something to confirm. - Writes four files: .env.example (comments and order kept; ports, flags, modes and localhost addresses kept; every other value empty, or all blank, or your-name-here placeholders; a connection URL keeps its shape with user:password@localhost), a fixed .env (one line per name with the value that wins, values quoted where needed, plain line endings), a JSON object, and a Docker Compose environment block that reads each value as ${NAME}. - Compares the file with an existing .env.example: names missing from the example, names only in the example, and real-looking secrets committed in it. - Download any of the four files or a Markdown report of the findings (names, no values), or copy. ## Optional AI step (sign-in, metered) Task id `document`. Sends the variable names and, for each, the page's own reading: kind (secret, setting, empty), shape (number, boolean, url, url-with-password, random-looking, ...), a matched key format, whether the name has a browser prefix, and the codes of the problems found. Never a value. Optional one-line project description. The model returns JSON: `vars` (for each name: about, where to get the value, secret true/false, required/optional/unknown) and `notes`. The page uses a comment only for a name that is in the file and only if it carries nothing shaped like a credential, keeps a value out of the example when either side calls it a secret, and lists what it refused. ## Sources Adapted from the agent skill @alirezarezvani/env-secrets-manager (MIT), https://skillsafe.ai/skill/@alirezarezvani/env-secrets-manager, from github.com/alirezarezvani/claude-skills.