Skip to content

The best Kysely alternatives

7 tools that do a similar job to Kysely, 7 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

Kysely

A type-safe TypeScript SQL query builder that checks your queries against your table types.

  1. 1

    TypeORM

    Open source · MIT · ★ 36.7k

    A TypeScript/JavaScript library that maps database tables to code objects for Node.js apps.

    Best for: Node.js or TypeScript developers building apps backed by a relational database; Teams that want one data layer that can switch between several database types

  2. 2

    Sequelize

    Open source · MIT · ★ 30.3k

    A Node.js and TypeScript ORM for working with SQL databases using JavaScript objects.

    Best for: Node.js backend developers who use a relational SQL database; TypeScript teams that want typed database models

  3. 3

    knex

    Open source · MIT · ★ 20.3k

    A JavaScript library for building SQL queries across several databases with one API.

    Best for: Node.js developers who need to talk to a SQL database from application code; Teams that may switch between database engines and want portable query code

  4. 4

    DuckDB

    Open source · MIT · ★ 42.7k

    An in-process analytical SQL database that runs inside your app with no server to manage.

    Best for: Analysts who want to run SQL directly on CSV, Parquet, or JSON files; Python or R users who work with pandas-style data and want fast SQL

  5. 5

    Turso

    Open source · MIT · ★ 25.1k

    An in-process SQL database in Rust that aims for SQLite compatibility, with Postgres support in progress.

    Best for: Developers who want an embedded SQLite-compatible database in a Rust, JavaScript, Python, Java, Go, or .NET project; Teams exploring a Rust-based alternative to SQLite that wants features like concurrent writes via MVCC

  6. 6

    libSQL

    Open source · MIT · ★ 17.3k

    An open-source fork of SQLite that accepts outside contributions.

    Best for: Developers who already use SQLite and want extra features like embedded replicas; Teams that want a SQLite-based database they can reach remotely through libsql-server

  7. 7

    nuqs

    Open source · MIT · ★ 10.9k

    A React hook that keeps component state in the URL query string, like useState but in the address bar.

    Best for: React developers building filterable, searchable or paginated pages; Teams using Next.js (app or pages router) who want type-safe search params

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to Kysely. We don't take payment for placement.