Home โ€บ Community Q&A โ€บ What is netlify.toml?
Community Q&A

What is netlify.toml?

An overview of the netlify.toml file and its purpose in Netlify deployments.

Understanding netlify.toml

The netlify.toml file is a configuration file used in projects deployed on Netlify. It allows developers to define settings and options for their site, including build commands, publish directories, and redirects.

This file is typically placed in the root directory of your project and is written in TOML (Tom's Obvious, Minimal Language) format, which is easy to read and write.

Common Uses of netlify.toml

In the netlify.toml file, you can specify various settings such as the build command that Netlify should use to build your site, the directory where the built files are located, and any redirects or rewrites you want to implement.

For example, you can set up redirects to manage URL changes or to create friendly URLs for your users.

What isn't confirmed

The specific features and capabilities of the netlify.toml file can vary based on updates from Netlify, and not all potential uses may be documented or confirmed.

Where to verify

For the most accurate and up-to-date information regarding the netlify.toml file, you can refer to the official Netlify documentation at https://docs.netlify.com/configure-builds/file-based-configuration/#netlifytoml.

How we answered this: only from our published red-flag data, board-coverage research, and the cited stats on this site โ€” no invented numbers. Job-search norms vary by field and change over time, so treat this as evidence-based guidance, not a guarantee. See our open methodology.
Check a listing now: the free checker tests this flag (and the other ten) against any pasted listing โ€” with the matched evidence. No signup.
Free ยท no spam

Job-search guides that save you wasted applications

New ghost-job red flags, fresh guides, and what changed in the data โ€” straight to your inbox when we publish.