WCDB
WCDB is an open-source database framework based on SQLite and SQLCipher, used in the WeChat application.
What WCDB is
WCDB is an open-source database framework based on SQLite and SQLCipher, used in the WeChat application. It provides interfaces for C++, Java, Kotlin, Swift, and Objective-C, and is available for Android, iOS, Linux, macOS, and Windows. Its ORM handles table, index, and constraint creation along with CRUD operations through language objects. WINQ offers a way to express queries in native language syntax rather than assembling SQL strings. Connection pooling supports concurrent read-read and read-write access. WCDB also supports SQLCipher encryption, describes built-in SQL injection protection, and includes a repair kit for database corruption recovery. Other capabilities include full-text search with tokenizers for multiple languages, configured migration between databases, and Zstd compression for selected table fields. The project describes optimizations for mobile use, including batch writes, and links build guides and programming-language tutorials. WCDB is free, with a listed price of no cost.
Good
- Interfaces for five programming languages.
- Available on Android, iOS, Linux, macOS, and Windows.
- SQLCipher encryption and SQL injection protection.
- Includes full-text search and corruption recovery.
- Free and open source.
Watch out
- No free trial is listed.
- Requires developer implementation and installation.
Who it suits
WCDB suits developers building database-backed applications who need interfaces across its supported languages and platforms. It may also fit projects that need encryption, search, migration, or corruption recovery features.
Verdict
WCDB brings SQLite-based storage together with query, ORM, encryption, search, and recovery capabilities. Its broad language and platform support makes it relevant to developers seeking a cross-platform database framework.
Plans and prices
From WCDB's own pricing page, checked 5 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| WCDB | Free | Open-source mobile database framework |
The facts
Each one read from WCDB's own pages, with the date it was checked.
What it does
- Concurrency
- Connection pooling supports concurrent read-read and read-write access.checked 5 Oct 2026
- Developer
- The repository identifies the developer as Shenzhen Tencent Computer Systems Company Limited.checked 5 Oct 2026
- Encryption
- WCDB supports database encryption through SQLCipher.checked 5 Oct 2026
- Injection protection
- The project describes built-in protection from SQL injection.checked 5 Oct 2026
- Installation and learning
- The repository links build and installation guides and tutorials for C++, Java/Kotlin, Swift, and Objective-C.checked 5 Oct 2026
- Languages
- It provides interfaces for C++, Java, Kotlin, Swift, and Objective-C.checked 5 Oct 2026
- License
- The repository identifies WCDB as open source and links its license file.checked 5 Oct 2026
- Migration and compression
- It supports configured data migration between databases and Zstd compression for selected table fields.checked 5 Oct 2026
- ORM
- Its ORM supports table, index, and constraint creation and CRUD operations through language objects.checked 5 Oct 2026
- Performance
- The project says it optimizes SQLite for mobile use and common expensive operations such as batch writes.checked 5 Oct 2026
- Purpose
- WCDB is a cross-platform mobile database framework based on SQLite and SQLCipher and used in the WeChat application.checked 5 Oct 2026
- Query interface
- WINQ lets developers express database queries in native language syntax instead of concatenating SQL strings.checked 5 Oct 2026
- Recovery
- It includes a repair kit for database corruption recovery.checked 5 Oct 2026
- Search
- WCDB provides full-text search interfaces and tokenizers for multiple languages.checked 5 Oct 2026
Alternatives to WCDB
- 1
Hive
Free planOpen sourceAndroidiOSWebAPI8.6From $5 a month - 2

Firestore
Free planAndroidiOSWebAPI8.1$0.03 usage-based - 3
SQLDelight
Free planOpen sourceAndroidiOSWebAPI7.9Free plan - 4
PouchDB
Free planOpen sourceAndroidiOSWebAPI7.8Free plan - 5

Sparksee
Free planAndroidiOSAPILinux7.6Free plan - 6

RxDB
Free planAndroidiOSWebAPI7.5From $99 a month
