Code · Git

.gitignore Builder

Build a .gitignore from ready-made templates for your stack and platform, then copy or download it.

Stacks & platforms
.gitignore
# ---- Node ----
node_modules/
npm-debug.log*
yarn-error.log*
.pnpm-debug.log*
dist/
coverage/
.env
.env.local

# ---- macOS ----
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes

Frequently asked

Common ones — Node, Next.js, Python, Java, Go, Rust — plus OS and editor rules for macOS, Windows, VS Code and JetBrains.

No. This tool runs entirely as JavaScript in your browser — your input never leaves your device and nothing is logged.

How to use

1

Toggle the stacks and platforms you use.

2

The combined .gitignore builds instantly.

3

Copy or download the file.

Related tools