Rolldown

B
B tier on JavaScript Build ToolsScore 7.5 · #1 of 27
Android app
Yes
Free plan
Yes
Runs on
Android, api, Linux, Mac, Web, Windows
rolldown.rs
The Rolldown homepage

Summary

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, plus built-in 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 install guide provides commands for npm, pnpm, yarn, bun, and vp, and lists prebuilt binaries for Linux, Windows, Apple platforms, Android, and other targets. Where a prebuilt binary is not 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 for bundling 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 is for

Rolldown suits JavaScript developers looking for a bundler with TypeScript and JSX transforms and a Rollup-compatible plugin API. Its guidance points most application developers toward using it through Vite and library authors toward tsdown.

What is good

  • Free and open source under the MIT license.
  • Reuses most existing Rollup plugins.
  • Includes TypeScript and JSX transforms.
  • Supports configurable manual code splitting.

What to know first

  • Module types are documented as experimental.
  • The JavaScript build() API may change in patch releases.
  • Windows file-system access can slow some builds.

Everything Xiaomi review

Rolldown: the full review

Rolldown combines built-in transforms with compatibility for much of the Rollup plugin ecosystem. Consider its experimental module types and build() API when choosing how to use it.

Overview

Rolldown is a JavaScript bundler built in Rust, aimed at developers working in the Vite ecosystem or seeking a Rollup-compatible bundling API. Its strongest case is familiar plugin compatibility paired with built-in transforms; most application teams will be better served using it through Vite than adopting it directly.

Key features

Rolldown’s plugin API matches Rollup’s, so many existing Rollup plugins can carry over without a separate compatibility layer. That is useful for teams with established plugin-based build setups, though “most” does not guarantee every plugin will work unchanged. Community plugins published to npm appear in the Vite Plugin Registry.

Built-in TypeScript, JSX and syntax-lowering transforms, powered by Oxc, cover common compilation work without requiring separate transform plugins. The bundler also handles module resolution, ESM/CommonJS interop in mixed module graphs, define and inject options, minification, tree shaking and source maps. Manual code splitting is configurable, giving teams control over chunk organization. Experimental module types are a less dependable choice for production-critical workflows.

Rolldown provides JavaScript APIs for bundling and watching as well as building, but its build() API is experimental and may change even in patch releases. Direct use of that API therefore carries maintenance risk for projects that need a stable interface.

Install commands are provided for npm, pnpm, yarn, bun and vp. The homepage also links to an online REPL, a convenient way to explore the tool in a browser. One practical caveat is Windows file-system performance: builds can slow down, particularly when transforms run without plugins. The troubleshooting guidance also warns that direct eval can expose variables from other files to bundled code, creating a security concern if those variables contain sensitive data.

Pricing

Rolldown is free and open source under the MIT license. The Free & open source plan costs 0.00 USD per free, with no paid plans stated. There are no paid tiers to compare; the trade-off is adopting an open-source tool whose direction and development are controlled and funded by VoidZero Inc.

Platforms

Rolldown is categorized for Android, API, Linux, macOS, web and Windows. Prebuilt binaries are listed for Linux, Windows and Apple macOS architectures, with Android and other targets—including FreeBSD, OpenHarmony and Wasm/Wasi variants—also documented. Experimental or less common targets may require more care; where no prebuilt binary is distributed, users can fall back to the Wasm build or build from source.

Who it's for

Rolldown is a natural fit for Vite users who want the bundler intended to power Vite 8 and later, and for developers who value Rollup plugin reuse alongside built-in TypeScript and JSX transforms. For most applications, the recommended route is through Vite rather than direct integration. Library authors are pointed toward tsdown, while developers needing a stable direct build() API or mature experimental module-type support should look elsewhere.

Pros and cons

  • Pro: Rollup-compatible plugin APIs make reuse of much of an existing plugin ecosystem possible.
  • Pro: Built-in TypeScript, JSX and syntax lowering reduce reliance on separate transform plugins.
  • Pro: Mixed ESM/CommonJS graphs work without @rollup/plugin-commonjs, and manual splitting is configurable.
  • Con: Experimental module types and a build() API that can change in patch releases make direct use less suitable when stability is essential.
  • Con: Windows file-system access can slow builds, particularly when transforms run without plugins.
  • Con: Direct eval can expose cross-file variables, a concern when those variables hold sensitive data.

Alternatives

JavaScript Build Tools is the category to browse for a broader comparison. Choose SWC instead if you want a free, open-source Rust-based developer toolchain. Parcel is another free, open-source project, supported by contributions from companies and individuals. esbuild offers free MIT-licensed software as a native executable or WebAssembly version, with no paid tiers stated. Rspack is a free alternative released under the MIT license.

Vite is also free and open source under the MIT license; it is the natural choice for readers looking for the application-level route through which Rolldown is recommended. Oxc is a free, open-source option for readers considering the project behind Rolldown’s built-in transforms. webpack offers free, self-managed software under the MIT license. Google Closure Compiler is another free option.

Verdict

Choose Rolldown if you want a free Rust-based JavaScript bundler with substantial Rollup plugin compatibility and built-in transforms, especially as part of Vite. The main reason to hold back is the experimental surface—most notably module types and the direct build() API—along with potential Windows build slowdowns; library authors should consider tsdown instead.

Rolldown plans and pricing

All plans
Free & open source Free Free and open source No paid plans stated rolldown.rs · 3 Oct 2026

Compared on JavaScript build tools

Free plan
Yesrolldown.rs
TypeScript support
Yesrolldown.rs
Code splitting
Yesrolldown.rs
Tree shaking
Yesrolldown.rs
Source maps
Yesrolldown.rs
Plugin API
Yesrolldown.rs

Facts

Purpose
Rolldown is a Rust-based bundler for JavaScript.rolldown.rs · 2 Oct 2026
Vite
Rolldown is designed as the unified bundler powering Vite 8+.rolldown.rs · 2 Oct 2026
Open source
The maker describes Rolldown as free and open source.rolldown.rs · 2 Oct 2026
Compatibility
Rolldown provides a Rollup-compatible API and can reuse most existing Rollup plugins.rolldown.rs · 2 Oct 2026
Built-in features
Built-in capabilities include TypeScript and JSX transforms, module resolution, ESM/CJS interop, define, inject, and minification.rolldown.rs · 2 Oct 2026
Experimental feature
Module types are documented as experimental.rolldown.rs · 2 Oct 2026
Install options
The guide provides install commands for npm, pnpm, yarn, bun, and vp.rolldown.rs · 2 Oct 2026
Supported environments
The guide lists prebuilt binaries for Linux, Windows, Apple platforms, Android, FreeBSD, OpenHarmony, and Wasm/Wasi variants.rolldown.rs · 2 Oct 2026
Browser demo
The homepage links to an online Rolldown REPL.rolldown.rs · 2 Oct 2026
Performance limitation
The troubleshooting guide says Windows file-system access can slow builds, especially when transforms run without plugins.rolldown.rs · 2 Oct 2026
Support and community
The site links to GitHub, Discord, and contribution resources.rolldown.rs · 2 Oct 2026
Intended users
The maker recommends using Rolldown through Vite for most applications and points library authors to tsdown.rolldown.rs · 2 Oct 2026
Company relationship
VoidZero Inc. holds the copyrights, funds development, and controls the direction of Rolldown.voidzero.dev · 2 Oct 2026
Built-in transforms
Built-in transforms include TypeScript, JSX, and syntax lowering, powered by Oxc.rolldown.rs · 3 Oct 2026
Module formats
Rolldown supports mixed ESM and CommonJS module graphs without requiring @rollup/plugin-commonjs.rolldown.rs · 3 Oct 2026
Rollup plugins
The plugin API is described as identical to Rollup's, allowing most existing Rollup plugins to be reused.rolldown.rs · 3 Oct 2026
Plugin ecosystem
Community plugins published to npm are listed in the Vite Plugin Registry.rolldown.rs · 3 Oct 2026
Recommended use
For most applications, the guide recommends using Rolldown through Vite; it points library bundlers to tsdown.rolldown.rs · 3 Oct 2026
Platform support
Prebuilt binaries are listed for Linux, Windows, and Apple macOS architectures, with additional experimental and other targets documented.rolldown.rs · 3 Oct 2026
Wasm fallback
For platforms without a distributed prebuilt binary, users can use the Wasm build or build Rolldown from source.rolldown.rs · 3 Oct 2026
API
Rolldown provides JavaScript APIs for bundling, watching, and building; the build() API is experimental and may change in patch releases.rolldown.rs · 3 Oct 2026
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.rolldown.rs · 3 Oct 2026
License
Rolldown is free and open source; VoidZero states that it remains open source and MIT-licensed.voidzero.dev · 3 Oct 2026

Best Rolldown alternatives

See all 20

Where it ranks on Everything Xiaomi

Is Rolldown yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources