๐Ÿšซ .gitignore Generator

Select presets
.gitignore
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
dist/
build/
.env
.env.local

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

# VS Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

Combine commonly used presets โ€” Node.js, Python, Java, macOS, Windows, VS Code, JetBrains, React, Next.js, and more โ€” to generate a .gitignore file. Handy for quickly setting up the right exclusion rules when starting a new project.

How to use

  1. Click to select the presets you want to include (languages, frameworks, OS, editors, etc.).
  2. The content from your selected presets is combined and shown automatically.
  3. Use "Copy" to copy it to your clipboard, or "Download" to save it as a .gitignore file.

FAQ

Can I select multiple presets at once?

Yes, you can select as many presets as you need, and each one's content is combined into sections in the output.

How do I add my own custom exclusion patterns?

Download or copy the generated content, then add your own lines directly in a text editor.

Can I append this to an existing .gitignore?

Yes, copy the output and paste it at the end of your existing .gitignore file.