← All Tools

CODEOWNERS Generator & Tester

Build a GitHub-style CODEOWNERS file rule by rule, then probe any file path to see which rule (and which owners) GitHub would route a review to. Validates patterns, owner syntax, and the last-match-wins ordering trap.

πŸ“‹ Rules

#
Pattern
Owners (space-separated)
Section
rules: 0 unique owners: 0 sections: 1

πŸ“„ Output


  

βœ… Lint

emptyAdd a rule to start.

🎯 Test a file path

CODEOWNERS syntax cheat sheet

Last matching rule wins. GitHub walks the file top-to-bottom and the last non-overridden pattern that matches the changed file decides the owners. Earlier rules are silently shadowed when a later one matches the same path.