A misconfigured glob pattern in a .gitignore, bundler config, or CI workflow can silently include files you meant to exclude — or worse, exclude files you needed included — and you often don’t notice until something breaks in production. This tool lets you check a pattern against real sample paths before committing it anywhere.
What Is the Glob Pattern Tester?
Type a glob pattern and a list of sample file paths (one per line), and instantly see a checkmark or cross next to each path showing whether it matches — supporting the common glob tokens *, **, ?, character classes like [abc], and brace alternation like {ts,tsx}.
How to Use It
- Open the tool at /tools/glob-pattern-tester.
- Type your glob pattern.
- Paste or edit the list of sample file paths, one per line.
- Read the match/no-match result for every path.
Key Features
- Full core glob syntax support —
*,**,?,[abc], and{a,b,c}. - Instant, live matching as you edit the pattern or paths.
- Clear match indicators for each individual sample path.
- No file uploads required — just paste example paths as plain text.
When to Use This Tool
- Debugging why a
.gitignorerule isn’t excluding the files you expect. - Writing a bundler or linter config’s “include”/“exclude” glob pattern and verifying it against real project file paths.
- Learning the difference between
*and**in practice, with real examples.
Try It Now
Open Glob Pattern Tester directly, or press ⌘K and type the tool name from anywhere on the site.
Part of the DevOps Tools collection on WebdevToolbox — free, browser-based developer tools with no login required.