Gitignore builder
Combine project presets and custom rules with a local path-matching preview and downloadable ignore content.
How it works & useful details
How it works & supported syntax
Combine small editable starter presets with custom rules for one root .gitignore. The local path preview supports literals, *, ** as a complete path segment, ?, /, comments and ! negation. Character classes and backslash escapes are unsupported. Last matching rules win; excluded parent directories cannot be bypassed by a child negation.
Only untracked paths are affected by Git ignore rules. This tool does not inspect your repository or other ignore sources. Up to 100 rules and 30 sample paths. The download is named gitignore.txt; save or rename it to .gitignore in your project root.
Local workspace
Your input stays in this page. These tools calculate or process text; they do not run commands, start containers, contact servers or change settings on your device.
Previews pause above 20,000 combined characters. Use the action to process the full supported input. Exports contain the complete result within the tool’s stated limits.
