Free Tool

CODEOWNERS Validator

Validate your GitHub CODEOWNERS file syntax. Check for errors, warnings, and best practices.

CODEOWNERS Content

No Content to Validate

Paste your CODEOWNERS file content or load an example to get started.

What This Validator Checks

Errors (Must Fix)

  • Missing owners for patterns
  • Invalid owner format (missing @)
  • Invalid team format (@org/team/subteam)
  • Invalid email addresses

Warnings (Should Fix)

  • Duplicate patterns (last match wins)
  • Incorrect ** wildcard usage
  • Uppercase in usernames

Info (Best Practices)

  • Missing default owner (*)
  • Directory-only patterns (trailing /)

Pro Tip

Use Octiew to automatically route PRs based on your CODEOWNERS file with intelligent accept/decline workflows!