Skip to content
SPECIFICTION
Get listed

Biome vs rustfmt

Biome

biomejs.dev

rustfmt

rust-lang.github.io

Side by side

FigureBiomerustfmt
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Code Formatting Tools8.2 (#6)8.0 (#10)
Editor integrationsFirst-party extensions are available for VS Code, IntelliJ, and Zed.The README lists integrations or usage instructions for Vim, Emacs, Sublime Text 3, Atom, Visual Studio Code, and IntelliJ or CLion.
PurposeBiome is a toolchain for web projects that provides tools to maintain project health.rustfmt formats Rust code according to style guidelines.

Plans

Biome

  • Open-source BiomeFree

Biome pricing →

rustfmt

  • rustfmtFree

rustfmt pricing →

In their own words

Biome

Biome is a toolchain for maintaining the health of web projects. It formats JavaScript, TypeScript, JSX, TSX, JSON, HTML, CSS, and GraphQL, and provides lint rules for JavaScript, TypeScript, JSX, CSS, and GraphQL. Linting can report diagnostics and apply safe fixes. Its check command can format files, lint them, and organize imports in one run. Biome is distributed as a standalone executable, so it does not require Node.js. Installation instructions cover npm, pnpm, bun, deno, and yarn. First-party editor extensions are available for VS Code, IntelliJ, and Zed; community extensions include Vim, Neovim, and Sublime Text. The getting-started guide links to CI integrations for GitHub Actions and GitLab CI. Biome describes itself as open source and lists MIT or Apache 2.0 licensing. The open-source toolchain is free. Contributors may offer commercial support, but requests depend on their availability.

Visit biomejs.dev

rustfmt

rustfmt formats Rust code according to style guidelines. It can format files directly or read code from standard input and write formatted output to standard output. With Cargo, `cargo fmt` formats binary and library targets in a crate and works with workspaces. A `rustfmt.toml` or `.rustfmt.toml` file can hold configuration, including stable and nightly-only options. For automated checks, `--check` returns code 0 when no formatting changes are needed and code 1 when changes would be made; it can be used in CI to fail a build on formatting differences. The README lists editor use with Vim, Emacs, Sublime Text 3, Atom, Visual Studio Code, IntelliJ, and CLion. Rustfmt is available on Windows, macOS, and Linux, and is distributed under the MIT License and Apache License 2.0. It does not attempt to format comments, and listed limitations also involve macros, unparsable code, fragments, and non-ASCII Unicode. Unstable settings require opt-in on nightly, and the README says the latest version requires the nightly toolchain.

Visit rust-lang.github.io