Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Developer Utilities

Glob Tester

Write a glob pattern such as src/**/*.ts or **/*.{js,ts} and paste a list of file paths to see which ones match. Supports the * single-segment wildcard, ** recursive wildcard, ? single character, [...] character classes and {a,b} alternates, with optional case-insensitive matching. Results are shown per path in a table with a match total. Everything runs on-device, so your file paths never leave the browser.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What the pattern language covers

The pattern is compiled to a regular expression and every pasted path is tested against it. An asterisk matches any run of characters except a slash, a double asterisk matches across directories — and a leading **/ also matches at the root — a question mark matches exactly one character, [a-z] is a character class and {js,ts} is an alternation, which may be nested inside a path segment. Everything else is matched literally.

Anchoring, case and path normalisation

Matching is anchored to the whole path, so src/*.ts matches files sitting directly in src but not src/lib/a.ts. It is case-insensitive unless you tick Case-sensitive match. Leading ./ and / are stripped from each pasted path along with any trailing slash, so a list mixing styles from different tools still compares consistently.

Reading the result table

Every path gets a row with a tick or a dash, and a summary line totals them — "4 of 6 paths matched". Blank lines are ignored, so a listing can be pasted straight from a terminal or a file browser. One run accepts up to 50,000 paths, which is enough to check an entire repository listing at once.

Nothing is read from your disk

Paths are only text: the tool compiles a regular expression in this page and matches what you paste. It cannot and does not open files, nothing is uploaded, and no network request is made, so you can paste an internal directory tree without it going anywhere.

Questions

Which glob features are supported?

* matches any characters except /, ** matches zero or more directories, ? matches one character, [...] is a character class and {a,b} is an alternation group. Everything else is matched literally.

How does a leading **/ behave?

A pattern beginning with **/ matches at any depth including the root, so **/*.ts matches src/a.ts and tests/x/a.ts. Without ** the pattern is anchored to the start of the path.

Is matching case sensitive?

No by default. Turn on "Case-sensitive match" to require exact casing.

Do I need to prefix paths with ./ ?

No. Leading ./ or / on both the pattern and the input paths is normalized away before matching.

See category