the catalog · 🔐 Security
Better Auth
★ 20kFramework-agnostic TypeScript auth library that keeps users in your own database with plugins for 2FA, orgs, passkeys
Better Auth does the job of Clerk and Auth0, self-hosted. It is MIT-licensed, so you can do essentially what you like with it, and it installs in about one command. Clerk bills $25-100+ for it. 20k stars on GitHub.
Open-source replacement for Clerk, Auth0.
- Licence
- MIT
- Self-hosting
- Easy
- The paid one costs
- $25-100+
- GitHub stars
- 20k
Is it actually a replacement?
We have written a verdict on what it replaces — what you lose, and why people still pay:
How Better Auth runs
Where it runs
Better Auth runs on your server.
What setup takes
not verified by us yet — check the repo README.
Better Auth questions
Is Better Auth open source?
Yes — it is released under MIT.
Can Better Auth replace Auth0?
Our verdict on Auth0 is YES. Keycloak (28k stars), Better Auth (20k stars), Authentik (17k stars) are mature open-source replacements for Auth0 — self-host with real ops work and stop paying $70/mo.
Can I self-host Better Auth?
Yes — we rate it easy to self-host, and it runs on your server.
More auth tools
- Strix · replaces Burp Suite Pro
- Pi-hole · replaces NextDNS
- Vaultwarden · replaces 1Password
- Keycloak · replaces Auth0
- AdGuard Home · replaces NextDNS
- Headscale · replaces Tailscale