Realm

What Realm is
Realm is a free, open-source object database for local data persistence in mobile and edge applications. It runs directly on phones, tablets, and wearables, and lets developers query stored objects in code without an ORM. The database supports relationships, generics, and vectorization. Realm documentation describes apps continuing to operate through weak signal, offline periods, or outages. Listed SDKs include Java, Swift, Objective-C, JavaScript, and .NET. The JavaScript implementation supports React Native on iOS and Android, and Node.js and Electron on Windows, macOS, and Linux. Realm Swift supports encryption in transit and at rest. Realm Studio can open and edit local and synced Realms and administer Realm Object Server instances. MongoDB acquired Realm in 2019 and renamed it MongoDB Atlas Device SDKs in 2023. MongoDB announced deprecation of Atlas Device Sync and Realm SDKs in September 2024; Device Sync had connected data across users, devices, and a backend in real time. Realm Database is free under Apache License 2.0.
Who it suits
Realm suits developers building mobile or edge applications that need local data persistence and object-based queries. Its SDKs and platform support cover several programming languages and environments.
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
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Realm Database (open source) | Free and open source under Apache License 2.0 | Free |
As realm.github.io lists them, read 4 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the Realm project website.
- Choose an SDK from the listed Java, Swift, Objective-C, JavaScript, and .NET options.
- Use the JavaScript implementation with React Native on iOS or Android, or with Node.js or Electron on Windows, macOS, or Linux.
- Use Realm Studio to open or edit local Realms.
- Consult the forums, Stack Overflow, or GitHub issues for help.
Realm is an object database for local persistence in mobile, wearable, and edge applications. It suits developers who want native-feeling object access across several SDKs and need data to remain useful through unreliable connectivity. Its open-source price is attractive, but the announced deprecation of the SDKs and Device Sync makes long-term adoption a careful decision.
Overview
Realm stores application data locally and exposes that data as objects queried directly in code, avoiding an object-relational mapping layer. That model can reduce translation between application code and persistence logic, particularly for mobile teams working with structured objects and relationships. Support for relationships, generics, and vectorization gives the database a broader data model than a minimal key-value store.
The local-first design is most relevant when an app must continue operating with a weak signal, no connection, or an outage. Realm's documentation describes those scenarios as supported use cases, so it is a sensible fit for field apps, travel-oriented software, and edge workloads where connectivity cannot be assumed. The trade-off is strategic rather than merely technical: MongoDB acquired Realm in 2019, renamed the technology as MongoDB Atlas Device SDKs in 2023, and the Realm JavaScript repository records a September 2024 announcement that Atlas Device Sync and Realm SDKs are being deprecated.
Key features
Object-based local database
Realm presents records as objects that can be queried in application code without an ORM. Developers who want relationships and typed structures close to their domain model get a direct programming interface, while teams committed to SQL workflows may find the abstraction less familiar.
Offline operation and synchronization
Local persistence is designed for weak-signal and offline operation. The former Device Sync service connected data among users, devices, and a backend in real time, a useful architecture for coordinated multi-device applications. Because that service and the SDKs are being deprecated, new projects should treat sync-dependent plans as migration-sensitive rather than as a stable long-term foundation.
Security and tooling
Realm Swift supports encryption in flight and at rest, giving Swift applications stated protection for stored and transmitted data. Realm Studio can open and edit local or synced Realms and administer Realm Object Server instances, which is useful for inspecting data and managing server deployments. Help is directed through the forums, Stack Overflow, and GitHub issues, so support is community- and issue-tracker-led.
Pricing
Realm Database (open source) costs free. It is free and open source under the Apache License 2.0, with no paid tier stated. That makes it straightforward for individuals, startups, and teams that need a local database without a license bill. The free status does not remove the product-lifecycle concern: the announced SDK and Device Sync deprecation can create future migration work even when current software costs nothing.
Platforms
Realm is available on Android, iOS, Linux, macOS, self-hosted deployments, and Windows. Its mobile offering names iOS, Android, and Xamarin, with SDKs for Java, Objective-C, JavaScript, Swift, and Xamarin. The JavaScript implementation covers React Native on iOS and Android, plus Node.js and Electron on Windows, macOS, and Linux. This breadth suits organizations sharing a persistence approach across mobile and desktop or server-adjacent JavaScript projects, although each team should account for the deprecation announcement when choosing an SDK.
Who it's for
Realm is best for developers building offline-capable mobile or edge applications that benefit from object queries, relationships, and a local database spanning several language ecosystems. It is also a reasonable choice for an existing Realm installation whose maintainers understand the announced transition and can plan for it. New products that require dependable, ongoing vendor-backed SDK and real-time sync investment should look elsewhere, because the deprecation changes the risk profile despite the capable local database.
Pros and cons
Pros
- Free open-source license: the Apache 2.0 database has no stated usage charge.
- Direct object queries: applications can work with persisted objects without an ORM layer.
- Offline-oriented design: local data remains usable during weak signal, offline periods, or outages.
- Broad SDK and platform coverage: Java, Swift, Objective-C, JavaScript, and .NET-oriented ecosystems are represented across mobile, desktop, Linux, and self-hosted environments.
- Operational tools and stated encryption: Realm Studio supports local and synced data administration, while Realm Swift supports encryption in transit and at rest.
Cons
- SDK and Device Sync deprecation: new implementations face a material maintenance and migration risk.
- Sync uncertainty: real-time connectivity across users, devices, and a backend was a former capability, not a dependable basis for future projects.
- Community-led support: assistance is routed through forums, Stack Overflow, and GitHub issues rather than a stated dedicated support plan.
Alternatives
For a wider comparison, see Mobile Databases.
- Espresso is a free Android UI-testing option for a single target app, rather than a general Realm-style object database.
- Hive offers a free-forever plan with 200MB storage, 1,000 AI credits per month, and up to 10 workspace members for teams wanting those workspace limits.
- RxDB is a freemium alternative whose free plan includes core functionality, replication and realtime sync, default storages, and up to 13 open collections.
- Ditto suits teams seeking cloud connectivity limits, with a free tier covering 10 cloud device connections, 2GB storage, and 5GB transfer, but no SLA.
- ObjectBox provides a free core database plan and a separately priced Sync offering for teams separating local storage from synchronization.
- Sparksee has a free academic licence for qualifying users who can provide university or school identification.
- SQLDelight is a free open-source Kotlin SQL code-generation library for teams that prefer SQL-shaped development.
- WCDB is a free open-source mobile database framework for teams wanting a conventional mobile-focused option.
Verdict
Choose Realm when free Apache-licensed local object persistence, offline behavior, and multi-language SDK coverage are the priority, especially in an existing application. Look elsewhere for a new system whose roadmap depends on maintained SDKs or real-time Device Sync: the deprecation announcement is the decisive reason not to treat Realm as a low-risk long-term default.
Verdict
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.
Questions
Is Realm free?
Yes. Realm Database is listed as free and is open source under Apache License 2.0.
Which platforms are supported?
The listed platforms include Android, iOS, Linux, macOS, self-hosted, and Windows. The JavaScript implementation supports React Native on iOS and Android, plus Node.js and Electron on Windows, macOS, and Linux.
Which SDKs are available?
The official documentation lists Java, Swift, Objective-C, JavaScript, and .NET SDKs.
Is Realm open source?
Yes. The project is free and open source under Apache License 2.0.
Does Realm support data synchronization?
Its former Device Sync connected data across users, devices, and a backend in real time. MongoDB announced deprecation of Atlas Device Sync and Realm SDKs in September 2024.
Who makes Realm?
MongoDB acquired Realm and its technology in 2019, then renamed it MongoDB Atlas Device SDKs in 2023.
Facts from Realm's own pages
- Database features
- The database supports relationships, generics, and vectorization. · github.com, 4 Oct 2026
- Data model
- Realm exposes data as objects that can be queried in code without an ORM. · github.com, 4 Oct 2026
- Deprecation
- The Realm JavaScript repository says MongoDB announced deprecation of Atlas Device Sync and Realm SDKs in September 2024. · github.com, 4 Oct 2026
- Developer tool
- Realm Studio can open and edit local and synced Realms and administer Realm Object Server instances. · realm.netlify.app, 4 Oct 2026
- Integrations
- Realm's former Device Sync connected data across users, devices, and a backend in real time. · github.com, 4 Oct 2026
- License
- MongoDB said it would offer the renamed Atlas Device SDKs as a free open-source project under Apache License 2.0. · mongodb.com, 4 Oct 2026
- Maker
- MongoDB acquired Realm and its technology in 2019 and renamed it MongoDB Atlas Device SDKs in 2023. · mongodb.com, 4 Oct 2026
- Offline use
- The Realm Platform documentation says apps can work through weak signal, offline, or outage scenarios. · realm.netlify.app, 4 Oct 2026
- Product
- Realm is an object database designed to run directly on phones, tablets, and wearables. · github.com, 4 Oct 2026
- SDKs
- The official documentation lists Java, Swift, Objective-C, JavaScript, and .NET SDKs. · realm.netlify.app, 4 Oct 2026
- Security
- Realm Swift says data can be encrypted in flight and at rest. · github.com, 4 Oct 2026
- Support
- The Realm documentation directs users to its forums, Stack Overflow, and GitHub issues for help. · realm.netlify.app, 4 Oct 2026
- Supported platforms
- The JavaScript implementation supports React Native on iOS and Android, plus Node.js and Electron on Windows, macOS, and Linux. · github.com, 4 Oct 2026
- Use case
- Realm provides local data persistence for mobile and edge applications. · github.com, 4 Oct 2026
Where Realm stands on Freedom251
- Mobile Databases#15 of 26
