# Biome vs Prettier: source lines of code compared

The Biome vs Prettier comparison on OctoCounts shows side-by-side source line counts for biomejs/biome and prettier/prettier, counted with the same engine and analysis options on the dates shown in the methodology line: files, total lines, code lines, comment lines, blank lines, and per-language totals, pinned to the exact commits listed below.

As of 2026-08-26, biomejs/biome contains 842,052 total lines (699,703 code) across 4,597 files, while prettier/prettier contains 101,586 total lines (51,752 code) across 876 files as of 2026-09-21. biomejs/biome is about 14x the size of prettier/prettier by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.

| Metric | [biomejs/biome](https://octocounts.com/github/biomejs/biome) | [prettier/prettier](https://octocounts.com/github/prettier/prettier) |
| --- | ---: | ---: |
| Files | 4,597 | 876 |
| Total lines | 842,052 | 101,586 |
| Code lines | 699,703 | 51,752 |
| Comment lines | 59,086 | 33,022 |
| Blank lines | 83,263 | 16,812 |
| Languages counted | 11 | 12 |

Top languages in biomejs/biome: Rust (85.9% of code), JSON (6.7% of code), TypeScript (5.1% of code). Top languages in prettier/prettier: JavaScript (87.2% of code), TypeScript (5.2% of code), JSX (3.3% of code). JSON, TypeScript, JavaScript appear in both top language lists; Rust, TOML appear only in biomejs/biome's top languages; JSX, CSS appear only in prettier/prettier's top languages.

Methodology: both counts come from cached OctoCounts reports generated with tokei. biomejs/biome was counted at ref main (commit e4caa37f1f2f) on 2026-08-26; prettier/prettier was counted at ref main (commit 51ed2cbbf3b4) on 2026-09-21. See the [counting methodology](https://octocounts.com/docs/methodology) for ignored directories and analysis options.
## About this comparison

biomejs/biome counts the Biome repository: an all-in-one toolchain whose formatter and linter live in a single Rust codebase. prettier/prettier counts the Prettier repository: the standalone code formatter written in JavaScript. The comparison is a multi-tool repository against a single-purpose formatter, and both counts were taken on the dates in the methodology line.

The language tables identify each project's implementation language at a glance: Biome's counted code is predominantly Rust, while Prettier's is JavaScript — different systems languages for tools that overlap in the formatting role.

Biome's repository covers both formatting and linting, so part of its count exists for linter functionality that has no counterpart in the Prettier repository, which is formatter-only.

_Repository size does not measure formatting speed or result quality; both properties depend on the shipped tool version and the languages being formatted, not on the source tree's line count._

Sources: [biomejs/biome repository](https://github.com/biomejs/biome) · [prettier/prettier repository](https://github.com/prettier/prettier). Statements verified 2026-09-16.

Evidence and next steps:

- [biomejs/biome SLOC report](https://octocounts.com/github/biomejs/biome)
- [prettier/prettier SLOC report](https://octocounts.com/github/prettier/prettier)
- [Compare biomejs/biome and prettier/prettier interactively](https://octocounts.com/compare?left=https%3A%2F%2Fgithub.com%2Fbiomejs%2Fbiome&right=https%3A%2F%2Fgithub.com%2Fprettier%2Fprettier)

Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.

## Compare FAQ

### Which has more lines of code, biomejs/biome or prettier/prettier?

biomejs/biome has more code: 699,703 code lines versus 51,752 for prettier/prettier, about 14x as much, based on cached OctoCounts reports as of 2026-09-21.

### Does more source lines of code mean more complexity?

Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for biomejs/biome, prettier/prettier, or any repository.

### How is this comparison calculated?

Methodology: both counts come from cached OctoCounts reports generated with tokei. biomejs/biome was counted at ref main (commit e4caa37f1f2f) on 2026-08-26; prettier/prettier was counted at ref main (commit 51ed2cbbf3b4) on 2026-09-21. See the counting methodology for ignored directories and analysis options.

### Can I compare a different branch, tag, or commit?

Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.

## Related OctoCounts pages

- [Interactive repository comparison](https://octocounts.com/compare)
- [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)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
