Use case

Databases for Local-first sync

Client-side database as the source of truth with real-time multi-device sync. The leading options are Apache CouchDB, LMDB and PGlite.

37 active · ordered by fit for this category, then WhichDB Score

Apache CouchDBDocumentopen source

HTTP/JSON document database built around multi-master replication and offline-first sync.

43.6
LMDBKey-Valueopen source

Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.

39.7
PGliteRelationalopen source

Real PostgreSQL compiled to WebAssembly: an embeddable Postgres for browsers, Node, Bun and Deno.

35.1
LevelDBKey-Valueopen source

Google's original small, fast LSM key-value library, now in limited-maintenance mode.

33.4
IndexedDBKey-Valueopen source

The browser's built-in transactional object store, and the storage layer under most web local-first libraries.

31.3
ElectricSQLRelationalopen source

Read-path sync engine that streams partial replicas of Postgres to clients over plain HTTP.

30.4
libSQLRelationalopen source

Turso's open-contribution SQLite fork with native vectors, a network server and embedded replicas.

29.1
GUNGraphopen source

Decentralised, offline-first graph database that syncs peer-to-peer in JavaScript.

26.6
Dexie.jsDocumentopen source

The most popular IndexedDB wrapper, with live queries and an optional Dexie Cloud sync service.

25.8
Turso Database (Limbo)Relationalopen source

Ground-up Rust rewrite of SQLite with concurrent writes, async I/O, CDC and vector search.

24.1
PowerSyncRelational

Sync engine that keeps on-device SQLite in sync with Postgres, MongoDB, MySQL or SQL Server.

23.3
PouchDBDocumentopen source

JavaScript database for browsers and Node that speaks the CouchDB replication protocol.

23.2
Zero (Rocicorp)Relationalopen source

Query-driven sync engine: clients run ZQL locally against a Postgres-backed cache for instant UIs.

20.8
AlaSQLRelationalopen source

Pure-JavaScript in-memory SQL engine for browsers and Node.js that queries arrays, JSON, CSV and Excel files.

20.2
RxDBDocumentopen source

Reactive local-first NoSQL database for JavaScript with pluggable storage and replication.

20.2
TriplitDocumentopen source

Full-stack syncing database for TypeScript apps; development has stalled since 2025.

19.2
lowdbDocumentopen source

Tiny type-safe local JSON database for Node, Electron and the browser using plain JavaScript.

19.1
TinyBaseKey-Valueopen source

Tiny reactive in-memory store for tables and values, with persisters and CRDT sync.

18.4
WatermelonDBRelationalopen source

Lazy-loading reactive database for React Native and React apps, built on SQLite.

17.8
LiveStoreRelationalopen source

Event-sourced local-first data layer: reactive SQLite on the client, rebuilt from a synced event log.

15.5
DataScriptGraphopen source

Immutable in-memory database with Datomic-style Datalog queries for Clojure, ClojureScript and JavaScript.

14.4
JazzDocumentopen source

Local-first database with built-in sync, permissions and edit history, being rebuilt as a relational Jazz 2.

14.2
EvoluRelationalopen source

Local-first TypeScript platform: SQLite on each device, end-to-end encrypted sync through relays.

13.9
redbKey-Valueopen source

Pure-Rust embedded key-value store: copy-on-write B-trees, ACID, and a stable file format.

13.8
SQLite CloudRelationalmanaged

Managed, distributed SQLite with pub/sub, edge functions and CRDT sync to on-device databases.

13.8
sledKey-Valueopen source

Ambitious lock-free embedded Rust database whose 1.0 rewrite has stalled in alpha.

13.3
OrbitDBDocumentopen source

Serverless peer-to-peer database on IPFS and libp2p using Merkle-CRDT logs.

9.7
ReplicacheKey-Valueopen source

Client-side sync framework for instant web UIs; now free, open source and in maintenance mode.

5.6
DittoDocument

Edge-native document database that syncs peer-to-peer over Bluetooth, P2P Wi-Fi and LAN without internet.

4.3
CoreObjectObjectopen source

Objective-C object database with Git-like branching, tree-structured undo and semantic merging built in.

1.2
SQLiteRelationalopen source

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

75.5
sqlite-vecVectoropen source

Dependency-free SQLite extension for vector search that runs anywhere SQLite does, including WASM.

31.1
SurrealDBDocument

Rust multi-model database (documents, graph, vectors, live queries) that runs embedded, in WASM or clustered.

28.8
CozoDBGraphopen source

Embedded Datalog database blending relational, graph and vector queries; dormant since 2024.

13.9
TursoRelationalmanaged

Managed SQLite-compatible cloud for database-per-tenant apps, with embedded replicas and offline sync.

10.6
Couchbase LiteDocument

Embedded JSON document database with SQL++ queries, vector search and sync to Couchbase.

7.9
Cloudflare Durable ObjectsKey-Valuemanaged

Single-threaded stateful actors at the edge, each with its own strongly consistent SQLite store.

7.2

license legend · Open source (permissive) · Open source (copyleft) · Source-available · Proprietary