Skip to content
aicoolies logo
drizzle

Drizzle ORM

TypeScript ORM that feels like SQL

Lightweight, serverless-ready TypeScript ORM with zero dependencies bringing SQL-like syntax into TypeScript for maximum type-safety. Maps queries closely to raw SQL with full auto-completion and type inference. Features Drizzle Kit for migrations, Drizzle Studio for visual browsing, supports PostgreSQL, MySQL, SQLite, and Turso. Runs on Node.js, Bun, Deno, Cloudflare Workers, and Vercel Edge. 26K+ GitHub stars, growing fast as a Prisma alternative.

About Drizzle ORM

Drizzle ORM is a lightweight, TypeScript-first object-relational mapper that takes a SQL-centric approach to database interactions in modern JavaScript and TypeScript applications. Weighing in at roughly 7.4KB minified and gzipped with zero external dependencies, Drizzle solves the problem of heavyweight ORMs that abstract away SQL to the point where developers lose control over their queries. It lets you define your database schema directly in TypeScript using a syntax that closely mirrors SQL CREATE TABLE statements, providing compile-time type safety and full autocompletion throughout your codebase.

Drizzle stands out with its code-first schema definition, automatic migration generation via Drizzle Kit, and support for PostgreSQL, MySQL, SQLite, and Microsoft SQL Server. It offers both a SQL-like query builder and a relational query API for more complex data fetching patterns. Drizzle Studio provides a visual interface for browsing and editing data, creating and altering tables and views, and refreshing schemas. The ORM also includes a built-in seeding package, a custom DrizzleQueryError wrapper for better error diagnostics, and cache layer support for optimizing query performance.

Drizzle ORM is designed for TypeScript developers building serverless applications, edge functions, and full-stack projects where bundle size and cold start times matter. It integrates seamlessly with frameworks like Next.js, Remix, Nuxt, and SvelteKit, and works natively with serverless platforms including Cloudflare Workers, Vercel Edge Functions, and AWS Lambda. Its zero-dependency architecture and thin abstraction layer make it particularly popular among developers who prefer writing SQL-like code with type safety rather than learning a proprietary query language.

Pricing & Platform Specs

Pricing Summary

Drizzle ORM is 100% free and open-source under the Apache 2.0 license. The core ORM, Drizzle Kit migration CLI, and local Drizzle Studio are completely free for personal and commercial applications.

Supported Platforms

Node.js, Bun, Deno

Explore categories, tags & use cases

Next-generation Node.js ORM

Next-generation TypeScript ORM with schema-first design and auto-generated, type-safe database client. Define models in Prisma Schema Language, manage migrations via Prisma Migrate, and browse data in Prisma Studio. Supports PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB. Prisma Accelerate provides edge caching and connection pooling, Optimize offers AI-powered query analysis. 40K+ GitHub stars, widely adopted in Node.js/TypeScript.

freemiumOpen SourceTelemetry

Promise-based Node.js ORM

Mature, promise-based ORM for Node.js supporting PostgreSQL, MySQL, MariaDB, SQLite, and SQL Server. Features model definitions with validations, eager/lazy loading, transactions, migrations, raw queries, and lifecycle hooks. Supports soft deletes, scopes, and virtual fields. One of the oldest and most battle-tested Node.js ORMs, widely used in enterprise apps though increasingly succeeded by Prisma and Drizzle in new projects.

Open Source

ORM for TypeScript and JavaScript

Full-featured ORM for TypeScript and JavaScript supporting Active Record and Data Mapper patterns. Works with PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server, and MongoDB. Features decorator-based entity definitions, migrations, relations (one-to-one, many-to-many), lazy/eager loading, query builder, transactions, and caching. Supports both Node.js and browser runtimes. 34K+ GitHub stars. Mature but losing mindshare to Prisma and Drizzle for new TypeScript projects.

Open Source

Side-by-Side Comparisons

Gel logo
Gel
vs
drizzle
Drizzle ORM

Gel vs Drizzle ORM — Graph-Relational Database vs TypeScript-First ORM

Gel and Drizzle ORM solve the data access problem from opposite directions. Gel provides a complete database with EdgeQL query language that eliminates the impedance mismatch between application objects and relational tables. Drizzle ORM works with existing PostgreSQL, MySQL, and SQLite databases, providing a TypeScript-first query builder that generates type-safe SQL with minimal abstraction overhead.

GelDrizzle ORM
Prisma logo
Prisma
vs
drizzle
Drizzle ORM

Prisma vs Drizzle ORM — TypeScript ORM Comparison for Modern Full-Stack Development

Prisma and Drizzle ORM are the two leading TypeScript ORMs in 2026, each with passionate communities. Prisma provides a schema-first approach with an intuitive query API, auto-generated migrations, and Prisma Studio for visual database management. Drizzle ORM is a lightweight, SQL-like TypeScript ORM that gives you type-safe queries that look and feel like SQL, with zero overhead and maximum performance.

PrismaDrizzle ORM
drizzle
Drizzle ORM
vs
Prisma logo
Prisma
vs
TypeORM logo
TypeORM

Drizzle vs Prisma vs TypeORM — TypeScript ORM

Choosing a TypeScript ORM affects everything from query performance to developer productivity — Drizzle, Prisma, and TypeORM represent three distinct philosophies on how to interact with your database.

Drizzle ORMPrismaTypeORM

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Drizzle ORM?

Lightweight, serverless-ready TypeScript ORM with zero dependencies bringing SQL-like syntax into TypeScript for maximum type-safety. Maps queries closely to raw SQL with full auto-completion and type inference. Features Drizzle Kit for migrations, Drizzle Studio for visual browsing, supports PostgreSQL, MySQL, SQLite, and Turso. Runs on Node.js, Bun, Deno, Cloudflare Workers, and Vercel Edge. 26K+ GitHub stars, growing fast as a Prisma alternative.

Is Drizzle ORM free?

Yes — Drizzle ORM is open source and free to use. Drizzle ORM is 100% free and open-source under the Apache 2.0 license. The core ORM, Drizzle Kit migration CLI, and local Drizzle Studio are completely free for personal and commercial applications.

Is Drizzle ORM open source?

Yes — Drizzle ORM is open source.

Is Drizzle ORM still maintained?

Yes — Drizzle ORM is active. Its listing was last verified on August 26, 2026.

What are the best Drizzle ORM alternatives?

The first editor-selected Drizzle ORM alternatives are Prisma, Sequelize, TypeORM.

How does Drizzle ORM score in our review?

The published editorial review lists Drizzle ORM at 88/100 overall across speed, privacy, and developer experience. Check the review's evidence status and test metadata for its verification level.