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
- JSONPath ExplorerPull a value out of JSON by path
- cURL → fetchConvert curl commands to fetch()
- Markdown PreviewerLive GitHub-flavored markdown
- JSON FormatterValidate and pretty-print
- Base64Encode and decode
- Diff CheckerCompare two text blocks
- Word CountCount, readability, stats
- TimestampUnix, ISO 8601, relative time
- Hash GeneratorSHA-1, SHA-256, SHA-512
- URL EncoderEncode, decode, parse URLs
- Text CaseUPPER, lower, Title, camelCase, more
- Character EntitiesHTML entities, Unicode, ASCII lookup
- JSON to TypeScriptGenerate TypeScript interfaces from JSON
- JWT DecoderInspect JSON Web Tokens
- Page WeightWeigh a page: bytes, grade, Core Web Vitals, HAR diff
- SQL Viewer & CopyOpen a .sql file, read it, copy it
- SQL Formatter & MinifyBeautify or compact SQL
- SQL SplitterSplit a migration into statements
- SQL Pre-flight CheckCatch RLS gaps & risky SQL
- Base ConverterBinary, octal, decimal, hex, bitwise
- Unicode InspectorCode points, bytes, invisible characters