.gitignore Generator

Runs in browser

Generate .gitignore files for any tech stack instantly.

Generate .gitignore files by selecting languages, frameworks, tools, IDEs, and OS patterns. Build a ready-to-use ignore file instantly.

.gitignore Generator tool

Languages

Frameworks

Tools

IDEs

OS

Generated .gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

🔒 Runs in your browser · No uploads · Your data never leaves your device

How to use

  1. Search technologies

    Filter tags by language, framework, tool, IDE, or OS.

  2. Select stack

    Click tags to include/exclude their rule sets; selected items appear as removable pills.

  3. Export file

    Copy generated output or download directly as .gitignore.

Common use cases

  • Starting a new projectGenerate a .gitignore for your stack (Node, Python, Next.js, etc.) before the first commit to avoid committing build artifacts or secrets.
  • Combining multiple technology ignore rulesSelect several technologies (e.g., Node + VS Code + macOS) to merge all their patterns into one .gitignore file.

Examples

  • Next.js app

    Node.js + Next.js + VS Code + macOS

    Output
    node_modules/
    .next/
    .vscode/
    .DS_Store

Frequently asked questions

Do I need one file per tool?
No. Combine all selected technologies into one project-level .gitignore.
Can I edit generated output?
Yes. Treat output as a base template and customize for your repository.

Key concepts

.gitignore
A file that tells Git which files and directories to exclude from version control — typically build output, node_modules, and sensitive config.
Glob pattern
A pattern using wildcards (* ** ?) to match file paths — used in .gitignore rules to match file types or directories.

You might find these useful too.

More generators tools