.gitignore Generator
The .gitignore Generator tool lets you pick one or more programming languages (like Node.js, Python, or Java), a framework (like Next.js or Django), an editor or IDE (like VS Code or JetBrains), and an operating system (like macOS or Windows), then generates a ready-to-use .gitignore file combining every pattern relevant to what you picked — with any duplicate pattern that appears in more than one template removed. Copy the result or download it directly as a .gitignore file. Runs entirely in your browser — nothing is ever sent to a server.
The .gitignore file is generated entirely in your browser — nothing is ever sent to a server.
Languages
Frameworks
Editors & IDEs
Operating systems
Select at least one language, framework, or editor above to generate a .gitignore file.
What this tool does
Builds a .gitignore from your selections of languages, frameworks, editors and operating systems, so the files that should not enter a repository are excluded.
When to use it
- Starting a new project and wanting a correct ignore file from the outset.
- An existing project tracking files it should not.
- Adding a new technology to a project and needing its rules.
- Standardising an ignore file across a team on different editors and systems.
How to use it
- Pick from "Languages", "Frameworks", "Editors & IDEs" and "Operating systems" — at least one is required.
- Read the generated ".gitignore file".
- Click "Download .gitignore" or copy the contents.
A practical example
Input
One language, one editor and one operating system selected.
Output
A .gitignore with each selection's rules grouped under clear headings.
Limitations
- The rules are generic per technology; your project may need specific ones you add yourself.
- Adding a rule does not untrack a file Git is already tracking — it has to be removed from tracking first, which is a common source of confusion.
- This generates a file and does not inspect your repository to suggest what suits it.
Privacy and processing
The .gitignore file is generated entirely in your browser and nothing is ever sent to a server.
Technical notes
- Rules are grouped under a heading per selection, so you can see where each came from and remove any you do not need.
Frequently Asked Questions
Yes — you can select any number of templates together (e.g. Node.js, Next.js, VS Code, and macOS), and the tool merges every pattern into one file, removing any duplicates.