.gitignore Generator

Build a .gitignore file for Node, Python, Java, Go, Rust, Ruby, PHP, .NET, macOS, Windows, JetBrains and VS Code. Runs locally in your browser.

About this tool

Type one or more names separated by commas, for example node, macos, vscode, and get a combined .gitignore with common patterns for each. Review it for your project. Nothing is uploaded.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter

Frequently asked questions

What does .gitignore do?

It lists patterns Git should not track such as build output, dependencies and secrets.

Does it remove tracked files?

No; run git rm --cached on files that are already committed.

Should .env be ignored?

Yes, never commit secrets; share a .env.example instead.