UTILS.
Private by default
.gi

.gitignore Generator

Build a combined .gitignore file from common language and tool templates.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Tick the stacks you use and get a ready-to-paste .gitignore assembled from common templates, generated entirely in your browser.

Twelve checkboxes are available: Node, Python, Java, Go, Rust, macOS, Windows, Linux, JetBrains, VS Code, Logs and Env files. Node and macOS are ticked when the page opens. Each ticked box adds its own commented block, the blocks follow the order of the list under a header comment, and Clear unticks everything.

The blocks are fixed text and are not merged or deduplicated, so a pattern such as build/ or .env can appear in more than one section when you tick several. The output cannot be edited in the page, so copy it, save it as .gitignore in your repository and adjust it there.

Frequently asked questions

Where do the rules come from?
Each checkbox adds a small built-in snippet of common ignore patterns for that language or tool.
Can I edit the result?
Yes — copy the output and adjust it freely; it is just a starting point you can extend.
Why does the same pattern appear twice?
Nothing removes patterns that overlap, such as build/ in several stacks or .env in both Node and Env files. Duplicates are harmless, and you can delete them after copying.
Should I commit Cargo.lock or the dist folder?
That depends on your project. The Rust block lists Cargo.lock and the Node block lists dist/ and build/. Delete those lines from the copied output if you want to commit those files.

More tools