Extract env vars from n8n workflows and generate ready-to-use .env files
Drop n8n workflow JSON here
Or click to browse โข Supports multiple files
# Drop a workflow JSON to generate .env file
Click "Download" to save as .env.example, then rename to .env in your project.
Look for lines marked with # NEEDS VALUE - these need your actual credentials.
Add .env to your .gitignore to avoid committing secrets!
# docker-compose.yml
services:
n8n:
environment:
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
- MY_API_URL=${MY_API_URL}
# Or use env_file:
env_file:
- .env
{{ $env.MY_API_URL }}
{{ $env["API_KEY"] }}