Free · Private · In-Browser

Glob Pattern Tester

Check which paths match a simple glob pattern.

Output
 

Test glob patterns

Glob patterns like src/**/*.js drive build tools, linters, and CI config, but it is easy to write one that matches too much or too little. This tester checks which of your sample paths a glob matches, so you can confirm the pattern before relying on it.

Verifying against real paths catches the classic mistakes — a missing double-star, an over-broad wildcard — before they silently skip or include the wrong files. Enter a pattern and some paths and see exactly what matches.

Testing matches

A single * stops at a path separator while ** crosses directories, which is the usual reason a glob matches too much. Testing runs in your browser.

Frequently asked questions

Which glob wildcards does it support?

* matches any characters within one folder name, and ** matches across folders. For example, src/**/*.js matches every .js file under src.

Does it support braces like {js,ts}?

No. Braces are treated as literal characters in this tester. Test each extension separately.

Why does my pattern match nothing?

Patterns must match the whole path. Add ** at the start, like **/*.md, to match files in any folder.

Take it further
Developer Tools

Practical utilities for everyday web development work.

Learn more