Developer

Gitignore Generator

Build a .gitignore from stack presets. Combine Node, Python, macOS, and more with custom rules.

Presets
.gitignore
# Node.js
node_modules/
dist/
build/
.env
.env.*
!.env.example
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.DS_Store
coverage/

Related Tools

More free utilities you might find useful

Frequently Asked Questions

Quick answers to common questions

What is a .gitignore file?+

A .gitignore tells Git which files and folders to exclude from version control, like node_modules or build output.

Can I combine presets?+

Yes. Select multiple presets and they are merged into one .gitignore with section comments.

Add custom rules?+

Yes. Use the custom rules field for project-specific patterns.

Which presets are included?+

Node.js, Python, Java, Go, Rust, .NET, React, Next.js, macOS, and Windows.

Where does the file go?+

Place the generated content in a file named .gitignore at your repository root.

Is data sent to a server?+

No. Generation runs entirely in your browser.

Copy output?+

Yes. One-click copy of the full .gitignore content.

Free?+

Yes.