Oxc

oxc.rs

High-performance JavaScript toolchain with parser, linter, formatter, and minifier.

Overview

Oxc is a collection of high-performance JavaScript tools written in Rust, designed as the foundation for modern JavaScript tooling. It includes Oxlint (a 50-100x faster ESLint alternative with 845+ rules and type-aware linting), Oxfmt (a 30x faster Prettier-compatible formatter), and additional tools for parsing, transforming, minifying, and resolving JavaScript and TypeScript code.

The project prioritizes performance, correctness, and developer experience. Oxlint is built for large repositories and CI environments with native type-aware linting powered by TypeScript's compiler. Oxfmt includes batteries-like features such as import sorting and Tailwind CSS class sorting without requiring plugins.

Oxc is free and open source, maintained by VoidZero Inc. and community contributors, with support for JavaScript, TypeScript, JSX, TSX, and framework files across Vue, Svelte, and Astro.

Key features

  • Oxlint: ESLint-compatible linter with 845+ rules
  • Oxfmt: Prettier-compatible formatter with built-in sorting
  • Type-aware linting powered by TypeScript compiler
  • Multi-file analysis for cross-file imports
  • Parser, transformer, minifier, and resolver tools
  • Support for JavaScript, TypeScript, JSX, TSX, Vue, Svelte, Astro
  • Automatic fixes and ignore file support
  • ESLint plugin compatibility
Pros
  • 50-100x faster than ESLint
  • 30x faster than Prettier, 3x faster than Biome
  • True type-aware linting with full TypeScript compatibility
  • Extensive rule coverage with 845+ built-in rules
  • Batteries-included features like import and Tailwind sorting
  • Designed for large repositories and CI environments
  • Free and open source with active development
Cons
  • Oxfmt is in beta status
  • Oxminifier is in alpha status
  • Requires migration effort from existing ESLint/Prettier setups
  • Some edge-case plugin behaviors may not be fully supported
Use this if
You need a fast, modern linter and formatter for JavaScript/TypeScript projects; you're migrating from ESLint or Prettier; you work with large codebases or monorepos; you require type-aware linting; you want to improve CI performance.
Skip this if
You depend on specific ESLint or Prettier plugin behaviors not yet supported by Oxc; you need a single unified toolchain (consider Vite+ instead); you require proprietary support or SLAs.

Best for

Large codebases and monoreposCI/CD pipelines requiring fast linting and formattingTeams migrating from ESLint and PrettierType-aware linting with TypeScript projectsHigh-throughput development workflows

Alternatives

ESLintPrettierBiomeVite+

Compare Oxc alternatives

More Devtool

Compare all
View Deno
Deno

Secure TypeScript/JavaScript runtime with built-in tooling, permissions, and npm compat.

View Nuxt Studio
Nuxt Studio

Visual content editor for Nuxt Content with live preview and team workflows.

View matlab
matlab

Matrix-based language and environment for engineering, signal processing, and simulation.

View Emacs
Emacs

Powerful, extensible text editor that supports various programming languages and file types.

Oxc · Newtools