Gitignore Generator
Generate a project-specific .gitignore and add your own patterns.
Runs on your device. Nothing you add is uploaded.
.gitignore
node_modules/ dist/ coverage/ .next/ .turbo/ .DS_Store Thumbs.db .env .env.* !.env.example !.env.template tmp/ *.local.log
How to use Gitignore Generator
- Choose your project type.
- Select optional patterns and enter any custom lines.
- Copy the result into .gitignore at your project root.
Questions
Will this remove existing files from Git?
Git ignore patterns apply to untracked files. A file Git already tracks stays tracked.
Can I keep an example environment file in Git?
Yes. The environment option includes exceptions for .env.example and .env.template.
Where is my input processed?
On your device. The tool does not upload the input or its result.
How this works
Combines predefined ignore patterns with user-supplied lines in Git matching order.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in DeveloperUnix Permissions (chmod) Calculator
Convert Unix file permissions between octal and rwx notation.
Line Ending Converter (CRLF/LF)
Normalize Windows, Unix, or classic Mac line breaks to LF or CRLF.
JSON Formatter
Indent JSON so objects and arrays are easy to read.
JSON Viewer (Tree)
Explore JSON objects and arrays in a collapsible tree.