Oxfmt
A strong pick. 8th of 13 linters and formatters.
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
Overall7.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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+.
- oxc.rs/blog/2026-02-24-oxfmt-beta: Beta status and roadmap
- peers Prettier: Prettier: 739M downloads, 1.7M dependent repos
- github.com/oxc-project/oxc/issues/14667: Tracks its differences from Prettier
GPT-6.2 Sol: 8.0, likely 6.9 to 9.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.
- github.com/microsoft/typespec/issues/11350: Independent test shows a large speed gain and some migration trade-offs.
- github.com/oxc-project/oxc/issues/28275: Active development with the stable 1.0 release still ahead.
- oxc.rs/docs/guide/usage/formatter/migrate-from-prettier.html: Prettier migration is supported, with limits for plugins and output parity.
- biomejs.dev/introduction/comparison-with-other-tools: Biome combines linting and formatting in one package and configuration.
Needed by many8.3
How many developers need a tool for this job?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- oxc.rs/docs/guide/usage/formatter: Lists the many languages it formats
- peers Prettier downloadsLast4Weeks: Formatters are installed almost everywhere
GPT-6.2 Sol: 8.5, likely 7.5 to 9.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.
- 2025.stateofjs.com/en-US/other-tools: 9,295 of 10,812 respondents to the utilities question reported using Prettier.
- oxc.rs/docs/guide/usage/formatter/language-support: Broad language coverage with extra setup for Svelte and Astro.
Helps a lot7.7
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- oxc.rs/blog/2026-02-24-oxfmt-beta: Passes 100% of Prettier JS/TS tests; plugins and stability still on the roadmap
- github.com/oxc-project/oxc/issues/25841: Union type wrapping caused 19 of the 23 remaining diffs in a 12k-file monorepo
- github.com/microsoft/typespec/issues/11350: .astro unsupported; import sorting uses a different algorithm
- dev.to/vishdevwork/oxfmt-the-prettier-compatible-formatter-thats-30x-faster-40jp: Independent test: faster than Biome but uses more memory
GPT-6.2 Sol: 8.4, likely 7.2 to 9.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.
- github.com/microsoft/typespec/issues/11350: Independent monorepo benchmark and measured migration differences.
- oxc.rs/docs/guide/usage/formatter.html: Supported languages, sorting features, and editor setup.
- oxc.rs/docs/guide/usage/formatter/migrate-from-prettier.html: Plugin limits and documented output differences.
- github.com/oxc-project/oxc/blob/oxfmt_v0.79.0/npm/oxfmt/package.json: Current package exports declarations and ships a configuration schema.
Holds up over time7.8
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- github commitsLastYear: 9,113 commits in the last year
- npm versionsLast4Weeks/versionsLastYear: 64 versions in a year, still 0.79.0
- voidzero.dev/posts/whats-new-feb-2026: VoidZero backs it as part of the Vite ecosystem
GPT-6.2 Sol: 8.0, likely 6.8 to 9.1
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.
- npm versionsLastYear: 64 formatter-specific versions in the past year.
- blog.cloudflare.com/voidzero-update: Cloudflare reports ongoing support for Oxc and the VoidZero team.
- github.com/oxc-project/oxc/releases/tag/oxfmt_v0.79.0: Current release fixes TypeScript, Vue, and other formatting issues.
- github.com/oxc-project/oxc/releases: Versions 0.76 and 0.77 changed the HTML and Vue formatting engines.
- github.com/oxc-project/oxc/issues/28275: The roadmap targets 1.0 and further work on native formatting.
Used widely6.7
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- npm downloadsLast4Weeks: 116M, up from 48K a year ago
- github.com/oxc-project/oxc-vscode/issues/401: Installed as a transitive dependency of vite-plus
- dependents: null; no ecosyste.ms count for the package
GPT-6.2 Sol: 6.8, likely 4.8 to 8.1
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.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, firstPublishedAt: 116.4 million downloads versus 48,033 shortly after launch.
- medianDownloadsRatio and peers: Prettier has more installs, and Oxfmt’s measured growth is far higher.
- npmjs.com/package/vite-plus?activeTab=dependencies: Vite+ declares Oxfmt as a dependency.
- dependents, project note, github stars, bluesky posts: No ecosyste.ms count, and repository attention is shared across tools.
Vouched for6.9
Who stands behind it being good?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- github.com/getsentry/sentry-javascript/issues/19223: Sentry finished its migration in February 2026
- github.com/ClickHouse/ClickStack/pull/3732: ClickHouse migration PR
- infoq.com/news/2026/01/oxfmt-rust-prettier: Independent press coverage
- hackerNews stories: Little HN discussion (at most 4 points)
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
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.
- github.com/jaegertracing/jaeger-ui/blob/main/docs/rfc/0005-vite-plus-migration.md: Implemented migration from Prettier to Oxfmt through Vite+.
- github.com/TanStack/ai/blob/main/package.json: Oxfmt is used in the repository’s formatting and release scripts.
- nx.dev/docs/reference/code-formatting: Nx integrates Oxfmt as an experimental option.
- github.com/microsoft/typespec/issues/11350: TypeSpec trial measured performance and migration costs.
- 2025.stateofjs.com/en-US/other-tools: Survey reports Prettier and Biome usage with no separate Oxfmt result.
Safe8.2
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- advisories total: 0 advisories
- npm dependencies: 1 dependency
- scorecard: null; no Scorecard data
- github.com/oxc-project/oxc/issues/27224: Optional peer on vite-plus broke installs
GPT-6.2 Sol: 8.3, likely 7.0 to 9.4
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.
- npm license and dependencies: MIT licence and one required direct npm dependency.
- advisories total and scorecard: Zero package advisories and no Scorecard result.
- github.com/oxc-project/oxc/blob/main/.github/workflows/release_apps.yml: GitHub Actions publishes through npm trusted publishing with provenance.
- github.com/oxc-project/oxc/releases/tag/oxfmt_v0.79.0: Immutable release ships platform binaries and updates bundled Prettier.
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
- npm downloads, 4 weeks
- 116M ×2423 in a year
- GitHub stars
- 24k
- Commits, 12 months
- 9.1k
- npm version
- 0.79.0 Nov 2026
- Versions, 12 months
- 64
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The repository holds the whole Oxc toolchain, so its stars count more than the formatter.
Read on 21 November 2026 from GitHub (oxc-project/oxc), npm (oxfmt), OSV and the OpenSSF Scorecard.
Linters and formatters
- 8.4Prettier
- 8.3ESLint
- 8.3Oxlint
- 8.2Stylelint
- 8.2typescript-eslint
- 8.0Biome
- 7.6Knip
- 7.5Oxfmt
- 6.5dprint
- 6.4bun fmt
- 5.7XO
- 5.4bun lint
- 3.2JavaScript Standard Style