VoidZero has announced the alpha version of Oxfmt, a Rust-based code formatter designed to bring significant performance improvements to JavaScript and TypeScript projects. The formatter, which is part of VoidZero’s broader Oxc toolchain initiative, delivers formatting speeds more than 30 times faster than Prettier while maintaining over 95% compatibility with Prettier’s output.
Oxfmt addresses a challenge in the JavaScript ecosystem by combining the performance benefits of Rust-based tooling with the familiarity of Prettier’s formatting style. The tool is designed to be a drop-in replacement for existing Prettier installations, allowing developers to migrate with minimal formatting differences.
One of the key motivations behind Oxfmt’s development stems from user feedback following the release of Oxlint earlier in 2025. According to the announcement post, there have been consistent requests for styling features like import sorting
. VoidZero maintains a clear separation of concerns: linters check for logic while formatters focus on code style. By building both Oxfmt and Oxlint, the team aims to reduce configuration overhead and eliminate the need to disable overlapping rules between tools.
Performance benchmarks show Oxfmt is approximately 3 times faster than Biome and 30 times faster than Prettier on initial runs without cache, according to the project’s official benchmarks. The formatter is built on the Oxc compiler stack and avoids architectural bottlenecks common in existing formatter implementations, making it particularly suited for large codebases and CI environments.
Migrating from Prettier to Oxfmt is straightforward for most projects. Developers can rename their existing .prettierrc configuration file and begin using Oxfmt immediately. The tool currently supports major Prettier configuration options including singleQuote, printWidth, and several others, with a full list available in the documentation. While Oxfmt passes around 95% of Prettier’s JavaScript and TypeScript tests, VoidZero has been actively contributing bug reports and pull requests to Prettier itself to reduce remaining differences.
Developer Ryan Leichty responded to a post by the author on X expressing enthusiasm: We already switched to oxlint. Can’t wait for oxfmt.
The account behind the param state manager, nuqs, commented on the annoucement of Tailwind CSS support within Oxfmt:
Instant win over Biome.
Looking forward to replacing Prettier with oxfmt (and maybe try out oxlint in the process).
Elsewhere, a commenter on Reddit posted the following question around the performance vs Biome:
Nice, I wonder how they got such speedups compared to Biome which is also Rust
Which prompted a reply, claiming the difference lies within the architecture between the two tools:
Different architecture and quite a bit of obsession over performance.
Looking at the wider tooling landscape, Oxfmt joins Biome and Prettier as code formatting options for JavaScript and TypeScript developers. While Prettier remains the de facto standard with widespread adoption, Biome has gained traction by offering both linting and formatting in a single tool. Oxfmt differentiates itself through its focus on Prettier compatibility combined with performance gains that exceed both alternatives. Like Biome, Oxfmt builds on a fork of the biome_formatter infrastructure, with VoidZero acknowledging the contributions of the Biome and Rome teams in their announcement.
For the upcoming beta release, VoidZero is working on stabilizing experimental options such as built-in import sorting and embedded language formatting for CSS-in-JS. The team is also researching plugin support for popular frameworks including Vue, Svelte, and Astro. Developers can report issues and provide feedback through the project’s GitHub discussions or join the community Discord server.
