Built-in Templates
Ready-made rules for popular languages, frameworks, operating systems, editors, and tools.
Build a clean .gitignore in seconds. Pick the languages, frameworks, and tools your project uses and copy or download the file. Free, no signup, nothing uploaded.
Search and click the languages, frameworks, operating systems, editors, and tools your project uses.
The .gitignore builds in real time, with each template in its own section and repeated rules removed.
Copy the file to your clipboard or download it as a ready-to-use .gitignore for your repository.
A .gitignore file tells Git which files to leave out of your repository, build output, dependency folders, local config, editor junk, and secrets like .env files. Getting it right from the start keeps your history clean and stops you from committing things you never meant to share.
This generator gives you ready-made rules for the tools people actually use. Search and click the languages, frameworks, operating systems, and editors in your project, and the file builds as you go. When two templates share the same rule, it is only written once, so the output stays tidy instead of repeating node_modules or .DS_Store five times.
The output box is fully editable, so you can add project-specific rules before you copy or download. Everything runs in your browser from a built-in template library, which means nothing about your project is sent anywhere.
Ready-made rules for popular languages, frameworks, operating systems, editors, and tools.
Select several templates and the rules merge into one file with duplicates removed.
Filter the full list as you type to find the exact template you need.
Tweak the result or add your own custom rules right in the output box before you save.
Grab the file with one click, copy to the clipboard or download a real .gitignore.
The templates are built in, so the file is generated on your device with no requests sent out.
More Developer tools you might find useful.
Common questions about .gitignore files.