.gitignore Generator
Build a .gitignore from common stack, OS and editor templates — 100% in your browser.
Pick your stacks, OS and editors:
Select one or more templates above.
🔒 Runs in your browser — nothing is uploaded.
Generate a .gitignore in seconds
Pick the languages, frameworks, operating systems, and editors your project uses, and this tool assembles a ready-to-use .gitignore from curated templates — so build output, dependency folders, secrets, and OS cruft never end up in your repository.
Everything runs in your browser from a bundled set of the most common ignore rules; nothing is fetched from a server. Copy the result, or download it and put it in your project root — Chrome and Edge save it as gitignore without the leading dot, so rename it to .gitignore there.
Frequently asked questions
Which templates are included?
The most-used stacks and environments — Node, Python, Java, Go, Rust, Ruby/Rails, PHP/Laravel, Unity, Android, Terraform, plus macOS, Windows, Linux, VS Code and JetBrains.
Where do I put the file?
Save it as .gitignore in your repository root; if the download arrives as gitignore, rename it (mv gitignore .gitignore, or ren gitignore .gitignore on Windows). You can combine several templates and edit the result freely.
Is anything sent to a server?
No. The templates are bundled with the page and combined entirely in your browser.