# Oxfmt: 7.5 out of 10

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

Oxfmt is the Rust formatter from the Oxc toolchain. It formats like Prettier and runs about 30x faster. It is still a 0.x beta, but large projects such as Vue core, Sentry and Turborepo already use it in production. It is a strong pick if you want speed and Prettier-style output. Prettier is still the safer default if you need Prettier plugins or want a tool marked stable.

**Best for:** Teams on Prettier-style formatting, or on Vite+, who want much faster formatting and can live without Prettier plugins.

## Scores

- **Overall: 7.5** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.0): It is a strong, fast formatter with Prettier-compatible output, real production use and well-funded maintenance. It is still a 0.x beta without plugin support, so Prettier stays the default for most teams. Pick Biome if you want one tool for linting and formatting. Oxfmt is the clear pick for speed, or if you already use Oxlint or Vite+.
  - GPT-6.2 Sol (8.0): Oxfmt is a strong choice for a new JavaScript or TypeScript project that values fast formatting checks and can accept occasional output changes. Its speed, broad file support, and active maintenance carry the recommendation. Prettier remains the safer default for plugin-heavy projects, and Biome is a better fit when one package needs to handle both linting and formatting. The pending 1.0 release and uncertain scale of direct adoption keep the range wide.
- **Needed by many: 8.3** (likely 7.3 to 9.3)
  - Claude Opus 5.5 (8.0): Almost every JS/TS project uses a code formatter. Oxfmt covers JS, TS, JSON, CSS, HTML, Vue, Markdown, YAML and more. It does not lint, so it covers only half of the category's job.
  - GPT-6.2 Sol (8.5): Consistent formatting matters in most JavaScript and TypeScript projects. Oxfmt covers common source, markup, and configuration files across frameworks. Its scope is formatting, and teams with specialized file types may still need a second formatter.
- **Helps a lot: 7.7** (likely 6.6 to 8.7)
  - Claude Opus 5.5 (7.0): It is fast and matches Prettier's output closely, and sorting features are built in. It is still a beta: it has no Prettier plugin support, some divergences from Prettier are deliberate, and formatting of code embedded in JS (xxx-in-js) still needs work. Migration reports from large repos mostly show small, known differences.
  - GPT-6.2 Sol (8.4): Oxfmt 0.79.0 combines fast native formatting with built-in sorting, typed configuration, and documented editor setup. Microsoft’s TypeSpec team measured about 30 times faster checks on one repository using 0.59.0, with output differences in 55 of 2,947 files. Speed and output vary by file mix, and workflows that depend on third-party Prettier plugins lose those plugins.
- **Holds up over time: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): The Oxc repository is very active: 9,113 commits and 134 releases in the last year, from 500 contributors. VoidZero pays for the work and bundles Oxfmt in Vite+. The 0.x version line and 64 releases a year mean config and output can still change.
  - GPT-6.2 Sol (8.0): Oxfmt published 64 npm versions in a year, and Cloudflare backs the VoidZero team that maintains Oxc. Version 0.79.0 shipped fixes for TypeScript and Vue formatting. The planned 1.0 release and recent breaking changes to HTML and Vue formatting leave some uncertainty around upgrades.
- **Used widely: 6.7** (likely 5.2 to 7.8)
  - Claude Opus 5.5 (6.5): Downloads went from 48K to 116M per 4 weeks, which is far above the 4.1 median ratio. Much of that comes from Vite+ installing it as a dependency, so direct choices are much fewer. Well-known repositories have switched to it, but its use is still far below Prettier's.
  - GPT-6.2 Sol (6.8): Four-week downloads rose from 48,033 to 116.4 million, about 2,423 times from a launch-year baseline. That exceeds the catalog median of 4.1 times, Biome’s 7.7 times, and Prettier’s 3.1 times. Vite+ installs Oxfmt as a dependency, and Oxc’s stars and Bluesky mentions cover the whole toolchain. Direct adoption is hard to size without a comparable dependent count.
- **Vouched for: 6.9** (likely 5.8 to 8.0)
  - Claude Opus 5.5 (6.5): Vue core, Sentry, Turborepo, Hugging Face and ClickHouse moved to it, and InfoQ covered it. Survey data and independent benchmarks are still few, and most speed numbers come from the project itself.
  - GPT-6.2 Sol (7.3): Jaeger UI switched to Oxfmt, and TanStack AI uses it in its formatting scripts. Nx offers it as an experimental formatter, and Microsoft’s TypeSpec team published a hands-on evaluation. These are credible signs of use, but Oxfmt still has a short track record and no separate result in the State of JavaScript survey.
- **Safe: 8.2** (likely 7.0 to 9.2)
  - Claude Opus 5.5 (8.0): It has no advisories, one dependency and an MIT licence, and it ships as native binaries. No Scorecard is available. One reported issue: its optional peer dependency on vite-plus has broken some npm installs.
  - GPT-6.2 Sol (8.3): Oxfmt uses the permissive MIT licence and declares one required npm dependency alongside platform-specific native binaries and bundled Prettier code. The release workflow uses npm trusted publishing with provenance, and OSV lists zero Oxfmt advisories. The short advisory history, unavailable OpenSSF Scorecard, and unverified number of release approvers limit confidence.

## Good

- It passes Prettier's JS/TS conformance tests, so moving from Prettier changes few files.
- It formats roughly 30x faster than Prettier and faster than Biome on cold runs.
- Import sorting, Tailwind class sorting and package.json sorting are built in, with no plugins.
- VoidZero funds it and ships it inside Vite+, with releases almost every week.

## Bad

- It is still a 0.x beta with no stable 1.0 yet.
- It cannot run Prettier plugins, and some files such as .astro are not supported.
- Its defaults and some output differ from Prettier: printWidth is 100, union types wrap differently, and prettier-ignore is not always honoured.
- It only formats; you need Oxlint or ESLint for linting.

## The numbers

- Downloads, 4 weeks: 116M
- In a year: ×2423
- GitHub stars: 24k
- Commits, 12 months: 9.1k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/oxc-project/oxc
- npm: https://www.npmjs.com/package/oxfmt

The repository holds the whole Oxc toolchain, so its stars count more than the formatter.

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.
