About libSQL
libSQL is a fork of SQLite, open source and open to outside contributions, created and maintained by Turso. It extends SQLite with capabilities such as embedded replicas and remote access, with the goal of serving far more scenarios than the original SQLite was built for, and it draws on third-party open-source code where that makes sense. The core is in C, with Rust and WebAssembly work around it.
The README makes an important distinction. libSQL, this repository, inherits SQLite's basic limitations, including the single-writer model. The Turso database is a separate project from the same team: a SQLite-compatible database written anew in Rust rather than forked, which adds concurrent writes and two-way sync that can work offline, and is currently in beta. The team says libSQL remains actively maintained but that new features are being developed in the Turso database, and suggests new projects look there first.
libSQL is MIT licensed, and it is used both embedded in applications and through Turso's hosted platform. Documentation, a manifesto, a Discord community and tutorials are provided. It suits developers who like SQLite's simplicity but need replication or remote access.
Key features
- Open-contribution fork of SQLite
- Embedded replicas for local reads
- Remote access to databases
- Rust and WebAssembly components
- Hosted platform from Turso
- Separate Rust-based Turso database in beta
Good fit for
- →Edge and serverless apps using SQLite
- →Replicated embedded databases
- →Per-tenant databases with remote access
- Tags
- sqlite
- database
- embedded-database
- libsql
- rust
- webassembly
- replication
- edge
- turso
libSQL: questions and answers
- What is libSQL used for?
- libSQL is an open-contribution fork of SQLite from Turso that adds embedded replicas and remote access; the team now builds its newer Rust database separately. It is a good fit for edge and serverless apps using SQLite, replicated embedded databases, and per-tenant databases with remote access.
- Is libSQL open source?
- Yes. libSQL is open source under the MIT licence. Its source code is on GitHub at tursodatabase/libsql and is written mainly in C.
- Is libSQL free?
- Yes. libSQL is open source, so the software itself is free to use. A managed cloud version is also available, with paid plans from $5.99 per month.
- Can I self-host libSQL?
- Yes. libSQL can be self-hosted on your own server or infrastructure.
- What is libSQL an alternative to?
- libSQL is an open-source alternative to Cloudflare D1. Other open-source alternatives to Cloudflare D1 include rqlite.
- Is libSQL actively maintained?
- Yes. The most recent commit to libSQL was on 1 October 2026. The project has 17k stars on GitHub.
Open-source alternatives to libSQL
See all
rqlite
Databases
The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highl
MITvs Cloudflare D1★ 18k
Litestream
Databases
Streaming replication for SQLite.
Apache-2.0★ 14k
DuckDB
Databases
DuckDB is an analytical in-process SQL database management system
MITvs MotherDuck★ 42k
SurrealDB
Databases
A scalable, distributed, collaborative, document-graph database, for the realtime web
OSSvs MongoDB Atlas★ 33k
InfluxDB
Databases
Scalable datastore for metrics, events, and real-time analytics
Apache-2.0vs KX kdb+★ 32k
SpacetimeDB
Databases
Development at the speed of light
OSSvs PlayFab★ 25k
SaaS alternatives to libSQL
See all
Cloudflare D1
Databases
Serverless SQLite-based database for Cloudflare Workers
SaaS
Aerospike
Databases
Real-time NoSQL database for low-latency, high-throughput applications
SaaS
Amazon MemoryDB
Databases
Durable in-memory database service on AWS compatible with Valkey and Redis OSS
SaaS
Azure Data Explorer
Databases
Analytics service on Azure for exploring log, telemetry and time-series data with Kusto queries
SaaS
CockroachDB
Databases
Distributed SQL database with horizontal scaling, available as a managed cloud service
SaaS
EDB Postgres AI
Databases
Enterprise PostgreSQL distribution, managed service and tooling from EnterpriseDB
SaaS

