WCDB
github.com
- Free plan
- Windows
- macOS
- Linux
- iPhone and iPad
- Android
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, with platforms including Android, iOS, Linux, macOS, and Windows. Its ORM supports creating tables, indexes, and constraints, plus CRUD operations through language objects. Developers can express queries through WINQ using native language syntax instead of concatenating SQL strings. Connection pooling supports concurrent reads and read-write access. The project describes mobile-oriented SQLite optimizations, including for batch writes, and database encryption through SQLCipher. It also describes built-in SQL injection protection. Other capabilities include a repair kit for database corruption, full-text search with language tokenizers, configured migration between databases, and Zstd compression for selected table fields. The repository links installation and build guidance, along with tutorials for its supported languages. WCDB is free, and its listed plan is free.
Who it suits
WCDB suits developers building database-backed applications across its listed platforms who want interfaces in one of its supported languages. It is especially relevant to mobile database work involving encryption, concurrent access, or ORM operations.
Good to know, and what to watch
- Provides interfaces for five programming languages.
- ORM supports schema creation and CRUD operations.
- Connection pooling supports concurrent access.
- Includes SQLCipher encryption and injection protection.
- Offers corruption recovery, full-text search, and migration.
- Its stated optimizations target mobile use.
- Zstd compression applies to selected table fields.
Plans
Every plan and priceWCDB
Open source
The verdict
WCDB combines SQLite-based database functions with language interfaces, query tools, encryption, and recovery features. Developers should review the linked installation guides and tutorials for their chosen language and platform.
What the maker publishes
- Concurrency
- Connection pooling supports concurrent read-read and read-write access. source
- Developer
- The repository identifies the developer as Shenzhen Tencent Computer Systems Company Limited. source
- Encryption
- WCDB supports database encryption through SQLCipher. source
- Injection protection
- The project describes built-in protection from SQL injection. source
- Installation and learning
- The repository links build and installation guides and tutorials for C++, Java/Kotlin, Swift, and Objective-C. source
- Languages
- It provides interfaces for C++, Java, Kotlin, Swift, and Objective-C. source
- License
- The repository identifies WCDB as open source and links its license file. source
- Migration and compression
- It supports configured data migration between databases and Zstd compression for selected table fields. source
- ORM
- Its ORM supports table, index, and constraint creation and CRUD operations through language objects. source
- Performance
- The project says it optimizes SQLite for mobile use and common expensive operations such as batch writes. source
- Purpose
- WCDB is a cross-platform mobile database framework based on SQLite and SQLCipher and used in the WeChat application. source
- Query interface
- WINQ lets developers express database queries in native language syntax instead of concatenating SQL strings. source
- Recovery
- It includes a repair kit for database corruption recovery. source
- Search
- WCDB provides full-text search interfaces and tokenizers for multiple languages. source
Checked against the maker's pages on 5 Oct 2026.