SQLDelight
SQLDelight: A focused open-source generator for verified Kotlin database code. Ranked #21 of 33 in Code Generators by our editors (7.2/10); pricing: Open source; best for kotlin and multiplatform SQL APIs.
At a glance
- Editor score7.2 / 10
- PricingOpen source
- Best forKotlin and multiplatform SQL APIs
- Paid fromFree
- Facts checked20 Sep 2026

Where it wins
- Compile-time verification for schemas, queries, and migrations
- Generates type-safe Kotlin database APIs and query functions
- Supports Gradle, IDE features, and multiple SQL dialects
Where it doesn't
- Focused on Kotlin rather than multiple programming languages
- HSQL/H2 dialect support is experimental
- SQL-focused scope may not suit broader code-generation needs
Our verdict on SQLDelight
SQLDelight is an open-source code generation tool for Kotlin applications that turns SQL schema definitions and labeled SQL statements into type-safe Kotlin database APIs. It is designed for teams building Android, JVM, JavaScript, native, or Kotlin Multiplatform applications that want database structure and SQL checked during compilation. Generated database and schema classes, along with type-safe query functions, keep the output closely tied to the SQL being authored.
Its strongest angle is compile-time verification. SQLDelight verifies schemas, SQL statements, and migrations, helping surface database inconsistencies during the build rather than leaving them to runtime. Gradle plugin integration fits Kotlin build workflows, while IDE autocomplete and refactoring support extend the generated-code approach into SQL editing. The supported dialects include SQLite, MySQL, PostgreSQL, and HSQL/H2, with HSQL/H2 identified as experimental. This combination makes it a practical fit when SQL remains central to the application and correctness checks are a priority.
The trade-off is focus. SQLDelight is built around Kotlin and SQL, so teams seeking code generation across several programming languages or a broader application-scaffolding system should consider a different category of tool. Its open-source model and multiplatform coverage suit projects that want a Kotlin-native database layer across Android, iOS, desktop, web, or other supported targets. Choose SQLDelight when typed database APIs, verified migrations, Gradle integration, and IDE assistance matter; look elsewhere when Kotlin is not the target language or database code generation is only a small part of a wider generation workflow.
Your product? Our editors can test SQLDelight in depth and publish a review, labelled as paid · from $149/mo →
SQLDelight pricing
SQLDelight fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Project scaffolding | Not verified |
| Custom templates | Not verified |
| Schema-to-code generation | Yes |
| CLI available | Not verified |
| IDE plugins | Yes |
| Supported languages | Kotlin |
| Deployment | Cloud, Desktop, Mobile |
| Platforms | Web, Windows, macOS, Linux, iOS, Android |
| Support | Docs |
| Built for | Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Open source |
| Website | sqldelight.github.io |
| Facts checked | 20 Sep 2026 |
Alternatives to SQLDelight
- OpenAPI GeneratorA flexible open-source toolkit for multi-language API generation and workflow integration.9.3
- Swagger CodegenA broad OpenAPI code generator with strong language coverage and CLI access.9.1
- Spring InitializrA focused, extensible way to start Spring Boot projects with the right build and dependency choices.9.0
See all SQLDelight alternatives →
Also Ranked In
SQLDelight is ranked in 2 of our directories.
Used SQLDelight? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used SQLDelight for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
SQLDelight is listed in our Code Generators directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/sqldelight/"><img src="https://www.itechguides.com/best/badge/sqldelight.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


