microsoft/PowerToys

microsoft/PowerToys has 954,873 source lines of code out of 1,249,846 total lines across 7,884 files, counted with tokei from the main ref at commit 303f4ddd5c96 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 303f4ddd5c96), microsoft/PowerToys contains 1,249,846 total lines: 954,873 code, 140,483 comments, 154,490 blank, across 7,884 files in 28 languages (top language: C# 54.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 303f4ddd5c96), microsoft/PowerToys contains 1,249,846 total lines: 954,873 code, 140,483 comments, 154,490 blank, across 7,884 files in 28 languages (top language: C# 54.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/PowerToys to commit 303f4ddd5c96, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 76.4% of all lines, comments represent 11.2%, and the repository averages 121 code lines per file. C# accounts for 54.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C#49996919705188187635696796
C++6132074731665321521525726
XAML314472804425613131711
C++ Header146251377656107876
C Header715434943217250186304
C19417463217125127063
YAML442830228258242
JavaScript1065426826939232374092
.NET Resource1242663119777683024
Visual Studio Project1261499014695129166
MSBuild313146521215310771422
PowerShell4693197935682702

Top language: C# 54.3%. Generated on .

Counting rules and retention

microsoft/PowerToys: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/PowerToys have?

microsoft/PowerToys has 954,873 lines of code, plus 140,483 comment lines and 154,490 blank lines, for 1,249,846 total lines at commit 303f4ddd5c96 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the microsoft/PowerToys line count measured?

OctoCounts resolved the public GitHub repository to commit 303f4ddd5c96, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for microsoft/PowerToys?

This OctoCounts report was generated from main at commit 303f4ddd5c96 on November 16, 2026.

Play the growth animation for microsoft/PowerToys on this page — 954,873 code lines across 28 languages, counted by tokei.