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.

microsoft/PowerToys: 954,873 code lines at commit 303f4ddd5c96, counted with tokei-15.0.0 on 2026-11-16. Saved result f9994a0be5e200f7aa7c6f2371564aeb2c99bbc16fe17a8e378a2432e8bcd2e3.

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
JSON14571177096021
Python438072901298608
SVG651688168332
XML1369267787
NuGet Config8641041000
Visual Studio Solution721120407
HLSL22581468131
Module-Definition2112411815
HTML57760107
Makefile15842115
Batch44833213
CMake14327115
INI13300
CSS18260
Markdown677432056491783
Plain Text4114940143262

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.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

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