Install Extension

Free .env → netlify.toml

Turn dotenv variables into a valid [build.environment] block.

by uizap.com - Full context bug reports devs love
Skip config guesswork — UI Zap captures the context. Screens, logs, and env details auto‑captured in bug reports.
Install UI Zap

About this .env to netlify.toml converter

Paste your .env file in the left pane and click Convert. We generate a minimal [build.environment] section for netlify.toml, quoting values and ignoring comments or blank lines. Everything runs locally in your browser.

What gets converted?

Where these variables go

We place variables under [build.environment]. Netlify reads these during builds. For per‑context variables (e.g., [context.production.environment]), copy the generated block and adjust the table header.

Related tools

Privacy: runs entirely in your browser—no data is sent anywhere.