Glob Pattern Tester

Enter a glob pattern in Tool Settings and paste sample paths (one per line) in Input to see which lines match.

  • 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. 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; gitignore adds negation and directory rules this tester does not fully emulate.

Can I test a single filename?

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