Gitignore Generator
Build a .gitignore from your tech stacks.
Tech stacks
.gitignore
# ---- Node ---- node_modules/ npm-debug.log* yarn-error.log .pnpm-debug.log* dist/ .env .env.local # ---- macOS ---- .DS_Store .AppleDouble .LSOverride Icon ._* .Spotlight-V100 .Trashes # ---- VS Code ---- .vscode/* !.vscode/settings.json !.vscode/extensions.json *.code-workspace
Free online .gitignore generator. Pick the stacks you use — Node, Python, Java, macOS, VS Code and more — to build a combined .gitignore with sensible defaults. Generated in your browser.
How to use the Gitignore Generator
- 01Tick the languages, tools and operating systems you use.
- 02The combined .gitignore is assembled instantly, grouped by stack.
- 03Copy it into your repository root.
Frequently asked questions
What is a .gitignore file for?
It tells Git which files and folders to leave untracked — things like dependencies, build output, editor settings and OS junk that don't belong in version control.
Can I combine several stacks?
Yes — that's the point. Tick every stack that applies (for example Node plus macOS plus VS Code) and the patterns are merged into one file.