Developer Tools
Gitignore Generator
Create a .gitignore file from common technology templates and custom entries.
Your input is processed in this browser and is not sent to our server.
How to Use Gitignore
- Select any common Node.js, macOS, Windows, VS Code, or Python patterns.
- Add custom ignore patterns one per line if needed.
- Select Build .gitignore, then copy the output or download the file.
Example
Input
Node.js and macOS templates
Result
Patterns include node_modules/, dist/, coverage/, .env*, and .DS_Store.Common Errors & Troubleshooting
- Select at least one template or enter a non-empty custom pattern.
- Review patterns before using them; this tool does not inspect your repository or determine what files are safe to ignore.
Frequently Asked Questions
Does the generator delete or ignore files automatically?
No. It creates text for a .gitignore file; Git behavior changes only after you add that file to your repository.
Can I add project-specific patterns?
Yes. Enter one custom ignore pattern per line.