How to use .gitignore Pattern Tester
Test ordered include and exclude patterns against many repository-relative paths with an explanation of the final matching rule.
What to provide
Enter one relative file or folder path per line. Use forward or Windows-style separators.
Paste ordered .gitignore patterns, including ! negations and ** wildcards.
- Paste, type, or drag and drop a supported text file into the input area.
- Place the second value or file in the adjacent panel. Sensitive fields are masked by default.
- Review the input and the clearly labeled output behavior.
- Select “Run tool” or press Ctrl/Command + Enter, then copy, download, or move the result back into the first input for another pass.
Use “Swap inputs” to reverse the comparison without copying either value.
What the result means
One decision per path, including the last pattern and line that determined it.
Privacy and safety
This utility is loaded as browser code and processes your input only in this tab. OmniCastConverter has no upload endpoint and never stores your content, filenames, tokens, or secrets. Generated markup and code are shown as inert text and are never executed.
Limitations
- Everything is processed in this browser tab. Input, filenames, keys, and output are never uploaded or saved. This focused matcher does not load parent/global excludes, nested repository ignore files, submodule boundaries, or .git/info/exclude.
Try the included example
Select “Load example” at any time to restore this tested sample.
dist/app.js
dist/keep.txt
src/app.ts
notes.logdist/*
!dist/keep.txt
*.log