Side by side
Realm vs WatermelonDB
Both stand on mobile databases. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan AndroidiPhoneLinux+3
Realm offers local object persistence and SDKs across several languages and platforms. Its announced deprecation of the SDKs and Device Sync is important for developers assessing ongoing use.
Visit Realm Free plan AndroidAPIiPhone+2
Choose WatermelonDB if you are building a React or React Native application that needs local, offline-first data and you can provide the backend. Its free MIT license and reactive data model are useful for that setup; look elsewhere if you need a supplied synchronization backend or stable Windows support.
Visit WatermelonDBThe facts
| Realm | WatermelonDB | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Android, iPhone, Linux, Mac, Self-hosted, Windows | Android, API, iPhone, Web, Windows |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 1 |
| Maker | Not published | Not published |
| Website | realm.github.io | watermelondb.dev |
| On mobile databases | #16 of 26 | #20 of 26 |
Realm: what it does well
- Free and open source under Apache License 2.0
- Objects can be queried without an ORM
- Supports relationships, generics, and vectorization
- Realm Swift supports encryption at rest and in flight
- Realm Studio edits local and synced Realms
What to know first
- MongoDB announced SDK and Device Sync deprecation in September 2024
- Documentation points to forums, Stack Overflow, and GitHub issues for support
WatermelonDB: what it does well
- Free and MIT licensed
- Offline-first storage with synchronization primitives
- Lazy record loading and SQLite queries on a separate native thread
- Record changes update dependent UI components automatically
- Optional RxJS API and JavaScript API for other UI frameworks
What to know first
- Developers must provide their own backend for synchronization
- React Native Windows support is experimental and requires JSI
- Windows support does not implement Turbo Sync
- Documented sync edge cases include failed pushes and repeated pulls
Alternatives to Realm Alternatives to WatermelonDB The whole list
