4 Open Source Alternatives to Prisma

There are 4 open-source alternatives to Prisma in this directory. The most popular is Typeorm with 36.4k GitHub stars, followed by Gel(14.1k stars). All are open source, free to use, and many can be self-hosted.

Quick comparison

Open-source alternatives to Prisma, ranked by GitHub stars
#ToolStarsLanguageLicense
1Typeorm

TypeORM is an advanced ORM for TypeScript and JavaScript that provides support for major SQL databases including MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, and WebSQL. It enables developers to work with databases in both server-side (Node.js) and client-side environments, offering a seamless experience in browsers, Ionic, Cordova, and Electron platforms.

36.4kTypeScriptMIT License
2Gel

Gel supercharges Postgres with a modern data model, graph queries, authentication, AI solutions, and more, turning databases into versatile platforms.

14.1kPythonApache License 2.0
3Mikro-ORM

A TypeScript ORM for Node.js, implementing Data Mapper, Unit of Work, and Identity Map patterns. Compatible with MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL, and SQLite/libSQL databases.

9.0kTypeScriptMIT License
4Prisma JSON Types Generator

A tool for replacing JsonValues in Prisma with custom TypeScript types to enhance type safety and developer experience.

554TypeScriptMIT License

All open-source alternatives to Prisma

Frequently asked questions

What are the best open-source alternatives to Prisma?

The top three are Typeorm(36.4k stars), Gel(14.1k stars), Mikro-ORM(9.0k stars). All are open source and free to use.

Are these alternatives to Prisma free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to Prisma?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.