Node project on a Mac
Ticking Node and macOS merges their patterns into one file that ignores node_modules/, npm-debug.log* and .DS_Store.
Generate a .gitignore file for your languages, OS and editors in one click — free online.
About
Builds a merged .gitignore file from the languages, operating systems and editors you tick, with duplicate lines removed.
Developers starting a new repository use it to get sensible ignore rules in place before the first commit, while teams standardizing on a toolchain use it to make sure editor and OS clutter never gets committed by mistake. It's one of many free developer tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
Ticking Node and macOS merges their patterns into one file that ignores node_modules/, npm-debug.log* and .DS_Store.
Ticking Python and VS Code produces a merged file ignoring __pycache__/, *.pyc and .vscode/, with duplicate lines removed.
Ticking Node, Java, Windows and JetBrains IDEs merges all four sets of rules into one .gitignore covering node_modules/, *.class, Thumbs.db and .idea/ in a single file.
FAQ
Quick answers to common questions about the .gitignore Generator.
It builds a .gitignore file by merging the standard ignore patterns for every language, operating system and editor you tick.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. Everything is generated entirely on your own device — nothing is sent to a server.
Node, Python, Java, Go and Rust for languages; macOS and Windows for operating systems; and VS Code and JetBrains IDEs for editors.
Yes. Tick as many languages, operating systems and editors as apply — the generator merges all of them into one file and removes duplicate lines.
This tool generates a fresh file from your selections; you'll need to merge it with any existing custom rules yourself, since it doesn't read an existing file.
Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.
It covers the most commonly used languages, operating systems and editors; less common toolchains aren't included and would need manual rules added afterward.
Did .gitignore Generator work for you?