Command Palette

Search for a command to run...

Page Inspect

https://swc.rs/
Internal Links
42
External Links
10
Images
4
Headings
9

Page Content

Title:Rust-based platform for the Web
Description:
HTML Size:127 KB
Markdown Size:3 KB
Fetched At:September 17, 2025

Page Structure

h1SWC
h2Overview
h4Download prebuilt binaries
h3pnpm
h3npm
h3yarn
h4Transpile JavaScript file and emit to stdout
h2Features
h2Community

Markdown Content

Rust-based platform for the Web

Skip to Content

SWCSpeedy Web Compiler

DocsPlaygroundBlog

- Docs

- Getting Started
- Usage

- @swc/cli
- @swc/core
- @swc/wasm
- @swc/jest
- swc-loader
- @swc/html
- Bundling
- Configuration

- .swcrc
- Compilation
- Supported Browsers
- Modules
- Minification
- Bundling
- Plugin

- Selecting swc\_core
- ECMAScript

- Getting started
- Cheatsheet
- Publishing
- Contributing

- Commons

- String Management
- ECMAScript Commons

- Variable Management
- ECMAScript Minifier

- Profiling
- Debugging Next.js App
- Debugging size difference between SWC and Terser
- The Team
- Roadmap
- Sponsors
- Customers
- Benchmarks
- API References

- @swc/wasm-typescript
- Migrating from Babel
- @swc-node vs @swc
- Migrating from tsc
- Playground

- Try SWC
- Blog

- Performance Comparison of SWC and Babel
- Introducing SWC 1.0

Light

Light

On This Page

- Overview
- Download prebuilt binaries
- Transpile JavaScript file and emit to stdout
- Features
- Community

Question? Give us feedback Edit this page Scroll to top

# SWC

Rust-based platform for the Web

SWC is an extensible Rust-based platform for the next generation of fast developer tools. It’s used by tools like Next.js, Parcel, and Deno, as well as companies like Vercel, ByteDance, Tencent, Shopify, Trip.com, and more.

SWC can be used for both compilation and bundling. For compilation, it takes JavaScript / TypeScript files using modern JavaScript features and outputs valid code that is supported by all major browsers.

🏎

SWC is **20x faster than Babel** on a single thread and **70x faster** on four cores.

Get Started · Playground · Blog · Rustdocs  · GitHub Repository  · Donate

## Overview

SWC can be downloaded and used as a pre-built binary, or built from source. Currently, the following binaries are provided:

- Mac (Apple Silicon)
- Mac (x64)
- Linux (x86\_64)
- Linux (aarch64)
- Linux (armv7)
- Alpine Linux (also install `@swc/core-linux-musl`)
- Android (aarch64)
- Windows (win32-x64)
- Windows (ia32)

#### Download prebuilt binaries

pnpmnpmyarn

### pnpm

`pnpm add -D @swc/cli @swc/core`

### npm

`npm i -D @swc/cli @swc/core`

### yarn

`yarn add -D @swc/cli @swc/core`

#### Transpile JavaScript file and emit to stdout

`npx swc ./file.js`

## Features

SWC is designed to be extensible. Currently, there is support for:

- Compilation
- Bundling (`swcpack`, under development)
- Minification
- Transforming with WebAssembly
- Usage inside webpack (`swc-loader`)
- Improving Jest performance (`@swc/jest`)
- Custom Plugins

Learn more.

## Community

SWC is created by kdy1 . Follow @kdy1dev  on Twitter for future project updates.

Feel free to join the discussions on GitHub !

Last updated on May 6, 2025

Powered by