Skip to content

Gitignore Generator

Build a .gitignore for Node.js, Next.js, Python, Rust, Go, Java, or .NET.

Input

Loading tool…

Result

Local processing

Your result will appear here.

How to use it

Choose a project template, select the groups you want to ignore, and add custom patterns in order. Copy the rules into .gitignore, or download gitignore.txt and rename it to .gitignore. Ignore rules apply to untracked paths.

Worked example

Choose Next.js to ignore build outputs such as .next/ and out/ while keeping sample environment files available for sharing.

Browse developer