What this tool does
The .env File Parser reads dotenv-style configuration text line by line, validates it, and shows you exactly which lines are valid, which carry warnings, and which contain errors. It also produces clean JSON of every valid key and value.
How it works
Each line is classified as a blank, a comment, a valid KEY=VALUE pair, or a syntax error. The parser strips matching quotes, handles inline comments and the export prefix, validates key names, and tracks duplicates (last value wins, matching real dotenv behaviour). The logic is a pure function — no DOM, no network — so the same input always produces the same result.
Privacy
Everything runs locally in your browser. Your .env contents are never uploaded, logged, or stored.