Open-source alternatives to Clerk

1 free, open-source alternative with 8.9K total GitHub stars.

Updated August 2026Stats synced from GitHub
Hanko

Hanko

Passkey-first auth platform — SSO, MFA, and web components without vendor lock-in.

AGPL-3.0 alternative to Clerk and Auth0. Passkeys, OAuth, SAML, Hanko Elements UI, and self-hosted Go backend — or Hanko Cloud managed.

authpasskeyssso
8.9K1KAGPL-3.0
vs Clerk
Read more

Clerk is a closed-source, developer-focused authentication platform with prebuilt UI components for React, Next.js, and Remix. It's free up to 50,000 monthly active users, but pricing beyond that scales per MAU and can reach into the thousands per month at larger user bases, with user data managed on Clerk's infrastructure.

Hanko is the open-source option, built around passkey-first authentication with SSO, MFA, and embeddable web components — self-hostable so user identity data stays on your own infrastructure.

FAQ

Is there a free, open-source alternative to Clerk?

Yes. Hanko is open source and free to self-host.

What's the best open-source alternative to Clerk?

Hanko is the option to evaluate — it's built passkey-first, with SSO and MFA support, and avoids Clerk's per-MAU pricing since you're self-hosting.

What are the top open-source alternatives to Clerk?

Browse all open-source alternatives to Clerk above, or explore the full Developer Tools category for more options.

Explore more alternatives