Skip to main content

Third party developer tools

There are a number of tools supported by third party organizations that work with Turso and libSQL.

If you're interested in adding libSQL support to your own tool, please reach out to us to coordinate.

Migration tools


Atlas is an open-source tool for managing and migrating database schemas using modern DevOps principles. In order to work with a Turso database, you can simply provide it with a libsql+wss:// URL for your logical database wherever URLs are accepted by the Atlas CLI. You must also provide an auth token in the URL. For example:

atlas schema inspect -u "libsql+wss://<db-host>?authToken=<token>"

Go to Atlas documentation for Turso integration.


Drizzle ORM

Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. Drizzle supports libSQL, with an complete example that shows how to build a Hono server that:

  • Declares a Drizzle schema for tables
  • Uses a Zod validator with the schema to handle incoming JSON
  • Uses the schema make queries with a type-safe, fluent API
  • Switch seamlessly between SQLite local file and Turso remote database

Go to the example for libSQL on the Drizzle GitHub.


SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. A dialect is provided for libSQL, which works with Turso. The only requirement for Turso is the construction of a URL in a special format that instructs SQLAlchemy to use this dialect, which is discussed in the README of the dialect repo.

Go to the SQLAlchemy libSQL dialect repo on GitHub.

Query builders


Kysely is a type-safe and autocompletion-friendly TypeScript SQL query builder. libSQL provides a plugin (dialect) that allows you to take full advantage of the features of Kysely.

Go to the Kysely libSQL dialect repo on GitHub.


Knex.js is a "batteries included" SQL query builder for a variety of databases, designed to be flexible, portable, and fun to use. It supports use of libSQL server instances in the same way that it supports local SQLite files by swapping the sqlite3 module with libsql-node-sqlite3.

Go to example code in the libsql-node-sqlite3 README.

Compatibility libraries

libsql-node-sqlite3 (node-sqlite3 replacement)

The sqlite3 node module is commonly used to access SQLite database files. libSQL provides a drop-in replacement module for this that exposes the same API, accessing a libSQL server instance instead. This replacement module can also be used with Knex.js.

Go to the libsql-node-sqlite3 repo on GitHub.