EVERYTHING XIAOMI
Get listed

WCDB

WCDB is an open-source database framework based on SQLite and SQLCipher, used in the WeChat application.

Place
#12 of 26
Score
6.7
WCDB's website

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.

All about pricing
PlanPriceWhat it gives you
WCDBFreeOpen-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

All alternatives
  1. 1

    Hive

    Free planOpen sourceAndroidiOSWebAPI
    8.6From $5 a month
  2. 2Firestore logo

    Firestore

    Free planAndroidiOSWebAPI
    8.1$0.03 usage-based
  3. 3

    SQLDelight

    Free planOpen sourceAndroidiOSWebAPI
    7.9Free plan
  4. 4

    PouchDB

    Free planOpen sourceAndroidiOSWebAPI
    7.8Free plan
  5. 5Sparksee logo

    Sparksee

    Free planAndroidiOSAPILinux
    7.6Free plan
  6. 6RxDB logo

    RxDB

    Free planAndroidiOSWebAPI
    7.5From $99 a month