Convert .env to netlify.toml

Free, Open Source & Ad-free

[build.environment]

This free tool allows you to quickly convert your .env file variables into the format needed for your netlify.toml file. Contributed by Cassidy Williams — software engineer, dev advocate, startup advisor, and investor.

How to Use

  • Paste your variables: Copy the variables from your .env file into the input box.
  • Handles comments and empty lines: You don’t need to remove comments or empty lines.
  • Copy the result: Copy the converted output and paste it into your netlify.toml file.