Swift Database

Open-source Swift projects categorized as Database

Top 23 Swift Database Projects

  1. GRDB.swift

    A toolkit for SQLite databases, with a focus on application development

    Project mention: GRDB.swift for Android | news.ycombinator.com | 2025-08-30
  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. Defaults

    💾 Swifty and modern UserDefaults

  4. IceCream

    Sync Realm Database with CloudKit (by caiyue1993)

  5. UserDefaults

    Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS

  6. fluent

    Vapor ORM (queries, models, and relations) for NoSQL and SQL databases (by vapor)

  7. RxRealm

    RxSwift extension for RealmSwift's types

  8. Boutique

    ✨ A magical persistence library (and so much more) for state-driven iOS and Mac apps ✨

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. Graph

    Graph is a semantic database that is used to create data-driven applications. (by CosmicMind)

  11. MongoKitten

    Native MongoDB driver for Swift, written in Swift

  12. ObjectBox embedded database

    Swift database - fast, simple and lightweight (iOS, macOS)

  13. Unrealm

    Unrealm is an extension on RealmCocoa, which enables Swift native types to be saved in Realm.

  14. Lighter

    Swift APIs for SQLite: Type-safe down to the schema. Very, very, fast. Dependency free. (by Lighter-swift)

  15. PredicateEditor

    A GUI for dynamically creating NSPredicates at runtime to query data in your iOS app.

  16. GRDBQuery

    The SwiftUI companion for GRDB

  17. Nora

    Nora is a Firebase abstraction layer for FirebaseDatabase and FirebaseStorage

  18. RealmIncrementalStore

    Realm-powered Core Data persistent store

  19. SecureDefaults

    Elevate the security of your UserDefaults with this lightweight wrapper that adds a layer of AES-256 encryption

  20. realm-cocoa-converter

    A library that provides the ability to import/export Realm files from a variety of data container formats.

  21. SQift

    Powerful Swift wrapper for SQLite

  22. PersistentStorageSerializable

    Swift library that makes easier to serialize the user's preferences (app's settings) with system User Defaults or Property List file on disk.

  23. PersistenceKit

    Store and retrieve Codable objects to various persistence layers, in a couple lines of code!

  24. RealmGeoQueries

    Realm GeoQueries made easy

  25. MySQL

    A stand-alone Swift wrapper around the MySQL client library, enabling access to MySQL servers.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Swift Database discussion

Log in or Post with

Swift Database related posts

  • GRDB.swift for Android

    1 project | news.ycombinator.com | 30 Aug 2025
  • Bundling database with iOS app

    1 project | /r/iOSProgramming | 24 Oct 2023
  • How can I quickly parse a huge 45MB JSON file using JsonDecoder

    2 projects | /r/swift | 19 Jun 2023
  • How can I use NSUserDefaults?

    1 project | /r/SwiftUI | 17 May 2023
  • When considering how to store data for something like a cooking recipe application, what are the disadvantages of using CoreData, when compared with other database options?

    1 project | /r/swift | 16 May 2023
  • Swift data notation?

    1 project | /r/swift | 28 Mar 2023
  • The most amazing project documentation you saw

    2 projects | /r/swift | 12 Mar 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 Sep 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Database projects in Swift? This list will help you:

# Project Stars
1 GRDB.swift 7,733
2 Defaults 2,326
3 IceCream 1,977
4 UserDefaults 1,446
5 fluent 1,379
6 RxRealm 1,167
7 Boutique 1,092
8 Graph 873
9 MongoKitten 746
10 ObjectBox embedded database 548
11 Unrealm 536
12 Lighter 489
13 PredicateEditor 369
14 GRDBQuery 290
15 Nora 270
16 RealmIncrementalStore 230
17 SecureDefaults 228
18 realm-cocoa-converter 221
19 SQift 172
20 PersistentStorageSerializable 159
21 PersistenceKit 157
22 RealmGeoQueries 143
23 MySQL 127

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

Did you know that Swift is
the 15th most popular programming language
based on number of references?