1. Related Developer Tools
Keep debugging configs with our Regular Expression Tester, Properties & INI to YAML Converter, YAML & TOML Converter, and JSON Formatter.
THE TOOLBOX / DEVELOPER & DATA
Test minimatch glob patterns and Git .gitignore rules against real project file trees with instant match, ignore, and un-ignore highlighting—100% locally in your browser.
src/index.tsTrackedsrc/components/Button.tsxTrackedsrc/components/Button.test.tsxTrackedsrc/styles/globals.cssTrackedpublic/logo.svgTracked.env.localIgnored.env.exampleUn-ignored (!)dist/bundle.jsIgnorednode_modules/react/index.jsIgnoreddocs/README.mdTrackedlogs/error.logIgnoredtemp/cache.tmpIgnoredGLOB SYNTAX CHEAT SHEET
| Token | Meaning | Example |
|---|---|---|
| * | Any characters except path separator / | src/*.ts |
| ** | Zero or more nested directories (globstar) | src/**/*.tsx |
| {a,b} | Match any listed alternative | *.{jpg,png,webp} |
| !rule | Negate / re-include previously ignored file | !.env.example |
Keep debugging configs with our Regular Expression Tester, Properties & INI to YAML Converter, YAML & TOML Converter, and JSON Formatter.
Private repository paths and internal ignore lists never leave your browser tab.
A single asterisk (*) matches any characters within a single directory segment (it stops at /). A double asterisk globstar (**) matches zero or more nested directories recursively, so src/**/*.tsx matches files at any depth under src/.
Prefixing a rule with ! re-includes a previously ignored file—for example, .env* followed by !.env.example ignores all environment files except the template. Note that Git cannot re-include a file inside an already-ignored parent directory unless you un-ignore the parent folder first.
By default, POSIX glob libraries hide leading-dot filenames unless dot-matching is explicitly enabled or the pattern itself begins with a literal dot (like .env*). Toggle "Match dotfiles" above to test both behaviors.
Brace expansion matches any comma-separated alternative inside curly braces—so **/*.{ts,tsx} matches both TypeScript and TSX files in one compact expression.
No—.gitignore follows Git’s own specification (where a pattern without a slash like *.log matches in every subdirectory, and trailing slashes like dist/ match only directories). Use ".gitignore Mode" for Git rules and "Glob Mode" for Node/Vite/ESLint/CI globs.
Never. Both minimatch and the Git ignore engine run 100% locally in your browser.