Skip to content
SPECIFICTION
Get listed

GRDB.swift vs Realm

GRDB.swift

github.com

Realm

realm.github.io

Side by side

FigureGRDB.swiftRealm
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOSYesYes
LinuxYesYes
iOSYesYes
Android—Yes
Self-hosted—Yes
Plans published11
Spec score · Mobile Databases7.9 (#10)7.7 (#18)
LicenseThe repository license grants free use, copying, modification, distribution, sublicensing, and sale subject to including its copyright and permission notice.MongoDB said it would offer the renamed Atlas Device SDKs as a free open-source project under Apache License 2.0.
SupportThe project directs bug reports to GitHub issues and questions or advice requests to GitHub Discussions or the GRDB forums.The Realm documentation directs users to its forums, Stack Overflow, and GitHub issues for help.

Plans

GRDB.swift

  • GRDB.swiftFree

GRDB.swift pricing →

Realm

  • Realm Database (open source)Free

Realm pricing →

In their own words

GRDB.swift

GRDB.swift has no write-up on Specifiction yet; its figures are above.

Visit github.com

Realm

Realm is an object database for local data persistence in mobile and edge applications. It runs directly on phones, tablets, and wearables, and presents data as objects that developers can query in code without an ORM. The database supports relationships, generics, and vectorization. Its documentation describes apps continuing to work 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, as well as 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. Former Device Sync connected data across users, devices, and a backend in real time, but MongoDB announced deprecation of Device Sync and Realm SDKs in September 2024. Realm is free and open source under Apache License 2.0.

Visit realm.github.io