Glob Pattern Tester

Enter a glob pattern in Tool Settings and paste sample paths (one per line) in Input. Supports *, **, and ? — not brace expansion, character classes, or full .gitignore rules.

  • Runs entirely in your browser
  • No data stored or sent to a server
  • Free forever — no signup
  • Instant conversion

Input and Output

Use the interactive encoder and decoder on this page to process your text.

Learn more about regex

How to Test Glob Patterns

Glob Matching

When to Test Glob Patterns

Verify .gitignore rules, build include globs, and minimatch-style path filters before committing CI config. Paste candidate file paths one per line to see which match your pattern.

Pattern Syntax

* matches within a path segment, ** matches across segments, and ? matches a single character except path separators (/). Brace expansion ({a,b}), character classes ([abc]), and negation are not supported. Results show the equivalent regular expression for debugging.

Developer Tips

  • Test negation rules in gitignore with care — order matters
  • CI glob flavors differ slightly — confirm against your runner docs
  • Use the Regex Tester tab for full regular expression workflows

Frequently asked questions

Is this identical to gitignore matching?

Similar syntax for *, **, and ?; gitignore adds negation, directory rules, brace expansion, and character classes this tester does not support.

Can I test a single filename?

Yes. Paste one path line or many paths separated by newlines.