Inspecting a config you inherited
Converting to JSON makes it easy to see what is actually set, especially in a long file with mixed quoting styles.
Converts .env text into JSON in this tab. Configuration files routinely hold hostnames, keys and credentials, so nothing here is sent anywhere.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsA .env file is the most sensitive text file in a typical project. It is where database passwords, API keys and signing secrets live, which makes pasting one into an unfamiliar website a genuinely bad idea and makes a local converter worth having. The format looks trivial and has more corners than expected. Values may carry an optional export prefix left over from shell usage. Quotes are significant: double quotes allow escape sequences while single quotes are literal, and an unquoted value ends at the first inline comment. Getting those rules wrong produces a config that looks right and behaves subtly differently, which is the worst possible outcome for a file that controls what your application connects to.
Converting to JSON makes it easy to see what is actually set, especially in a long file with mixed quoting styles.
The JSON output can be pasted straight into code, though remember every value is a string and ports or flags need casting.
It never leaves your browser, so yes in the sense that nothing is transmitted. As a general habit, treat any website asking for a .env with suspicion - the reason this one is safe is that there is no endpoint to receive it.
Double quotes interpret escape sequences such as backslash-n; single quotes are literal. Unquoted values end at an inline comment.
No. A value referencing another variable is left exactly as written.
Because environment variables are always strings. Cast them in your application where the type matters.
No, JSON cannot hold them. Keep the original file for the explanations.
Turn a JSON object into .env format in your browser, with keys upper-cased and values quoted where a shell needs it.
Turn an INI configuration file into JSON in your browser. Sections become nested objects and values stay strings.
Convert YAML to JSON or JSON to YAML in your browser. Handles multi-document files, follows YAML 1.2, and uploads nothing.