EN
PortuguêsEnglishEspañol
All tools
Developer tools 100% free

.gitignore generator

Build your project's .gitignore file by choosing languages, frameworks, operating systems and editors: Node, Python, Java, Flutter, macOS, VS Code and more.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Encoding, hashes and networks

Generate a .gitignore file

Available in: PortuguêsEspañolEnglish

Advertisement

.gitignore generator: what it is for

Click the technologies in your project to build a .gitignore organized by sections and without duplicate lines. There are templates for Node, Python, Java, PHP, Go, Rust, .NET, Next.js, Flutter, Android, iOS, macOS, Windows, editors and secret files such as .env.

Edit the result if you want and download or copy the file.

How to use

  1. Choose the project's technologies.
  2. Review the generated file.
  3. Download or copy the .gitignore.

When to use it

  • Starting a new repository.
  • Avoiding committing node_modules and builds.
  • Protecting .env files and keys.

Frequently asked questions

What is .gitignore?

It is a file in the repository root that tells Git which files and folders should not be versioned, such as dependencies, builds, logs and files with passwords (.env).

I already committed a file before adding it to .gitignore. What now?

.gitignore only applies to files that are not tracked yet. Run git rm --cached file-name, commit, and from then on it will be ignored. If it was a password, change it.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.