Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

GRDB.swift

github.com

  • Free plan
  • macOS
  • Linux
  • iPhone and iPad
7.5 Club score Visit github.com

What GRDB.swift is

GRDB.swift is a free Swift toolkit for saving application data in SQLite databases. It supports SQL execution, query generation, and fetching or persisting Swift record types. Migration tools help applications evolve schemas as versions change. Database pools support concurrent access and use SQLite WAL mode unless opened read-only. Database observations can feed Swift concurrency, Combine, or RxSwift. GRDB can encrypt databases with SQLCipher, with installation guidance for Swift Package Manager and CocoaPods. Projects can install it through Swift Package Manager, CocoaPods, or manual integration. Listed requirements include Swift 6.1+, Xcode 16.3+, SQLite 3.20.0+, iOS 13+, macOS 10.15+, tvOS 13+, and watchOS 7+. Linux support comes from contributors and is not automatically tested or officially maintained. CocoaPods cannot publish new GRDB versions and lists 6.24.1 as its latest available version; Carthage is unsupported. The MIT license permits broad reuse when its notice is retained.

Who it suits

GRDB.swift suits Swift developers building applications that store data locally in SQLite, including projects needing migrations, observation, concurrency, or SQLCipher encryption.

Good to know, and what to watch

  • Free open-source toolkit under MIT license
  • Supports SQL and Swift record persistence
  • Migration tools evolve database schemas
  • Observation works with three Swift systems
  • SQLCipher encryption is supported
  • Linux support is not officially maintained
  • CocoaPods versions cannot currently be published
  • Carthage is unsupported
  • Requires Swift 6.1+ and Xcode 16.3+

GRDB.swift

Free

Free plan

The verdict

GRDB.swift provides database access, schema migration, observation, and optional encryption for Swift applications. Its Apple-platform requirements are explicit, while Linux and some package managers have stated limitations.

What the maker publishes

Carthage limitation
Carthage is listed as unsupported. source
CocoaPods limitation
The README says CocoaPods cannot currently publish new GRDB versions and lists 6.24.1 as the latest version available there. source
Companion libraries
The maker lists GRDBQuery for database access and observation from SwiftUI views and GRDBSnapshotTesting for database testing. source
Concurrency
Database pools support concurrent access and use SQLite WAL mode unless opened read-only. source
Encryption
GRDB can encrypt databases using SQLCipher, with installation instructions for Swift Package Manager and CocoaPods. source
Installation
The README documents installation through Swift Package Manager, CocoaPods, or manual project integration. source
License
The repository license grants free use, copying, modification, distribution, sublicensing, and sale subject to including its copyright and permission notice. source
Linux support
Linux support is provided by contributors and is not automatically tested or officially maintained. source
Maintainer
The GitHub profile identifies Gwendal Roué as an iOS app developer and lists Paris, France. source
Migrations
Its migration tools let applications evolve database schemas as new versions ship. source
Observation integrations
Database observations can be consumed with Swift concurrency, Combine, or RxSwift. source
Purpose
GRDB.swift is a toolkit for saving application data in SQLite databases. source
Requirements
The stated requirements are iOS 13.0+, macOS 10.15+, tvOS 13.0+, watchOS 7.0+, SQLite 3.20.0+, Swift 6.1+, and Xcode 16.3+. source
SQL and records
It provides SQL execution and query generation, plus fetching and persistence methods for Swift record types. source
Support
The project directs bug reports to GitHub issues and questions or advice requests to GitHub Discussions or the GRDB forums. source

Checked against the maker's pages on 8 Oct 2026.