SWC

A super-fast, Rust-based JavaScript/TypeScript compiler used as a Babel replacement in Next.js, Deno and others.

SWC parses and transforms modern JavaScript and TypeScript, handling JSX, decorators and minification at native speed. It is embedded in many tools, including Next.js, Rspack and Deno. A plugin system based on WebAssembly allows custom transforms.

Type
Developer tool
Category
Web
Maintainer
Donny (kdy1) and SWC contributors
First released
2019
License
Open source (Apache-2.0)
Pricing
Open source
Level
Intermediate
Technologies
javascript, typescript, rust
GitHub stars
34,225
Weekly downloads
63,010,340 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What SWC is used for

  • Transpiling TypeScript/JSX
  • Minification
  • Tooling internals

Strengths

  • Very fast
  • Babel-compatible feature set
  • Embeddable

Limitations

  • No type checking
  • Plugin ABI changes between versions

SWC alternatives

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore