Paste or type your JSON, CSV, XML or YAML into the input field.
The output updates as you type. Adjust the options if you need a different format.
Copy the result, or share the URL to hand the exact input to someone else.
About .env ↔ JSON
Convert between .env files and JSON in both directions. The parser understands 'export' prefixes, '#' comments and quoted values with escape sequences; the reverse quotes any value that needs it.
What people use it for
Turn a .env file into JSON for a config loader.
Generate a .env from a JSON object of settings.
Frequently asked questions
Does it handle comments and quotes?
Yes, '#' comments and 'export' prefixes are stripped, and quoted values with \n / \t escapes are decoded.
Is it private?
Every calculation happens on this page, in your own browser. Your input is never sent to a server and never logged, which also means the tool keeps working when you are offline.