.gitignore Generator
Generate .gitignore files by selecting templates for languages, frameworks, IDEs, and operating systems. Combine multiple templates — duplicates are automatically removed.
# Generated by 365utils — https://365utils.com/tools/gitignore-generator # Dependencies node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* .pnpm-debug.log* # Environment .env .env.local .env.*.local # Build dist/ build/ *.tsbuildinfo # Coverage coverage/ # IDE / Editor .idea/ .vscode/ *.swp *.swo # macOS .DS_Store .AppleDouble .LSOverride ._* .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .vscode/* !.vscode/settings.json !.vscode/tasks.json !.vscode/extensions.json *.code-workspace .history/
Templates include commonly ignored files for each technology. All generation runs entirely in your browser.
A well-configured .gitignore file is one of the first files you should create in any Git repository. It prevents sensitive credentials, bloated dependency folders, build artifacts, OS metadata, and IDE configuration files from being accidentally committed and pushed to your remote repository. Our free .gitignore Generator lets you select from 40+ templates spanning languages, frameworks, IDEs, and operating systems — combine as many as you need (a Node.js + React project on macOS with VS Code takes just three clicks) and get a clean, deduplicated .gitignore ready to copy or download. All selection and generation happens instantly in your browser.
How to Use the Generator
- Search or browse templates — Use the filter to quickly find templates by name (e.g., "Python", "React", "macOS"). Templates are grouped into Languages, Frameworks, IDEs, and OS.
- Select your stack — Click any template to toggle it. Select all that apply to your project. The counter shows how many you've selected.
- Review the combined output — The preview panel merges all selected templates, automatically removing duplicate entries and section headers while preserving the original structure.
- Copy or download — Copy the generated
output to your clipboard or download it as a
.gitignorefile ready to place in your repository root.
Key Features
- 40+ Templates
Languages (Node, Python, Go, Rust, Java...), frameworks (React, Vue, Django, Rails...), IDEs, and OS platforms.
- Smart Deduplication
When combining templates, duplicate entries are automatically removed so your .gitignore stays clean.
- Instant Filter
Type to filter templates by name or category. Find exactly what you need across all 40+ options in seconds.
- Live Preview
See the complete .gitignore update in real-time as you add or remove templates. No extra steps.