Swift data management libraries
Persistence, JSON and database libraries for Swift, ranked by GitHub stars
Updated · GitHub stars (stars)
Why these 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
SwiftyJSON
A lib for JSON with error handling.
22,915 stars 3,413 forkslast push 2026-08-18SwiftMIT
Also in: #1 iOS parsing libraries
-
2
Realm
Realm is a mobile database: a replacement for Core Data & SQLite.
16,604 stars 2,231 forkslast push 2026-09-27Objective-CApache-2.0
-
3
SQLite.swift
Framework wrapping SQLite3. Small. Simple. Safe.
10,187 stars 1,611 forkslast push 2026-11-13SwiftMIT
Also in: #4 iOS database libraries
-
4
ObjectMapper
JSON object mapper.
9,120 stars 1,023 forkslast push 2024-05-02SwiftMIT
Also in: #3 iOS parsing libraries
-
5
GRDB.swift
A versatile SQLite toolkit.
8,755 stars 1,119 forkslast push 2026-11-05SwiftMIT
Also in: #5 iOS database libraries
-
6
SwiftyUserDefaults
Cleaner, nicer syntax for NSUserDefaults.
4,879 stars 361 forkslast push 2024-03-25SwiftMIT
Also in: #6 iOS database libraries
-
7
HandyJSON
A handy JSON-object serialization/deserialization library.
4,252 stars 676 forkslast push 2024-03-08SwiftNOASSERTION
Also in: #7 iOS parsing libraries
-
8
CoreStore
simple and elegant way to handle Core Data.
4,047 stars 257 forkslast push 2026-10-02SwiftMIT
-
9
-
10
Disk
Delightful framework for iOS to easily persist structs, images, and data.
3,110 stars 171 forkslast push 2024-08-08SwiftMIT
-
11
Zip Foundation
A library to create, read and modify ZIP archive files.
2,762 stars 421 forkslast push 2026-11-21SwiftMIT
-
12
AlamofireObjectMapper
An Alamofire extension which converts JSON response data into objects using ObjectMapper.
2,640 stars 468 forkslast push 2023-11-10SwiftMIT
Also in: #9 iOS parsing libraries
-
13
-
14
Defaults
Strongly-typed UserDefaults with support for Codable and key observation.
2,509 stars 164 forkslast push 2026-06-23SwiftMIT
Also in: #8 iOS database libraries
-
15
SugarRecord
Helps with Core Data and Realm.
2,097 stars 218 forkslast push 2020-09-10SwiftMIT
Also in: #9 iOS database libraries
-
16
SWXMLHash
Simple XML parsing.
1,467 stars 209 forkslast push 2026-09-29SwiftMIT
Also in: #11 iOS parsing libraries
-
17
QueryKit
An easy way to play with Core Data filtering.
1,452 stars 87 forkslast push 2021-06-10SwiftBSD-2-Clause
-
18
DefaultsKit
Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS.
1,441 stars 91 forkslast push 2024-11-18SwiftMIT
Also in: #12 iOS database libraries
-
19
fluent
penguin: - Simple ActiveRecord implementation.
1,420 stars 177 forkslast push 2026-08-25SwiftMIT
Also in: #13 iOS database libraries
-
20
References
- matteocrippa/awesome-swift: Data Management, GitHub community list (list text CC0/MIT per repository; star counts from the GitHub API). Checked 2026-11-26 00:18 UTC.
- matteocrippa/awesome-swift (Data Management), GitHub community list, 76 tools with a public repository.