Skip to content

How .env Inspector works

Paste a .env file to see every key in a table with masked values, plus flags for duplicate keys, empty values, and malformed lines. Switch tabs to convert between .env and JSON.

A small parser splits each line on the first equals sign, strips quotes and inline comments, and tracks duplicates. Values are masked by default and never leave your browser.

Questions

Are my values uploaded anywhere?
No. The file is parsed entirely in your browser. Values are masked by default so it is safe to inspect while screen-sharing.
What does it flag?
Duplicate keys, empty values, and lines that are not valid KEY=value assignments. A summary count is shown above the table.
Can it convert to JSON?
Yes. The .env to JSON tab produces a JSON object of string values, and the JSON to .env tab does the reverse, quoting values that need it.
Does it handle quotes and comments?
Yes. Surrounding single or double quotes are stripped, and trailing inline comments on unquoted values are removed.

More Text & Data tools

All the tools · How to check that nothing is sent

Dotenv (.env) Inspector & Converter | Only in the Tab