Glob Pattern Tester
Developer
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
Base64 to Hex Converter (and back)
Convert a Base64 string to hexadecimal bytes and hex back to Base64, with URL-safe support, in your browser.
Quoted-Printable Encoder & Decoder
Encode text to MIME Quoted-Printable (RFC 2045) or decode it back — handling =XX escapes, soft line breaks, and UTF-8 — entirely in your browser, with 76-character line wrapping on encode.
Hash Generator (SHA)
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.
URL Encoder / Decoder
Percent-encode text for URLs, or decode encoded URLs back to text.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, instantly.
JSON Formatter & Validator
Format, beautify, minify, and validate JSON right in your browser.