Gitignore Generator

Generate production-ready .gitignore files for any tech stack

Quick presets:
Custom Patterns
0
categories
0
patterns
0
custom

No categories selected

Pick categories from the left panel, or choose a preset above to get started

What is Gitignore Generator?

Gitignore Generator is a web-based tool that creates production-ready .gitignore files based on your technology stack. Select from 54 categories spanning operating systems, IDEs, programming languages, frameworks, build tools, and more — or use a preset for popular stacks like Next.js, Spring Boot, Flutter, and Python.

How to use
  1. 1.Select categories from the grouped checklist, or pick a preset (e.g., "Next.js App").
  2. 2.Optionally paste or upload an existing .gitignore and choose a merge strategy (Smart, Append, Overwrite).
  3. 3.Add any custom patterns you need in the custom input section.
  4. 4.Preview the output in the right panel — switch between Raw and Diff view.
  5. 5.Click Copy or Download to get your .gitignore file.
Features
  • 54 categories with 500+ curated patterns from real-world projects.
  • 9 ready-made presets for popular technology stacks.
  • Smart merge that preserves existing patterns and skips duplicates.
  • Diff view to see exactly what will be added.
  • Custom pattern input with automatic deduplication.
  • 100% client-side — your data never leaves the browser.
  • Session persistence — your selections are saved automatically.
Supported stacks

OS: macOS, Windows

IDE: JetBrains, VS Code, Eclipse/NetBeans, Vim

Languages: Node.js, TypeScript, Go, Python, Java, Ruby, PHP, Flutter/Dart

Frameworks: Next.js, Vue.js, Nuxt.js, React (CRA)

Build: Maven, Gradle, Spring Boot

Mobile: Android, iOS/Xcode

Cloud: AWS EB, Terraform, Vercel

Other: Testing & Coverage, Secrets, Logs, AI & Dev Tools