Developer workshop · Repository ownership

CODEOWNERS Builder & Checker

Write CODEOWNERS rules and watch them land on a real file tree. Every file is coloured by the team that owns it, with the winning rule explained (last match wins). Find unowned files, dead rules and syntax problems for GitHub or GitLab before you commit.

  • Live ownership tree
  • Last-match-wins explained
  • Who-owns-this-path tester
  • Drag to reorder rules
  • GitHub & GitLab checks
  • GIF · Video · PDF · SVG
Ownership coverage –
Owned files
0
Unowned
0
Issues
0
Loading the sample repository…
  • Files checked0
  • Rules0
  • Owners0
  • Dead rules0
  • Syntax problems0

1 · Rules file

2 · Rule order drag to reorder · last match wins

    3 · Repository files

    Folder reading only lists file names in your browser; nothing is uploaded.

    Ownership tree

    Showing the final result of all rules.

    Who owns this path?

    Team legend

      Warnings

        Downloads

        GIF and video replay the rules being applied top to bottom over the tree.

        Cleaned CODEOWNERS & rule report

        Try the example or enter your own input.

        How CODEOWNERS matching works

        1. Last match wins. Rules are read top to bottom; the last rule whose pattern matches a file decides its owners. Put broad rules (*) first and specific ones later.
        2. Patterns follow .gitignore style. /docs/ is the root docs folder, docs/ is any docs folder, *.js matches anywhere, docs/* matches files directly in docs only, ** crosses folders.
        3. No owners = unowned. A pattern with no owners removes ownership for matching files.
        4. GitHub does not support !, [ ] or \ escapes. GitLab adds [Sections], where each section picks its own last match and owners combine.

        Account existence, team visibility and repository permissions cannot be verified locally. Save as .github/CODEOWNERS, CODEOWNERS or docs/CODEOWNERS. Related: gitignore builder.

        Using CODEOWNERS Builder & Checker

        Clean and inspect GitHub-style file ownership rules, owner syntax and rule order before adding them to your repository.

        1. Last match wins. Rules are read top to bottom; the last rule whose pattern matches a file decides its owners. Put broad rules ( * ) first and specific ones later.
        2. Patterns follow .gitignore style. /docs/ is the root docs folder, docs/ is any docs folder, *.js matches anywhere, docs/* matches files directly in docs only, ** crosses folders.
        3. No owners = unowned. A pattern with no owners removes ownership for matching files.
        4. GitHub does not support ! , [ ] or \ escapes. GitLab adds [Sections] , where each section picks its own last match and owners combine.

        Example

        * @my-org/maintainers
        /docs/ @writer
        /public/ @my-org/frontend

        Questions & answers

        What does this tool do?

        Clean and inspect GitHub-style file ownership rules, owner syntax and rule order before adding them to your repository.

        What should I check before using the result?

        Last matching rule wins. Account existence, team visibility and repository permissions cannot be verified locally.

        Is there an upload or installation?

        Processing runs in a local browser worker with no processing upload. No account or installation is required. Website ads and analytics follow the site privacy policy.

        What input sizes are supported?

        Each input supports 250,000 UTF-16 units and UTF-8 files up to 500 KB. Jobs stop after 15 seconds. Report previews show 200 rows; downloaded reports include all computed rows.

        Will my work be saved?

        No automatic storage is used. Download the result and report before leaving. Changing input invalidates previous output.

        What can I download or copy?

        From the page: CSV ownership map, JSON report, Markdown report, PNG tree, SVG tree, PDF report, Animated GIF, WebM video, MP4 video, ZIP of everything, Copy Markdown, Download report JSON. Everything is created in your browser.

        Help improve this tool

        Report a problem or suggest an improvement

        Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

        Find another tool · Read practical guides