Glob Pattern Tester
Test glob patterns against file paths in your browser — supports * ? ** and {a,b} alternations.
4/8 matched
✓src/index.ts
✓src/utils/helpers.ts
✗src/utils/helpers.js
✗dist/bundle.js
✗README.md
✗src/components/Button.tsx
✓lib/math.ts
✓src/api/routes.ts
What is glob pattern matching?
Glob patterns are path expressions that match file system paths using wildcards. * matches any sequence of non-slash characters within a single path segment, ** matches across directory boundaries, ? matches a single non-slash character, and {a,b} matches either alternative. Glob patterns are used in .gitignore files, build tool configs (webpack, Vite, ESLint), CI pipelines, and shell commands. Use this tester to verify your patterns before committing them to a config file.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.