What is .env ↔ JSON Converter?
Turn the KEY=VALUE lines of a .env file into a JSON object, or JSON into .env format. Comments, the export prefix, quotes, escapes, and multi-line values are all handled correctly.
How to use
- 1
Choose a conversion direction.
- 2
Paste your .env or JSON.
- 3
Copy the result.
Use cases
Moving deployment settings
Convert a .env file to JSON and paste it into a cloud console.
Creating local settings
Turn a JSON config into a .env file.
FAQ
Are my secrets sent anywhere?+
No. Everything is processed in your browser and nothing is saved or sent.