Web Tools
Glob Pattern Tester
Test glob patterns against file path lists with support for wildcards (*), recursive matching (**), character classes ([abc]), brace expansion ({ts,tsx}), and single-character matching (?). Configure case sensitivity and dot file matching. Runs entirely in your browser — your data never leaves your machine.
glob pattern matching gitignore wildcard files
Published May 31, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Enter a glob pattern and a list of file paths (one per line), and the tool instantly highlights which paths match. Supports the full glob syntax used in .gitignore, tsconfig.json, shell expansion, and build tool configurations.
Features
- Full glob syntax:
*(single segment),**(recursive),?(single char) - Brace expansion:
{ts,tsx,js}matches any listed extension - Character classes:
[abc],[!abc],[0-9],[^a-z] - Escaped characters:
\*matches a literal asterisk - Case sensitivity: toggle case-sensitive or case-insensitive matching
- Dot file control: toggle whether
*matches dot files (e.g.,.gitignore) - Visual results: matched paths highlighted in green with checkmarks
- 5 examples: TypeScript files, gitignore patterns, test files, image assets, single-char wildcard
- Private: all computation runs in your browser — no data transmitted
Use Cases
- Testing
.gitignorepatterns before committing to ensure the right files are excluded - Validating
tsconfig.jsoninclude/exclude patterns for TypeScript compilation - Debugging build tool file matching (Vite, webpack, Rollup glob configs)
- Learning glob syntax with instant visual feedback