How to use JSON to .env
- 1. Paste JSON. A single object of keys to scalar values.
- 2. Copy the .env. Direction is JSON → .env here.
- 3. Keep secrets local. Do not commit the result if it has live credentials.
About this tool
CI templates and 1Password exports sometimes arrive as JSON. Apps still want a .env file. This alias is JSON to dotenv, with its own title for that query.
Non-string values
Numbers and booleans are stringified. Objects will not become nested dotenv keys automatically.
Code examples
env
API_URL=https://api.example.com
DEBUG=true