toolbin_
FR

Convert .env File to JSON

Convert a .env file to JSON and back, in your browser.

🔒 100% client-side — no data sent

Turn the environment variables in a .env file into JSON, and back again, in one click. Handy for migrating configuration or feeding it into a script. Conversion happens entirely in your browser, with no upload of your secrets.

What is it for?

  • Migrate a .env config into JSON format
  • Generate a .env file from an existing JSON object
  • Quickly review the list of defined variables
  • Prepare variables for a CI/CD pipeline

FAQ

Does the conversion work both ways?

Yes, you can go from .env to JSON and from JSON to .env.

Are my secrets exposed?

No, everything stays in your browser. No variable is transmitted over the network.

Are comments in the .env file kept?

Comments are not carried into the JSON, which contains only the key-value pairs.