7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

libSQL

Open source

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.

Open-source alternative to

turso.tech
libSQL homepage screenshot
GitHub stars
17k
Last commit
yesterday
Repository age
4 years
Version
libsql-server-v0.24.32
Licence
MIT
Self-hosted
Yes

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
Built with
C
SQLite
Rust
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

SaaS alternatives to libSQL

See all