Compose a tidy .gitignore from curated language, framework and tool templates, plus your own rules. Free and runs in your browser.

Pick the languages, frameworks, tools and operating systems your project uses, add any custom rules, then copy or download a ready-to-use .gitignore. Everything runs in your browser — nothing is uploaded.

Templates 0
Languages
Frameworks
Tools & Editors
Operating Systems
Custom rules
.gitignore

					

About .gitignore Generator

The .gitignore generator composes a clean ignore file from curated templates organized into four groups: languages, frameworks, tools and editors, and operating systems. Tick Node, Python, Laravel, VS Code, macOS — whatever your stack uses — and the combined rules appear instantly, each under a labeled header.

A search box filters the template list, and a custom-rules box lets you append project-specific patterns, one per line, under their own "Custom" section. Selections merge without duplication, so combining several templates still yields a tidy, readable file.

Everything runs in your browser and nothing is uploaded. Copy the result or download .gitignore, drop it in your repository root, and Git stops tracking matching files from the next commit — files already committed must be removed from the index separately.

How to use .gitignore Generator

  1. Search or browse the template groups: Languages, Frameworks, Tools & Editors and Operating Systems.
  2. Tick every template that matches your project stack — the output updates live.
  3. Add any project-specific patterns in the custom rules box, one per line.
  4. Review the combined file, using Clear all to start over if needed.
  5. Copy the result or download .gitignore and commit it at your repository root.

Frequently asked questions

.gitignore only affects untracked files. Anything already committed keeps being tracked until you remove it from the index with git rm --cached, then commit the change.

Yes — tick as many as you like. Each template's rules are grouped under a header comment, and your custom rules are appended in their own section.

Yes. Adding the VS Code, JetBrains, macOS or Windows templates keeps .DS_Store, Thumbs.db and IDE settings out of the repository for every contributor.

Usually at the repository root. You can add extra .gitignore files inside subdirectories for rules scoped to that folder.

Yes. It is free, and the file is assembled in your browser from bundled templates — nothing you select or type is uploaded.

Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.