Skip to main content
libSQL is a fork of SQLite, created because SQLite is open-source but not open-contribution. libSQL is production-ready, fully backwards compatible with SQLite, and adds features like native vector search.
libSQL represents where we started. Today, our focus is Turso Database, a full rewrite of SQLite built from scratch, designed for the highest density of databases with no need for servers or connectivity. If you’re starting a new project, we recommend Turso Database. For mission-critical workloads that need a battle-tested foundation today, libSQL is the right choice.

tursodatabase/libsql

Browse the libSQL source code on GitHub, report issues, feature requests and contribute using pull requests.

Discord

Join the community on Discord to talk about the development of libSQL.

libSQL vs. Turso Database

libSQL is a fork of SQLite. It maintains the same file format, the same API, and full backwards compatibility. It extends SQLite with features the ecosystem has long needed but couldn’t contribute upstream. Turso Database is a different approach: a ground-up rewrite of SQLite. It reimplements SQLite’s semantics with a modern architecture designed for concurrent writes, async I/O, and the highest database density in the industry.
libSQLTurso Database
ApproachFork of SQLiteFull rewrite of SQLite
MaturityProduction-readyEvolving (beta)
SQLite compatibilityFull (same file format and API)Backwards compatible
Best forMission-critical workloads todayNew projects, agents, smart devices, high-density use cases
Both are open-contribution and maintained by Turso. Turso Cloud currently runs on libSQL and will integrate the Turso Database engine in the future.

Extensions

If you’re looking to enable vector extensions, you should instead consider using the native libSQL vector datatype.
A full list of supported extensions can be found here.