Comparison

Kysely vs sqlc

On the evidence we track, Kysely leads this comparison with a composite score of 70/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Kysely70
sqlc51
Score
Vioscale score
Kysely70 / 100high · 79%updating
sqlc51 / 100low · 43%updating
Pricing
Free tier
Kysely
sqlc
Model
Price level
Kyselyfree
sqlcfree
Transparent
Kysely
sqlc
Integrations
Count
Kysely21
sqlc
Adoption
Dependent repos
Kysely1,155
sqlc1
Github stars
Kysely14,168
sqlc18,202
Package downloads weekly
sqlc
Activity
Commits last 30d
Kysely25
sqlc39
Release
Cadence days
Kysely10
sqlc42
History
License
Spdx
KyselyMIT
sqlcMIT
Language
Primary
sqlcGo

Capabilities

Feature-by-feature on the axes that matter for orm & database tools. “-” means undocumented, not absent.

Core
Type-safe queries
Kysely
sqlc
Schema migrations
Kysely
sqlc-
Relations / joins API
Kysely
sqlc-
Languages
KyselyTypeScript, JavaScript (Node, Deno, Bun, Cloudflare Workers, browsers)
sqlcGo; community support for Python
Modelling
Schema-first modelling
Kysely
sqlc
Flexibility
Raw SQL escape hatch
Kysely
sqlc
Portability
Multiple database backends
Kysely
sqlc
Ops
Connection pooling
Kysely
sqlc-
DX
Data browser / studio
Kysely
sqlc

What each one is

The product in its own terms, so the numbers below have context.

Kysely

Leader

A JavaScript and TypeScript SQL query builder that provides compile-time type safety and database schema validation. It works across multiple runtimes (Node, Deno, Bun, Cloudflare Workers, browsers) with zero runtime dependencies and emphasizes composable, type-safe queries over higher-level abstractions.

Independently observed

sqlc

An open-source code generator that produces type-safe application code from raw SQL queries, supporting PostgreSQL, MySQL, SQLite, and ClickHouse databases.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Kysely

Leader
Open sourceFree tier

Completely free and open source (MIT license)

as of verify ↗

sqlc

Open sourceFree tier
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
Kysely
sqlc
CLI
Kysely
sqlc
Deployment
Cloud / SaaS
Kysely
sqlc
Self-hosted
Kysely
sqlc

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

Kysely

Leader
21 total
  • Supabase
  • Cursor
  • Windsurf
  • GitHub Copilot
  • ChatGPT
  • Claude
  • Claude Code
  • AirTrail
  • AWS Blocks
  • Conar
  • EmbedPDF
  • Hot Updater
  • inlang
  • Notesnook
  • OpenClaw
  • Reflect
  • Sink
  • Stacks
  • StudioCMS
  • Tunarr
  • ZenStack
Independently observed

sqlc

Not documented yet.

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.