libSQL extends SQLite with embedded replicas, a network server mode, and language drivers while keeping SQLite file and API compatibility.
Overview
libSQL is an open-contribution fork of SQLite maintained by Turso. It keeps SQLite’s on-disk format and C API while adding a richer libSQL API for newer capabilities.
Notable additions include embedded replicas inside applications, a server mode for remote SQL access similar to client-server databases, and extensions such as broader ALTER TABLE support, randomized ROWIDs, WebAssembly user-defined functions, and virtual-table interfaces.
Official drivers cover Rust, JavaScript, Python, and Go, with experimental C support and community bindings. You can embed it in-process or run the SQL shell and Docker-based deployments described in the project docs.
The team positions libSQL as actively maintained for SQLite users who want contributed features, while noting that their separate Turso database targets concurrent writes and bi-directional sync beyond SQLite’s single-writer model.
Key features
- SQLite-compatible file format and C API
- Embedded replicas in application processes
- Remote access via libSQL server
- Rust, JS, Python, and Go drivers
- WebAssembly user-defined functions
- Extended ALTER TABLE support
- Docker deployment option
- Open contribution governance
Use cases
- Embedded local-first app data stores
- Replicated SQLite close to users
- Remote SQLite over a network server
- SQLite with community-driven extensions