Oxfmt
Ranked 5 of 7 code formatters by recommenders
Fast Rust-based formatter people use as a Prettier replacement, often alongside Oxlint. Critics say running it with no arguments recursively scans the directory tree.
Fast Rust-based formatter people use as a Prettier replacement, often alongside Oxlint. Critics say running it with no arguments recursively scans the directory tree.
23 people gave an opinion
- recommend it
- 14
- criticize it
- 9
- approval share
- 61%
Recommended in 6 of 13 months
- November 2025: not recommended
- December 2025: not recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: not recommended
- May 2026: recommended
- June 2026: not recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: not recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 14 people recommend itNeeds 10 or more, met.
- 1.5 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 6 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Drop-in replacement for Prettier
“It's amazing, especially in combination with Oxfmt instead of prettier.”
Comment from 6 Oct 2026 in “Friendship ended with Deno, now Node is my best friend” “You can replace eslint and prettier with Biome or Oxlint + Oxfmt.”
Comment from 10 Jan 2026 in “The Performance Revolution in JavaScript Tooling” “eslint/prettier with oxlint/oxfmt”
Comment from 26 Oct 2026 in “Ask HN: How fast is your CI these days?” - Comment from 2 Feb 2026 in “From 88 to 24 Seconds: Drop-In Replacements That Cut CI/CD Runtime by over Half”
Much faster than Prettier and ESLint
“Instead of talking about hypothetical Oxlint and Oxfmt performance improvements, I had both benchmarked against ESLint and Prettier within the hour.”
Comment from 6 Mar 2026 in “Labor Market Impacts of AI” “the time to process a codebase went from like way over a minute with the old tools to a few seconds with theirs”
Comment from 20 May 2026 in “Node.js 26.0.0 (Now with Temporal)” “replaces prettier and is faster since it isn't written in JavaScript”
Comment from 2 Jul 2026 in “Vite+ Beta” - Comment from 2 Jul 2026 in “Vite+ Beta”
Part of the Vite toolchain
“I love Vite, Vitest, Oxlint and Oxfmt and look in their direction for most of my new projects!”
Comment from 2 Jul 2026 in “Vite+ Beta” “Sure beats opening some ancient project and seeing some mix of Vite, Vitest, Oxlint and Oxfmt”
Comment from 2 Jul 2026 in “Vite+ Beta” “Extremely happy user of Vite, Vitest, Rolldown, tsdown, Oxlint, and Oxfmt.”
Comment from 2 Jul 2026 in “Vite+ Beta” Does what you ask
“oxfmt did what you asked it to do.”
Comment from 23 Feb 2026 in “The JavaScript Oxidation Compiler” “Oxfmt got it, and then won.”
Comment from 18 Feb 2026 in “Fastest Front End Tooling for Humans and AI”
What people warn about
Each mark is one comment
Recursively scans directory when run bare
“If someone runs a tool without args, the tool should do equivalent of "tool --help" It is bad ux.”
Comment from 23 Feb 2026 in “The JavaScript Oxidation Compiler” “running oxfmt without any arguments recursively scans directory tree from the current directory”
Comment from 23 Feb 2026 in “The JavaScript Oxidation Compiler” “this is definitely not what I'd expect from a program run without arguments”
Comment from 23 Feb 2026 in “The JavaScript Oxidation Compiler” - Comment from 23 Feb 2026 in “The JavaScript Oxidation Compiler”
- Comment from 23 Feb 2026 in “The JavaScript Oxidation Compiler”
Other code formatters people recommend
The four most recommended other code formatters, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| gofmt | 26 | 5 | 84% | 10 | — | Approved |
| Black | 18 | 6 | 75% | 6 | — | Approved |
| FracturedJson | 18 | 2 | 90% | 2 | — | — |
| Prettier | 16 | 10 | 62% | 8 | — | — |
| OxfmtThis page | 14 | 9 | 61% | 6 | — | — |
What people said
25 of the 28 comments that mention it, newest first. Each links to the original comment.
“eslint/prettier with oxlint/oxfmt”
“It's amazing, especially in combination with Oxfmt instead of prettier.”
“prettier -> oxfmt (but in rust, and fast)”
“it's mostly intended to be a Prettier replacement”
“I wish Oxfmt supported plugins.”
“Extremely happy user of Vite, Vitest, Rolldown, tsdown, Oxlint, and Oxfmt.”
“replaces prettier and is faster since it isn't written in JavaScript”
“the jank levels seem to generally be decreasing with every next attempt to get things right”
“Sure beats opening some ancient project and seeing some mix of Vite, Vitest, Oxlint and Oxfmt”
“I love Vite, Vitest, Oxlint and Oxfmt and look in their direction for most of my new projects!”
“the time to process a codebase went from like way over a minute with the old tools to a few seconds with theirs”
“then you install Oxlint and Oxfmt and are surprised to find out that it takes SECONDS”
“Instead of talking about hypothetical Oxlint and Oxfmt performance improvements, I had both benchmarked against ESLint and Prettier within the hour.”
“But most formatters I'm used to absolutely don't do this.”
“running oxfmt without any arguments recursively scans directory tree”
“oxfmt should have done the same”
“If someone runs a tool without args, the tool should do equivalent of "tool --help" It is bad ux.”
“this is definitely not what I'd expect from a program run without arguments”
“oxfmt did what you asked it to do.”
“running oxfmt without any arguments recursively scans directory tree from the current directory”
“This doesn't align with the data.”
“Oxfmt got it, and then won.”
“they're not ready for production yet”
“`prettier` replaced with `oxfmt`”
“You can replace eslint and prettier with Biome or Oxlint + Oxfmt.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.