https://github.com/swc-project/swc
Rust-based platform for the Web
https://github.com/swc-project/swc
babel compiler ecmascript ecmascript-parser javascript parser rust swc typescript typescript-compiler typescript-parser
Last synced: about 1 month ago
JSON representation
Rust-based platform for the Web
- Host: GitHub
- URL: https://github.com/swc-project/swc
- Owner: swc-project
- License: apache-2.0
- Created: 2017-12-22T11:40:14.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2026-10-16T17:06:02.000Z (about 1 month ago)
- Last Synced: 2026-10-16T18:27:44.338Z (about 1 month ago)
- Topics: babel, compiler, ecmascript, ecmascript-parser, javascript, parser, rust, swc, typescript, typescript-compiler, typescript-parser
- Language: Rust
- Homepage: https://swc.rs
- Size: 446 MB
- Stars: 34,203
- Watchers: 180
- Forks: 1,571
- Open Issues: 403
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-CORE.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Agents: AGENTS.md
- Claude: CLAUDE.md
Awesome Lists containing this project
- awesome-frontend - swc - 基于 rust 的语法转换器,babel 的竞争者 (打包工具)
- awesome-star-libs - swc-project / swc - 使用rust编写的超快javascript到javascript编译器 (目录)
- awesome-fe-resources - swc - :使用 Rust 写的巨快的 JS 编译器 (编辑器相关)
- awesome-rust - SWC - fast TypeScript / JavaScript compiler (Applications)
- awesome-repositories - swc-project/swc - fast javascript to javascript compiler written in rust. (Tools)
- awesome-js-tooling-in-rust - swc
- awesome-fe - swc - 基于 rust 的语法转换器,babel 的竞争者。 (打包工具 / 非 JavaScript 编译工具)
- awesome-rust - SWC - super-fast TypeScript / JavaScript compiler (Applications)
- awesome - swc-project/swc - fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. (React / Build)
- awesome-ccamel - swc-project/swc - Rust-based platform for the Web (Rust)
- awesome-rust - SWC - super-fast TypeScript / JavaScript compiler (Applications)
- awesome-alternatives-in-rust - SWC - A Rust-based platform for the web (Development tools / Compilers)
- awesome-rust-list - SWC - project/swc?style=social"/> : SWC (stands for Speedy Web Compiler) is a super-fast TypeScript / JavaScript compiler written in Rust. [swc.rs](https://swc.rs/) (Web Framework)
- fucking-awesome-rust - SWC - super-fast TypeScript / JavaScript compiler (Applications)
- awesome - swc-project/swc - Rust-based platform for the Web (Rust)
- awesome-github-star - swc - based platform for the Web | swc-project | 28599 | (Rust)
- my-awesome-list - swc - Super-fast javascript to javascript compiler written in rust (Programming Languages / Rust)
- awesome-rust-cn - SWC
- awesome-web-development - swc - is a super-fast typescript / javascript compiler written in rust. It's a library for rust and javascript at the same time. If you are using swc from rust, see rustdoc and for most users, your entrypoint for using library will be parser. (Compile & Pack)
- awesome-list - swc - fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. | swc-project | 14300 | (TypeScript)
- awesome-web-dev-resources - swc - swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript (Code bundlers)
- awesome-github-projects - swc - Rust-based platform for the Web ⭐34,221 `Rust` 🔥 (⚙️ Backend & APIs)
- awesome-typescript-compilers - swc - Rust-based platform for fast TypeScript/JavaScript compilation. ([playground](https://swc.rs/playground)) (JavaScript Targets)
- awesome-js-tooling-not-in-js - swc - TypeScript/JavaScript compiler in Rust. (Compilers)
- awesome-modern-cli - SWC - A super-fast TypeScript/JavaScript compiler, replaces Babel. `Rust` (JS / TS Toolchain)
- awesome - 🦀 swc - swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. (Compiler)
- awesome-nodejs-tools - SWC - fast TypeScript/JavaScript compiler | (🏗️ Build Tools & Bundlers / E2E Testing)
- github-ultimate-repos - swc-project/swc - | ⭐ 34,201★ | 🍴 1,537 | 💻 `Rust`🔗 <https://github.com/swc-project/swc>📝 Rust-based platform for the Web⚙️ `Source code lexing & recursive descent parsing -> AST abstract syntax tree -> SSA intermediate representation (LLVM IR) -> dead-code elimination & machine code emission.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [44] COMPILERS, INTERPRETERS, VIRTUAL MACHINES, LANGUAGE TOOLCHAINS & JIT ENGINES)
- awesome-rust-with-stars - SWC - fast TypeScript / JavaScript compiler | 2026-01-28 | (Applications)
- awesome - swc-project/swc - Rust-based platform for the Web (Rust)
- made-in-korea - swc
- awesome-f2e-libs - swc - 基于 rust 的语法转换器,babel 的竞争者。 (打包工具 / 非 JavaScript 编译工具)
- awesome-nodejs - swc - Super fast javascript / typescript compiler (Uncategorized / Uncategorized)
- AiTreasureBox - swc-project/swc - 06-28_34143_4](https://img.shields.io/github/stars/swc-project/swc.svg)|Rust-based platform for the Web| (Repos)
- awesome - swc - Super-fast javascript to javascript compiler written in rust (Rust)
README
Make the web (development) faster.
SWC (stands for `Speedy Web Compiler`) is a super-fast TypeScript / JavaScript compiler written in Rust. It's a library for Rust and JavaScript at the same time. If you are using SWC from Rust, see [rustdoc](https://rustdoc.swc.rs/swc/) and for most users, your entry point for using the library will be [parser](https://rustdoc.swc.rs/swc_ecma_parser/).
Also, SWC tries to ensure that
> If you select the latest version of each crates, it will work
for rust users.
MSRV of crates is currently `1.73`.
To update all SWC crates you use, you can run `curl https://raw.githubusercontent.com/swc-project/swc/main/scripts/update-all-swc-crates.sh | bash -s`. This script will update all dependencies to the latest version and run `cargo build` to ensure that everything works.
Note that you need
- `jq`
- `cargo upgrade`
command to run the script.
---
If you are using SWC from JavaScript, please refer to [docs on the website](https://swc.rs/docs/installation/).
# Documentation
Check out the documentation [in the website](https://swc.rs/docs/installation/).
# Features
Please see [comparison with babel](https://swc.rs/docs/migrating-from-babel).
# Performance
Please see [benchmark results](https://swc.rs/docs/benchmark-transform) on the website.
# Supporting development
Supporting swc
## Powered by
[](https://jb.gg/OpenSourceSupport)
## Sponsors
SWC is a community-driven project, and is maintained by a group of [volunteers](https://swc.rs/docs/team). If you'd like to help support the future of the project, please consider:
- Giving developer time on the project. (Message us on [Discord](https://discord.gg/GnHbXTdZz6) (preferred) or [Github discussions](https://github.com/swc-project/swc/discussions) for guidance!)
- Giving funds by becoming a sponsor (see https://opencollective.com/swc)!
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md). You may also find the architecture
documentation useful ([ARCHITECTURE.md](ARCHITECTURE.md)).
## License
SWC is primarily distributed under the terms of the Apache License (Version 2.0).
See [LICENSE](LICENSE) for details.