Rolldown
rolldown.rs
- Free plan
- Windows
- macOS
- Linux
- Web
- Android
- API
What Rolldown is
Rolldown is a free, open-source JavaScript bundler written in Rust and designed as the unified bundler powering Vite 8+. It offers a Rollup-compatible plugin API that can reuse most existing Rollup plugins. Built-in capabilities include TypeScript and JSX transforms, syntax lowering, module resolution, and minification. Rolldown handles mixed ESM and CommonJS module graphs and supports configurable manual code splitting. Its installation guide provides commands for npm, pnpm, yarn, bun, and vp, and lists prebuilt binaries for Linux, Windows, Apple platforms, Android, and other targets. Where no prebuilt binary is distributed, users can use the Wasm build or build from source. The guide recommends using Rolldown through Vite for most applications and points library authors to tsdown. Module types are experimental, and the JavaScript build() API may change in patch releases. The troubleshooting guide notes that Windows file-system access can slow builds, especially when transforms run without plugins. An online REPL is available, and the project links to GitHub, Discord, and contribution resources.
Who it suits
Rolldown suits developers building JavaScript applications or bundler tooling who want a Rollup-compatible API and built-in transforms. The maker recommends using it through Vite for most applications and points library authors to tsdown.
Good to know, and what to watch
- Free and open source under the MIT license.
- Rollup-compatible API can reuse most existing Rollup plugins.
- Built-in TypeScript and JSX transforms.
- Supports mixed ESM and CommonJS module graphs.
- Configurable manual code splitting is available.
- Module types are experimental.
- The JavaScript build() API may change in patch releases.
- Windows file-system access can slow builds in some cases.
- Direct eval can expose variables from other files.
Plans
Every plan and priceFree & open source
Free plan
Getting started
- Open the Rolldown website and try the online REPL.
- Choose an install command for npm, pnpm, yarn, bun or vp.
- Use a documented prebuilt binary for a supported platform.
- Use the Wasm build or build from source if no prebuilt binary is distributed.
- For most applications, use Rolldown through Vite; library authors can consider tsdown.
Limits to check
Module types are experimental. The JavaScript build() API is experimental and may change in patch releases; Windows file-system access can also slow builds, especially when transforms run without plugins.
The Club's review
Overview
Rolldown is a Rust-based JavaScript bundler built around a Rollup-compatible API. It suits teams with existing Rollup plugins, especially those adopting Vite 8 or later; most application developers should use it through Vite rather than wire it in directly.
Key features
Rolldown’s API matches Rollup’s, so most existing Rollup plugins can be reused. That makes it a practical option for teams carrying plugin-based build setups forward, though compatibility is not a promise that every plugin will work unchanged. Community plugins published to npm are listed in the Vite Plugin Registry.
Built-in TypeScript, JSX and syntax-lowering transforms, powered by Oxc, cover common compilation work. Module resolution, ESM/CommonJS interoperability, define and inject options, minification, tree shaking and source maps round out the core toolset. Mixed ESM and CommonJS graphs work without requiring @rollup/plugin-commonjs, while configurable manual code splitting gives teams control over chunk organization.
Module types are experimental, making them a poor foundation for workflows that require a stable production interface. Rolldown also offers JavaScript APIs for bundling, watching and building, but the build() API is experimental and may change in patch releases. Direct users should account for that maintenance risk.
Install commands cover npm, pnpm, yarn, bun and vp. The homepage also links to an online REPL for trying Rolldown in a browser. Windows builds may be slowed by file-system access, particularly when transforms run without plugins. A separate security concern is direct eval: bundled code can access variables from other files, which may expose sensitive values if they are in scope.
Pricing
Rolldown is free and open source, with a price of free. VoidZero states that the project remains MIT-licensed. There are no paid plans to weigh against the free offering, so cost is not a reason to choose a different bundler.
Platforms
Rolldown is listed for Android, API use, Linux, macOS, the web and Windows. Prebuilt binaries cover Linux, Windows and Apple platforms, with additional targets including Android, FreeBSD, OpenHarmony and Wasm/Wasi variants documented. If a platform lacks a distributed binary, users can turn to the Wasm build or build from source. Windows users should factor in the potential file-system slowdown.
Who it's for
Rolldown is best suited to teams moving toward Vite 8 or later and developers who want a Rust-based bundler while retaining a Rollup-compatible plugin API. For most applications, using it through Vite is the recommended path; library authors are pointed to tsdown. Direct adoption makes more sense when a project has a clear need for Rolldown’s bundling APIs and can accommodate experimental interfaces.
Pros and cons
Pros
- Rollup plugin continuity: Most existing Rollup plugins can be reused, reducing the need to rebuild an established plugin setup.
- Common transforms built in: TypeScript, JSX and syntax lowering, alongside minification and module handling, cover routine bundling needs.
- Free and open source: The MIT-licensed project has no paid tier to budget for.
- Broad documented targets: Prebuilt binaries and Wasm options give teams alternatives when a native binary is unavailable.
Cons
- Experimental interfaces: Module types and the build() API may change, including in patch releases, which raises upgrade risk for direct users.
- Windows file-system overhead: Builds can slow down, particularly when transforms run without plugins.
- Direct eval risk: Bundled code using eval may access variables from other files, potentially exposing sensitive data.
Alternatives
Vite is the natural alternative for application teams: it is also free and open source, and Rolldown is designed to power Vite 8 and later. SWC is another free, open-source Rust-based developer toolchain. esbuild may suit teams looking for a free MIT-licensed tool with native executable or WebAssembly options. Rspack is a free, MIT-licensed alternative.
Google Closure Compiler is a free open-source Java application, Bazel library and NPM package. Oxc is a free, open-source alternative. webpack is free, MIT-licensed, self-managed software. Parcel is an open-source project supported by code and financial contributions from companies and individuals.
Explore more options in JavaScript Build Tools.
Verdict
Choose Rolldown if you are moving into Vite 8 or need a Rust-based bundler that preserves much of a Rollup plugin setup while providing common transforms out of the box. Its free MIT-licensed model and broad target support are strong advantages. Look elsewhere—or use it through Vite—if you need stable direct-build interfaces, rely on experimental module types, or expect Windows builds to be sensitive to file-system performance.
The verdict
Rolldown offers a Rust-based bundling option with a Rollup-compatible plugin API and built-in transforms. Its experimental module types and build() API caveat matter for teams depending on those interfaces.
Questions people ask
Is Rolldown free?
Yes. Rolldown is free and open source, and its listed plan is free.
Does Rolldown support Rollup plugins?
Its plugin API is described as identical to Rollup's, allowing most existing Rollup plugins to be reused.
What does Rolldown support out of the box?
Built-in capabilities include TypeScript and JSX transforms, syntax lowering, module resolution, ESM/CommonJS interoperability, define, inject and minification. Tree shaking, source maps and configurable manual code splitting are also supported.
Which platforms can I use it on?
The platform list includes Android, API, Linux, macOS, web and Windows. Prebuilt binaries are listed for Linux, Windows and Apple platforms, with additional targets documented; Wasm or a source build can be used where a binary is not distributed.
How should I use Rolldown for an application?
The guide recommends using Rolldown through Vite for most applications and points library authors to tsdown.
What the maker publishes
- API
- Rolldown provides JavaScript APIs for bundling, watching, and building; the build() API is experimental and may change in patch releases. source
- Browser demo
- The homepage links to an online Rolldown REPL. source
- Built-in features
- Built-in capabilities include TypeScript and JSX transforms, module resolution, ESM/CJS interop, define, inject, and minification. source
- Built-in transforms
- Built-in transforms include TypeScript, JSX, and syntax lowering, powered by Oxc. source
- Code splitting
- Rolldown supports configurable manual code splitting. source
- Code splitting
- Its output.codeSplitting option provides granular control over chunking behavior. source
- Company relationship
- VoidZero Inc. holds the copyrights, funds development, and controls the direction of Rolldown. source
- Compatibility
- Rolldown provides a Rollup-compatible API and can reuse most existing Rollup plugins. source
- Experimental feature
- Module types are documented as experimental. source
- Install options
- The guide provides install commands for npm, pnpm, yarn, bun, and vp. source
- Intended users
- The maker recommends using Rolldown through Vite for most applications and points library authors to tsdown. source
- License
- Rolldown is free and open source; VoidZero states that it remains open source and MIT-licensed. source
- Module formats
- Rolldown supports mixed ESM and CommonJS module graphs without requiring @rollup/plugin-commonjs. source
- Open source
- The maker describes Rolldown as free and open source. source
- Performance limitation
- The troubleshooting guide says Windows file-system access can slow builds, especially when transforms run without plugins. source
- Platform support
- Prebuilt binaries are listed for Linux, Windows, and Apple macOS architectures, with additional experimental and other targets documented. source
- Plugin ecosystem
- Community plugins published to npm are listed in the Vite Plugin Registry. source
- Purpose
- Rolldown is a Rust-based bundler for JavaScript. source
- Purpose
- Rolldown is a Rust-based bundler for JavaScript with a Rollup-compatible API and esbuild feature parity. source
- Recommended use
- For most applications, the guide recommends using Rolldown through Vite; it points library bundlers to tsdown. source
- Rollup plugins
- The plugin API is described as identical to Rollup's, allowing most existing Rollup plugins to be reused. source
- Security consideration
- The troubleshooting guide warns that direct eval can let bundled code access variables from other files and may create a security issue if those variables contain sensitive data. source
- Support and community
- The site links to GitHub, Discord, and contribution resources. source
- Support and community
- The site links to a Discord chat and contribution guide, and says the project is in an early stage and seeks community contributors. source
Checked against the maker's pages on 3 Oct 2026.