oxfmt

oxfmt 0.69.0

Oxfmt is a high-performance formatter for the JavaScript ecosystem.

  • By VoidZero Inc. & Contributors
  • Open Source
  • Updated Sep 21, 2026
Download for Windows

About oxfmt

Oxfmt is a high-performance formatter for the JavaScript ecosystem.

  • Supported languages
  • JavaScript, JSX, TypeScript, TSX, JSON, JSONC, JSON5, YAML, TOML, HTML, Angular, Vue, CSS, SCSS, Less, Markdown, MDX, GraphQL, Ember, Handlebars

- Built for scale
Oxfmt targets large codebases and CI environments, with an emphasis on high throughput and predictable performance.
It is built on the Oxc compiler stack and avoids architectural bottlenecks common in existing formatter implementations.
Our benchmarks show Oxfmt to be approximately 30x faster than Prettier and 2x faster than Biome.

  • Batteries included
  • Oxfmt includes built-in features that typically require external Prettier plugins:
  • Import sorting
  • Tailwind CSS class sorting
  • package.json field sorting
  • Embedded formatting (CSS-in-JS, GraphQL, etc.)

- Prettier-compatible
Oxfmt integrates into existing Prettier-based workflows.
The oxfmt CLI behaves similarly to Prettier by default, allowing adoption with minimal changes to scripts and tooling.
Oxfmt matches Prettier’s JavaScript formatting. When migrating from recent versions of Prettier, formatting differences should not occur; any differences are considered bugs.
Oxfmt currently passes approximately 95% of Prettier's JavaScript and TypeScript test suite. The remaining cases are niche scenarios, and we work with the Prettier team to converge on formatting over time.
No additional dependencies or configuration needed.

What's new in 0.69.0

🚀 Features

  • 809090c oxlint,oxfmt: Find all vite.config.* variants (#26755) (leaysgur)
  • 4356dc2 formatter_markdown: Keep frontmatter verbatim (#26779) (leaysgur)
  • 7717813 formatter_markdown: Implement markdown formatter (#26434) (leaysgur)
  • 6c8a862 formatter: Glue fbt component and text (#26616) (leaysgur)

🐛 Bug Fixes

  • 68ed6a2 formatter_markdown: Fix real-world missmatches (#26785) (leaysgur)
  • 68ce610 formatter: Keep after-operator comments in place (#26725) (leaysgur)
  • f91ad92 formatter: Let union place leading comments at as|satisfies (#26674) (leaysgur)
  • ea164c0 formatter: Fix block comment with RHS assignment and typecast-ed arrow body (#26672) (leaysgur)
  • 406ff1f formatter: Preserve redundant parens for TSTypeAliasDeclaration with suppress comment (#26671) (leaysgur)

📚 Documentation

  • e012542 formatter_core: Add note for blanked front matter (#26786) (leaysgur)
  • 11ff089 formatter_markdown: Follow updated DIVERGENCES policy (#26776) (leaysgur)
  • 8fa3617 oxfmt: Unify DIVERGENCES reference and drop notes (#26750) (leaysgur)
  • d8a716c formatter_css: Unify DIVERGENCES reference (#26749) (leaysgur)
  • 095a97c formatter: Unify DIVERGENCES reference (#26748) (leaysgur)
  • 97dc427 formatter_graphql: Unify DIVERGENCES reference (#26747) (leaysgur)
  • 09ecfa7 formatter_yaml: Unify DIVERGENCES reference (#26746) (leaysgur)
  • 0c16983 formatter_core: Clean up FORMATTER_POLICY (#26745) (leaysgur)

Full release notes »

Technical details

PublisherVoidZero Inc. & Contributors
Version0.69.0
Release date2026-09-21
LicenseMIT
Installer typezip
Architecturex86, x64, arm64
Package IDoxc-project.oxfmt

Links & install command

Install oxfmt from the command line with Windows Package Manager (winget):

winget install --id=oxc-project.oxfmt -e

formatterjavascripttypescript

Older versions

  • 0.68.0
  • 0.67.0
  • 0.66.0
  • 0.65.0
  • 0.64.0
  • 0.63.0
  • 0.62.0
  • 0.61.0
  • 0.60.0