FREEDOM251

Freedom251 › Mobile Databases

WCDB

Free plan AndroidiPhoneLinuxMacWindows

Visit WCDB Alternatives Pricing

WCDB's own site

What WCDB is

WCDB is a free, open-source database framework based on SQLite and SQLCipher, used in the WeChat application. It is designed for cross-platform mobile database work and provides interfaces for C++, Java, Kotlin, Swift, and Objective-C. Its ORM supports creating tables, indexes, and constraints, as well as CRUD operations through language objects. Developers can use WINQ to express queries in native language syntax rather than assemble SQL strings. Connection pooling supports concurrent read-read and read-write access. The project describes optimizations for mobile use and costly operations such as batch writes. WCDB supports SQLCipher database encryption and includes built-in SQL injection protection. It also provides a repair kit for database corruption recovery, full-text search interfaces with tokenizers for multiple languages, and configured migration between databases. Zstd compression is available for selected table fields. The repository links build and installation guidance alongside tutorials for the supported languages. Listed platforms include Android, iOS, Linux, macOS, and Windows.

Who it suits

WCDB is for developers building cross-platform database features, particularly for mobile apps. It may suit teams working in C++, Java, Kotlin, Swift, or Objective-C.

What it does well

  • Interfaces are available for five programming languages.
  • ORM supports tables, indexes, constraints, and CRUD operations.
  • Connection pooling supports concurrent reads and writes.
  • Supports SQLCipher encryption and SQL injection protection.
  • Includes corruption recovery and full-text search interfaces.

What to know first

  • The repository links separate build and installation guidance.
  • The framework is focused on database development rather than a standalone end-user app.

Plans

PlanBilled and limitsPrice
WCDBOpen-source mobile database frameworkFree

As github.com lists them, read 5 Oct 2026. The maker's own page has the final word.

Getting started

  1. Open the WCDB repository at https://github.com/Tencent/wcdb.
  2. Choose a supported platform and programming language for your project.
  3. Follow the repository’s build and installation guide.
  4. Use the tutorial for C++, Java/Kotlin, Swift, or Objective-C to get started.

Verdict

WCDB provides database, query, encryption, and recovery capabilities for developers across several languages and platforms. Review the linked installation guides and tutorials for the language and platform you plan to use.

Questions

How much does WCDB cost?

WCDB is listed as free. It is open source.

Is there a free plan or free trial?

WCDB has a free plan. No free trial is offered.

Which platforms does WCDB support?

The listed platforms are Android, iOS, Linux, macOS, and Windows.

Which programming languages does it support?

WCDB provides interfaces for C++, Java, Kotlin, Swift, and Objective-C.

What database features does WCDB provide?

Its listed features include ORM operations, WINQ queries, connection pooling, SQLCipher encryption, SQL injection protection, full-text search, migration, compression, and corruption recovery.

Who develops WCDB?

The repository identifies Shenzhen Tencent Computer Systems Company Limited as the developer.

Facts from WCDB's own pages

Concurrency
Connection pooling supports concurrent read-read and read-write access. · github.com, 5 Oct 2026
Developer
The repository identifies the developer as Shenzhen Tencent Computer Systems Company Limited. · github.com, 5 Oct 2026
Encryption
WCDB supports database encryption through SQLCipher. · github.com, 5 Oct 2026
Injection protection
The project describes built-in protection from SQL injection. · github.com, 5 Oct 2026
Installation and learning
The repository links build and installation guides and tutorials for C++, Java/Kotlin, Swift, and Objective-C. · github.com, 5 Oct 2026
Languages
It provides interfaces for C++, Java, Kotlin, Swift, and Objective-C. · github.com, 5 Oct 2026
License
The repository identifies WCDB as open source and links its license file. · github.com, 5 Oct 2026
Migration and compression
It supports configured data migration between databases and Zstd compression for selected table fields. · github.com, 5 Oct 2026
ORM
Its ORM supports table, index, and constraint creation and CRUD operations through language objects. · github.com, 5 Oct 2026
Performance
The project says it optimizes SQLite for mobile use and common expensive operations such as batch writes. · github.com, 5 Oct 2026
Purpose
WCDB is a cross-platform mobile database framework based on SQLite and SQLCipher and used in the WeChat application. · github.com, 5 Oct 2026
Query interface
WINQ lets developers express database queries in native language syntax instead of concatenating SQL strings. · github.com, 5 Oct 2026
Recovery
It includes a repair kit for database corruption recovery. · github.com, 5 Oct 2026
Search
WCDB provides full-text search interfaces and tokenizers for multiple languages. · github.com, 5 Oct 2026

Where WCDB stands on Freedom251

Look at these too