# element-hq/element-web SLOC report

> As of 2026-09-17 (commit 26771fd3b157), element-hq/element-web contains 774,851 total lines: 620,141 code, 82,369 comments, 72,341 blank, across 3,916 files in 19 languages (top: JSON 37.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

element-hq/element-web has 620,141 source lines of code out of 774,851 total lines across 3,916 files, counted from the 26771fd3b1576f8b35928ce8bba33a2ab6e7def4 ref at commit 26771fd3b157 by the OctoCounts tokei engine on 2026-09-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving element-hq/element-web to commit 26771fd3b157, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 80.0% of all lines, comments represent 10.6%, and the repository averages 158 code lines per file. JSON accounts for 37.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 189 | 230,382 | 230,347 | 0 | 35 |
| TSX | 1,337 | 233,275 | 178,838 | 25,711 | 28,726 |
| TypeScript | 1,758 | 233,342 | 161,118 | 41,353 | 30,871 |
| YAML | 7 | 28,538 | 22,945 | 103 | 5,490 |
| PostCSS | 376 | 24,598 | 17,275 | 3,760 | 3,563 |
| CSS | 99 | 7,614 | 5,507 | 1,036 | 1,071 |
| JavaScript | 22 | 3,032 | 1,253 | 1,441 | 338 |
| HTML | 16 | 1,094 | 1,020 | 46 | 28 |
| SVG | 56 | 1,023 | 1,019 | 3 | 1 |
| Shell | 17 | 539 | 293 | 150 | 96 |
| Python | 1 | 242 | 191 | 12 | 39 |
| Perl | 2 | 248 | 152 | 50 | 46 |

Top language (JSON 37.1%). Generated at 2026-09-17T06:22:07.318331594+00:00. Canonical report: https://octocounts.com/github/element-hq/element-web

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/element-hq/element-web/commit/26771fd3b1576f8b35928ce8bba33a2ab6e7def4?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does element-hq/element-web have?

element-hq/element-web has 774,851 total lines, including 620,141 code lines, 82,369 comment lines, and 72,341 blank lines.

### How was the element-hq/element-web line count measured?

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

### What commit was counted for element-hq/element-web?

This OctoCounts report was generated from 26771fd3b1576f8b35928ce8bba33a2ab6e7def4 at commit 26771fd3b157 on 2026-09-17T06:22:07.318331594+00:00.

## Similar repository reports

- [unovue/shadcn-vue](https://octocounts.com/github/unovue/shadcn-vue) — JSON, 620,666 code lines
- [openlibrecommunity/twl](https://octocounts.com/github/openlibrecommunity/twl) — JSON, 628,386 code lines
- [AlexsJones/llmfit](https://octocounts.com/github/AlexsJones/llmfit) — JSON, 588,530 code lines
- [harbor-framework/harbor](https://octocounts.com/github/harbor-framework/harbor) — JSON, 582,646 code lines
- [cherryhq/cherry-studio](https://octocounts.com/github/cherryhq/cherry-studio) — JSON, 661,115 code lines
- [devops-kung-fu/bomber](https://octocounts.com/github/devops-kung-fu/bomber) — JSON, 686,011 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
