My plan

Free alternatives to Clerk

Clerk costs $240 a year (Pro plan). Here's what to use instead.

Switch and you keep$240/yr From clerk.com
Nov 9, 2026

Our pickHow we pick

Logto

Replaces it Needs a server

Does Clerk's core job for free, on a server you run.

Get Logto

Runs on your own Linux server, with Docker files in the repo. Setup docs are on logto.io.

  • Open source (MPL-2.0)
  • Linux
  • Active, last activity Dec 1, 2026
  • 14.7k★
  • About Logto

How to switch

  1. Step 1Get Logto

    Set it up on a server you run. The setup docs are on logto.io.

  2. Step 2Bring your data

    Users can be scripted in through the Management API; no one-click Clerk importer.

  3. Step 3Cancel Clerk

    Use Logto for real work first, then cancel before your next renewal date.

Other options

Better Auth

Replaces it Needs a server Get Better Auth

A TypeScript library, not a hosted service: you build the sign-in UI and user admin screens yourself.

Open source (MIT) · Linux · Active, last activity Nov 30, 2026 · 30.3k★ · About Better Auth

ZITADEL

Replaces it Needs a server Get ZITADEL

Open source (AGPL-3.0) · Linux · Active, last activity Nov 30, 2026 · 15.3k★ · About ZITADEL

Compare all 3 side by side
Free alternatives to Clerk compared
AlternativeVerdictWhat it takesLicenseLinuxStars
Logto Replaces it Needs a server MPL-2.0 open source Yes 14.7k★
Better Auth Replaces it Needs a server MIT open source Yes 30.3k★
ZITADEL Replaces it Needs a server AGPL-3.0 open source Yes 15.3k★
Where the price comes from
Verified on clerk.com
“Pro Monthly Annual $20 per month, billed annually”
Plan
Pro
Billing
$25/mo monthly or $20/mo billed annually (pricing table: "$25/mo, $20/mo billed annually"); 50,000 MRU included per app
Checked

US prices in USD before tax, copied from the vendor's own page. How we check

Open the pricing page ↗
Moving your data over
  • Logto: users can be scripted in through the Management API; no one-click Clerk importer
  • Better Auth: official Clerk migration guide and script (users, passwords, social accounts; not organizations)
  • ZITADEL: user import API accepts existing password hashes; no one-click Clerk importer
Questions about Clerk alternatives · 5
Is there a free alternative to Clerk?
Yes. The 3 free alternatives are Logto (open source, MPL-2.0), Better Auth (open source, MIT) and ZITADEL (open source, AGPL-3.0). Our pick is Logto, which does Clerk's core job.
How much does Clerk cost?
Clerk's Pro plan costs $20 a month, which is $240 a year ($25/mo monthly or $20/mo billed annually (pricing table: "$25/mo, $20/mo billed annually"); 50,000 MRU included per app). Source: the official pricing page at clerk.com, checked Nov 9, 2026.
Which Clerk alternatives run on Linux?
Logto (self-hosted server; web UI), Better Auth (self-hosted server; web UI) and ZITADEL (self-hosted server; web UI).
Can you self-host a Clerk alternative?
Yes. Logto, Better Auth and ZITADEL run on your own server.
Are these Clerk alternatives open source?
Yes. All 3 use OSI-approved open-source licenses: Logto (MPL-2.0), Better Auth (MIT) and ZITADEL (AGPL-3.0).

Built or know a better alternative to Clerk? Suggest it free, or get it featured on this page.

My plan