Elestia Open Source Ratings
8.4

Prettier

A strong pick. 1st of 13 linters and formatters.

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.

WebsiteGitHubnpm

Scores

Overall8.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

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, likely 7.6 to 9.6

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 many8.8

How many developers need a tool for this job?

Claude Opus 5.5: 8.5, likely 8.0 to 9.0

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, likely 8.1 to 9.9

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 lot8.1

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 7.5 to 9.5

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 time8.3

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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.

  • github commitsLastYear / releasesLastYear: 1,498 commits and 23 releases in the last year
  • github latestRelease: 3.10.1 released on 2026-11-12
  • prettier.io/blog: Steady minor releases; the faster CLI was promised for 4.0 back in 2024
  • infoq.com/news/2026/01/oxfmt-rust-prettier: Rust alternatives are positioned as Prettier replacements

GPT-6.2 Sol: 8.5, likely 7.2 to 9.3

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 widely8.9

How many use it, and is that growing?

Claude Opus 5.5: 9.0, likely 8.5 to 9.5

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.

  • npm downloadsLast4Weeks: 739M, against 237M a year ago (ratio 3.1)
  • medianDownloadsRatio: The median is 4.1, so Prettier is below it
  • dependents: 1.7M repos and 231K packages
  • peers Oxfmt downloads: Oxfmt went from 48K to 116M in a year

GPT-6.2 Sol: 8.8, likely 7.8 to 9.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.

  • dependents repos, packages: 1,703,312 repositories and 231,277 npm packages in the collector's coverage.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 739.1 million versus 236.6 million installs, yielding 3.12× versus a 4.1× median.
  • github stars, bluesky posts, peers: 52,440 stars and 11 Bluesky links, versus 98 links for Biome and 84 for the shared Oxc repository.
  • 2025.stateofjs.com/en-US/other-tools: Prettier had 9,295 reported users and Biome had 1,762.
  • oxc.rs/docs/guide/usage/formatter/language-support: Oxfmt bundles Prettier for some formats, so the tools' use can overlap.
Vouched for8.6

Who stands behind it being good?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

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, likely 7.6 to 9.6

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.

Safe8.1

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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.

  • npm dependencies: 0 dependencies
  • advisories: No advisories
  • scorecard: 6.1 overall; Token-Permissions, SAST and Fuzzing score 0
  • hackerNews top: July 2025 stories on the compromise of the eslint-config-prettier ecosystem packages

GPT-6.2 Sol: 8.1, likely 6.8 to 9.2

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

npm downloads, 4 weeks
739M ×3.1 in a year
GitHub stars
52k
Commits, 12 months
1.5k
npm version
3.10.1 Nov 2026
Versions, 12 months
24
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
6.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (prettier/prettier), npm (prettier), OSV and the OpenSSF Scorecard.

Linters and formatters

  1. 8.4Prettier
  2. 8.3ESLint
  3. 8.3Oxlint
  4. 8.2Stylelint
  5. 8.2typescript-eslint
  6. 8.0Biome
  7. 7.6Knip
  8. 7.5Oxfmt
  9. 6.5dprint
  10. 6.4bun fmt
  11. 5.7XO
  12. 5.4bun lint
  13. 3.2JavaScript Standard Style
Compare all 13 on six scores