RxDB vs WatermelonDB
RxDB
rxdb.infoWatermelonDB
watermelondb.devSide by side
| Figure | RxDB | WatermelonDB |
|---|---|---|
| Price from | $99/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | — |
| iOS | Yes | Yes |
| Android | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 4 | 1 |
| Spec score · Mobile Databases | 8.1 (#9) | 7.6 (#21) |
| Offline-first | RxDB stores data locally on the client, supports offline operation, and can run entirely without a backend. | WatermelonDB is designed for offline first use and synchronization with a remote database. |
| Product | RxDB is a NoSQL database for JavaScript that runs directly in an app. | WatermelonDB is a reactive database framework for React and React Native applications. |
Plans
In their own words
RxDB
RxDB is a NoSQL database for JavaScript that runs inside an application and keeps data locally on the client. It supports offline operation, including applications that run entirely without a backend. When synchronization is needed, its Sync Engine connects to backends including RxServer, GraphQL, Firebase, Supabase, MongoDB, NATS, HTTP, CouchDB, WebRTC, Appwrite, Google Drive, and Microsoft OneDrive. Observable queries update as stored data changes. RxDB runs in browsers, mobile apps, desktop applications, and servers, with storage options including LocalStorage, IndexedDB, OPFS, SQLite, Node.js Filesystem, Expo Filesystem, MongoDB, and FoundationDB, among others. Collections use JSON Schema with validation and migration support. An encryption plugin protects locally stored documents with a password in browsers, React Native, and Node.js. The free tier is under Apache 2.0 and allows up to 13 open collections in parallel. Free users get community support through GitHub and Discord; Enterprise includes an SLA with a 24-hour first response. Pro costs $99 a month billed annually, and Pro Plus costs $239 a month billed annually.
WatermelonDB
WatermelonDB is a free, MIT-licensed reactive database framework for React and React Native applications. It is built for offline-first apps that synchronize local data with a remote database. Records load lazily, and queries run directly on SQLite on a separate native thread. The project describes a target scale from hundreds to tens of thousands of records. Record changes automatically re-render dependent UI components. Sync primitives and a built-in adapter work with backend endpoints that follow WatermelonDB’s protocol, but developers must provide that backend. Documented storage uses SQLite for React Native and Node.js, and LokiJS for web. Optional RxJS and JavaScript APIs support other UI frameworks. React Native Windows support is experimental, requires JSI and lacks Turbo Sync. The framework supports bidirectional synchronization and automatic conflict resolution, with documented sync edge cases.