Kysely
Claim this toolType-safe SQL query builder for JavaScript and TypeScript.
Free, no paid tier Visit WebsiteThe Bottom Line
- Price
- Free, no paid tier. Compare plans
Key facts
- Provides a type-safe SQL query builder for JavaScript/TypeScript.
- Offers precise result types and compile-time error checking for SQL queries.
- Supports various SQL databases and runs in any JavaScript environment.
Pros
- Exceptional type-safety for SQL queries
- Excellent auto-completion experience
- Thin abstraction layer, close to raw SQL
- Highly extensible with dialects and plugins
- Zero dependencies and runs in diverse environments
Cons
- Requires familiarity with SQL concepts
- May have a learning curve for those new to SQL query builders
What is Kysely?
Available on: Web
Key Features
- Type-safe API with precise result types
- Compile-time error detection for SQL queries
- Auto-completion for table names, column names, and functions
- Support for a wide range of SQL queries (SELECT, INSERT, UPDATE, DELETE, MERGE, WITH)
- Ability to use raw SQL strings within structured queries
- Community-driven dialect system for various SQL databases (PostgreSQL, MySQL, MS SQL Server, SQLite)
- Zero dependencies and lightweight footprint
- Runs in Node.js, Deno, Bun, AWS Lambda, Cloudflare Workers, and browsers
Pricing
Kysely is completely free to use with no hidden costs.
Kysely by the numbers
| Metric | Kysely | Peer median | Position (1 is best) |
|---|---|---|---|
| Free plan | Yes | 79% have one | n/a |
| Listed as an alternative to | 1 tool | 2 | #221 of 440 (joint) |
Each position is counted among the tools that have data for that row, as noted under it. All UI/UX Design data · How we compute this. Advertising and placement fees are not inputs to any position.
Cite this: Toolradar, “Kysely by the numbers”, Oct 2026.
Reviews

Review Kysely, get a free AI guide
Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.
Best Kysely Alternatives
Top alternatives based on features, pricing, and user needs.
Type-safe database client and migration toolkit
Code with confidence and query with power using this flexible ORM for TypeScript and JavaScript.
Type-safe SQL queries for PostgreSQL, MySQL, and SQLite
Feature-rich ORM for modern TypeScript & JavaScript to simplify database interactions.
TypeScript ORM for Node.js based on Data Mapper, Unit of Work, and Identity Map patterns.
A SQL query builder for JavaScript, providing a consistent and programmatic way to interact with databases.
Still deciding?
Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.
Explore More
Kysely FAQ
How does Kysely ensure type-safety for SQL queries?
Which teams benefit most from using Kysely?
How does Kysely compare to Prisma for database interactions?
When might Kysely present a learning curve for new users?
Does Kysely include a free tier?
Can Kysely be used in different JavaScript environments?
How does Kysely support various SQL databases?
Source: kysely.dev