Glob Pattern Tester
Type a glob pattern and a list of file paths, and see which paths match. Supports `*` (within a segment), `**` (across segments), `?`, character classes `[a-z]` / `[!...]`, and brace alternation `{a,b}`. Everything runs locally in your browser — nothing is uploaded.
- src/index.tsmatch
- src/lib/util.tsmatch
- src/index.jsno match
- README.mdno match
- test/spec.tsno match
How to use
- Enter a glob pattern such as src/**/*.ts.
- Paste one file path per line into the paths box.
- Each path is marked as a match or no match, with a count summary.
Frequently asked questions
- What is the difference between * and **?
- A single * matches any characters within one path segment (it stops at /). A double ** matches across segments, including slashes, so src/**/*.ts also matches src/a.ts.
- Are brace patterns supported?
- Yes. {a,b,c} expands to alternatives, so img.{png,jpg} matches img.png and img.jpg. Nested and multiple braces are supported.
- Is matching case-sensitive?
- Yes. Patterns are matched case-sensitively against the full path, anchored at both ends.
- Is my data sent anywhere?
- No. Matching happens entirely in your browser; nothing is uploaded.
Related tools
Regex Tester
Test JavaScript regular expressions live with highlighted matches and replace preview.
CSS Selector Tester
Test a CSS selector against your HTML and see exactly which elements it matches, in your browser.
JSONPath Tester
Run JSONPath queries (`$.store.book[*].author`, `$..price`) against a sample document and see the matching values.
TOTP Code Generator
Generate live RFC 6238 TOTP codes from a Base32 secret — handy for testing 2FA flows, debugging authenticator integration, or as a temporary fallback when your phone is unreachable.
JSON Formatter & Validator
Format, beautify, minify, and validate JSON right in your browser.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, instantly.