opensourcestartups

> /v1/alternatives/clerk

Open source alternatives to Clerk[008]

Clerk provides drop-in authentication and user management with prebuilt UI components, sessions, MFA and organisations. Below are 8 self-hostable open source alternatives, ranked by GitHub popularity.

// EDITOR'S TAKE

Better Auth is the closest on developer experience for TypeScript apps, though you assemble the login UI that Clerk hands you ready-made. Zitadel and Logto are better when you want a full identity server with organisations, multi-tenancy and hosted login pages, while Ory Hydra is only the OAuth and OIDC piece.

// FREQUENTLY ASKED

What is the best open source Clerk alternative?

Better Auth is the most popular open source Clerk alternative by GitHub stars (28,212 stars). The other 7 options are ranked above.

Are these Clerk alternatives self-hostable?

Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.

Are they free?

All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.

// PART OF THESE COLLECTIONS