# Prettier: 8.4 out of 10

A strong pick. 1st of 13 in [Linters and formatters](https://elestia.ai/opensource/linters-formatters/index.md).

Prettier is the opinionated code formatter that most JavaScript and TypeScript projects use. It covers JS, TS, CSS, HTML, Markdown, YAML, GraphQL and more. It is still a safe, strong pick for a new project. Rust-based formatters with near-identical output, mainly Oxfmt and Biome, are now much faster and growing quicker.

**Best for:** Teams that want one stable, widely supported formatter across many file types, with plugins and editor support everywhere.

## Scores

- **Overall: 8.4** (likely 7.3 to 9.1)
  - Claude Opus 5.5 (8.0): Prettier is still a strong, low-risk pick for a new project. It has the widest language coverage, plugin support and tool integration, and it is well maintained. It falls short of the top band because Oxfmt and Biome give near-identical JS/TS output at many times the speed, and new projects are moving toward them. Teams that only need JS/TS and care about speed may prefer Oxfmt or Biome.
  - GPT-6.2 Sol (8.8): Prettier is a strong choice for new projects that want consistent formatting across source, templates, and docs, especially when they already plan to use a dedicated linter. Its release cadence and framework integrations make it a dependable choice for mixed file types. Biome is a strong option when one tool should lint and format, and Oxfmt is attractive when full-repository check time matters most. Those alternatives are growing quickly, which makes Prettier’s lead less certain for new TypeScript projects with straightforward formatting needs.
- **Needed by many: 8.8** (likely 8.1 to 9.5)
  - Claude Opus 5.5 (8.5): Almost every JS/TS project benefits from automatic formatting. Prettier also covers CSS, HTML, Markdown and YAML, so it is useful in nearly every repository. It is not a linter, so it covers only half the category's job.
  - GPT-6.2 Sol (9.1): Consistent formatting is useful in most JavaScript and TypeScript projects, and Prettier covers common source, markup, configuration, and documentation formats across frameworks. State of JavaScript 2025 recorded 9,295 Prettier users, which shows broad relevance among respondents. Teams that rely on built-in editor formatting or need fine control over their style have less reason to choose it.
- **Helps a lot: 8.1** (likely 7.0 to 9.0)
  - Claude Opus 5.5 (7.5): It has the widest language coverage and plugin support of any formatter. Its output is stable and mature, and AI agents know it well. Speed is its clear limit: Oxfmt claims about 30x faster with 100% of Prettier's JS/TS conformance tests passing, and Biome is also far faster. The faster CLI is still experimental. The range is wide because those speed and compatibility figures come mainly from Oxfmt's own maintainers.
  - GPT-6.2 Sol (8.6): The stable release handles a wide mix of files, keeps up with new syntax, and exposes a typed API. The documented configuration and `--check` command give developers and coding agents a straightforward way to verify edits, though agent performance has not been measured here. Microsoft's TypeSpec team found Oxfmt much faster in a migration trial with different file coverage, and Prettier leaves bug detection to a linter.
- **Holds up over time: 8.3** (likely 7.1 to 9.2)
  - Claude Opus 5.5 (8.0): The project is very active: 1,498 commits, 23 releases and 872 contributors, with a team that has worked together for years. It is funded through OpenCollective. Prettier 4 has been delayed for a long time, and the ecosystem is starting to move toward Rust formatters that copy its output, which is a risk to its long-term place.
  - GPT-6.2 Sol (8.5): The project recorded 1,498 commits and 23 GitHub releases in the past year, and sponsor funding pays for maintenance. The GraphQL fix in 3.10.1 was merged and released the same day, while the wider issue and pull request backlog remains substantial. Recent releases visibly lean on one lead maintainer, and the number of people who can publish to npm remains unclear. Users report occasional formatting regressions, and the 4.0 milestone adds uncertainty about future upgrade work.
- **Used widely: 8.9** (likely 8.2 to 9.7)
  - Claude Opus 5.5 (9.0): It has 739M downloads in four weeks and 1.7M dependent repos, the largest formatter footprint by far. Its download ratio of 3.1 is below the 4.1 median, so it is losing ground. Oxfmt, Biome and Knip grow much faster from smaller bases.
  - GPT-6.2 Sol (8.8): Ecosyste.ms found 1.70 million dependent repositories and 231,277 dependent npm packages, which puts Prettier near the top of the category even after allowing for indirect use. Four-week downloads reached 739 million, a 3.12× year-over-year increase against the catalog median of 4.1×, so Prettier is losing relative ground on that measure. Biome and Oxfmt grew faster from smaller bases and drew more Bluesky attention. Automated installs, bundled copies, and incomplete dependent counts make the share of new projects choosing each tool hard to pin down.
- **Vouched for: 8.6** (likely 7.6 to 9.3)
  - Claude Opus 5.5 (8.5): Developer surveys still describe Prettier as near-universal. Most major frameworks, starters and open-source projects use it, and peers measure themselves by how closely they match it. Some well-known setups have moved to Oxfmt or Biome, such as Turborepo and Epic Web's config, which takes a little off current validation.
  - GPT-6.2 Sol (8.7): Astro uses Prettier in its language tooling, and Tailwind Labs maintains a plugin that applies its recommended class order. Oxfmt still delegates some file formats to bundled Prettier, and Microsoft’s TypeSpec migration trial kept it for some files while finding a faster option for the bulk of its formatting. The evidence is strongest for ecosystem reliance and everyday use. The survey measures usage, leaving satisfaction and retention harder to judge.
- **Safe: 8.1** (likely 6.9 to 9.1)
  - Claude Opus 5.5 (8.0): It has zero runtime dependencies, no known advisories and an MIT licence. Its OpenSSF Scorecard is a middling 6.1, with weak scores on Token-Permissions, SAST, Fuzzing and Code-Review. In July 2025, attackers who phished a maintainer published bad versions of the sibling packages eslint-config-prettier and eslint-plugin-prettier. The prettier package itself was not affected.
  - GPT-6.2 Sol (8.1): The MIT-licensed npm package installs no separate dependencies, though it bundles parser code. The bundle lists zero OSV advisories, and GitHub records a moderate Markdown denial-of-service issue fixed in 3.9.10 before public disclosure. The July 2025 malware incident affected separately installed ESLint integration packages. Weak Scorecard results for token permissions and review, plus uncertainty about npm publishing access and release signing, keep the range wide.

## Good

- It formats more languages than any peer: JS, TS, Flow, JSX, CSS, SCSS, Less, HTML, Vue, Angular, Markdown, YAML, GraphQL and Handlebars.
- It has a large plugin ecosystem (Tailwind, Svelte, Astro, PHP and others), and every editor and CI setup integrates it.
- It installs with zero dependencies, ships its own types and has no known advisories.
- It is actively maintained, with 23 releases in the last year and regular parser and syntax updates.

## Bad

- It runs in JavaScript and is much slower than Oxfmt, Biome or dprint on large codebases. The faster CLI is still experimental.
- It only formats. You still need ESLint or another linter, plus glue configuration.
- It is opinionated with few options, so teams that want fine control over style get little of it.
- Its download growth is below the median, while Oxfmt and Biome take new projects with Prettier-compatible output.

## The numbers

- Downloads, 4 weeks: 739M
- In a year: ×3.1
- GitHub stars: 52k
- Commits, 12 months: 1.5k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/prettier/prettier
- npm: https://www.npmjs.com/package/prettier

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
