Coverage and syntax
- Run the check to compare key coverage.
Private dotenv preflight
For developers reviewing environment files: validate syntax, find missing keys, identify values that should never reach a template, and download a safe .env.example in one browser-only check.
Free · No account or email · Files stay on this device · A starter template downloads if no input is provided
Private validator
Paste your local .env and, if available, the existing .env.example. EnvGuard compares key coverage, checks syntax, redacts likely credentials, and produces a clean template you can use immediately.
Values are processed only in this tab. Results name keys but never repeat detected secret values.
Free · No registration · No email · Generated with Blob in this browser · Nothing is sent to a server
From risk to usable output
A useful dotenv validator should do more than display a warning. EnvGuard converts the review into a practical file for onboarding, CI setup, deployment handoff, or an AI coding-agent prompt.
Catch malformed assignments, invalid key names, unclosed quotes, and duplicate variables before they become confusing runtime failures.
Compare private and example files by key name, then identify missing variables and stale entries without manually scanning two long files.
Download a normalized .env.example that keeps useful configuration while blanking likely credentials and replacing non-local URLs with safe examples.
How it works
No installation, account setup, or file upload is required. The entire workflow stays in the current browser tab.
Add your private .env and optional existing .env.example. The tool reads text locally and does not transmit it.
Check syntax, missing keys, stale entries, duplicates, and sensitive keys without exposing their original values in the report.
Save the generated .env.example, review its defaults, and place it in your project for the next developer or deployment.
FAQ
The short version: processing is local, downloads are generated in-browser, and a human should still review the final file before sharing it.
No. Validation runs in JavaScript inside this browser tab. This page does not send the pasted text to a server, and downloaded files are created locally with the browser Blob API.
It contains the unique key names found in your files. Common non-secret configuration defaults may be preserved, while likely credentials are blanked and non-local service URLs are replaced with safe example values.
You receive a practical starter .env.example with development environment, port, database URL, and API key fields. You can edit it locally or return to generate a project-specific version.
No automated heuristic can identify every credential format. EnvGuard catches common sensitive key names and value patterns, but you should review the generated template and use a dedicated secret scanner in your repository and CI workflow.
The validator supports comments, blank lines, optional export prefixes, quoted or unquoted values, dots and hyphens in key names, and inline comments. It also reports duplicate keys and unclosed quoted values.
Leave with a real file
Use your current validation result, or start with the built-in template. The file is generated instantly on this device and is ready for your project review.
Free · Registration-free · Email-free · Local browser processing