oxfmt

by VoidZero Inc. & Contributors

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

v0.48.0 MIT zip x64

Install with winget

Open PowerShell or Command Prompt and run:

winget install oxc-project.oxfmt

Copied to clipboard!

1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation

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.

formatterjavascripttypescript

Advanced Install Options

Install (latest)winget install oxc-project.oxfmt
Install (pinned version)winget install --id oxc-project.oxfmt -e --version 0.48.0
Upgradewinget upgrade oxc-project.oxfmt
Uninstallwinget uninstall oxc-project.oxfmt

Frequently Asked Questions

How do I install oxfmt using winget?
Open PowerShell or Windows Terminal and run: winget install oxc-project.oxfmt. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.
What is oxfmt?
Oxfmt is a high-performance formatter for the JavaScript ecosystem.
Is oxfmt free to use?
oxfmt is distributed under the MIT license. Check the publisher’s site for full licensing details.
How do I update oxfmt with winget?
Run winget upgrade oxc-project.oxfmt in PowerShell or Windows Terminal to upgrade to the latest available version.
How do I uninstall oxfmt?
Run winget uninstall oxc-project.oxfmt to remove oxfmt from your system.