ossdir

Alternatives

Supabase Alternatives

Ten backends compared by license and by what they actually include — because the cheapest Supabase alternative is often Supabase.

Licenses and pricing structure last checked: 24 November 2026

The awkward starting point

Supabase is itself the open source answer to Firebase: the source is Apache-2.0 on GitHub, and you are allowed to run the whole stack yourself. So before comparing alternatives, work out which of these two things you actually want:

  • You want to leave Supabase because of cost or the hosted platform — then self-hosting Supabase, or using a plain Postgres provider, is the answer and none of the products below are better than that.
  • You want a different shape of backend — a single binary, a GraphQL layer, a headless CMS, a file-based option — then the list below is where to look.

The entries are grouped by which of those shapes they fit, and the license is stated first because it decides whether you can embed this in something you sell.

Postgres-first backends

Neon

Apache-2.0. A serverless Postgres with branching: you can create a copy of your database in seconds to test a migration against real data, then throw it away. It is Postgres rather than a platform on top of Postgres, so none of the Supabase client libraries apply. The catch: you get a database, not auth, storage and realtime APIs — those become your problem again.

Nhost

MIT. Postgres with GraphQL, auth, storage and serverless functions, positioned as a direct alternative to Supabase with GraphQL instead of REST as the primary interface. Runs locally with Docker and deploys to its own cloud or your own server. The catch: smaller community than Supabase, so fewer tutorials when you hit an edge case.

Hasura

Apache-2.0 for the GraphQL engine. Turns an existing Postgres database into a GraphQL API with row-level permissions instead of writing resolvers by hand. Usually adopted when a team already has a database and wants an API layer, rather than as a fresh start. The catch: it is an API layer, so auth and storage are still separate decisions.

Single-binary and small-footprint options

PocketBase

MIT. One Go binary that contains SQLite, auth, file storage, an admin UI and a REST API. Start it with a single command and you have a working backend. This is the fastest of anything on this page to get running, and the easiest to back up, because the whole database is one file. The catch: SQLite means one writer, so it suits small and medium applications rather than a product expecting heavy concurrent writes.

Appwrite

BSD-3-Clause. A self-hostable backend platform with auth, databases, storage, functions and messaging, closer in scope to Supabase than to PocketBase. Docker Compose brings up the whole stack. The catch: it is a platform rather than a thin layer over Postgres, so you are adopting its abstractions, and moving off it later is a real migration.

Parse Platform

Apache-2.0. The open sourced remains of the original mobile backend service, still maintained, with client SDKs for every mobile platform and a MongoDB or Postgres backing store. Practical if you inherited an app that uses it. The catch: the ecosystem is old, and documentation quality varies between the SDKs.

Headless CMS with database features

Directus

Not BSL, which is what most summaries say. Directus ships under the Monospace Sustainable Core License 1.0 (abbreviated MSCL-1.0-GPL), the company's own source-available license. It allows internal use, non-commercial education and non-commercial research, allows professional services around it, and forbids one thing: offering it to others as a competing hosted service. After a set period it converts to the GPL. Functionally it is close to what a BSL does, but the name in the file is different and if you are checking compliance, quote the file.

Given that: it sits on top of an existing SQL database and gives you an admin UI and APIs without changing your schema. The catch: the license restricts resale, and a second product now sits between you and your database.

Strapi

MIT for the Community Edition — specifically MIT Expat, with anything under an ee/ directory licensed under the enterprise terms instead. The most widely adopted headless CMS in this list, with a plugin ecosystem and both REST and GraphQL. The catch: the features larger teams want first (SSO, audit logs) are the ones behind the paid edition, and major version upgrades have historically required migration work.

Hosted and commercial options

Firebase

The product Supabase was built to replace. Generous free tier, deep integration with Google Cloud, and the fastest path to a working mobile app. The catch: it is proprietary, prices are hard to predict at scale, and leaving it means rewriting the data layer.

Back4App

A hosted platform built on the Parse Platform source. Useful if you want Parse's model without running Parse. The catch: same proprietary-platform risk as any hosted service, and the underlying open source project sets the pace of what is available.

Comparison

Option License Self-host Auth included Storage included
Neon Apache-2.0 Yes No No
Nhost MIT Yes Yes Yes
Hasura Apache-2.0 Yes Partial No
PocketBase MIT Yes Yes Yes
Appwrite BSD-3-Clause Yes Yes Yes
Parse Platform Apache-2.0 Yes Yes Yes
Directus MSCL 1.0 (source-available) Yes Yes Yes
Strapi MIT (Community Edition) Yes Enterprise Yes
Firebase Proprietary No Yes Yes
Back4App Proprietary No Yes Yes

What you give up leaving Supabase

  1. The integrated client libraries. Half of Supabase's value is that one library covers database, auth, storage and realtime. Any replacement means stitching two or three pieces together.
  2. The dashboard. The table editor and SQL editor are a large part of why people stay; a plain Postgres provider gives you neither.
  3. Row-level security done for you. Moving to a platform with its own permission model means porting your policies.

If none of those three matter to you, self-hosting Supabase is genuinely the cheapest path and the list above is not needed.

How to decide

  • You want Supabase's shape but not its hosting: self-host Supabase. That is the honest answer.
  • You want Postgres and nothing else: Neon.
  • You want the smallest possible deployment: PocketBase.
  • You want GraphQL as the primary interface: Nhost, or Hasura on an existing database.
  • You want a content model with an admin UI: Directus or Strapi.
  • You are shipping a mobile app this month: Firebase, and accept the lock-in knowingly.

Questions

Is Supabase open source?

Yes — the core is Apache-2.0 and can be self-hosted. What you are paying for is the managed platform, not the software license.

Can I self-host Supabase on a single server?

The full stack is a set of services (Postgres, auth, storage, realtime, the API layer) usually run with Docker Compose. It fits on one reasonably sized server for small projects; it is not a single binary like PocketBase.

Is Directus open source?

No. It is source-available under the Monospace Sustainable Core License 1.0, which permits self-hosting and internal use but stops you reselling it as a hosted service, and converts to the GPL after a set period. That is a similar bargain to the Business Source License, which is why so many pages call it BSL — but the license in the file has a different name, and the difference is the kind of thing a procurement review asks about.

Which of these works offline or on a local network?

All the self-hostable ones run without an internet connection once installed. PocketBase is the easiest for an air-gapped or single-device setup.

Which license lets me embed this in a product I sell?

MIT and Apache-2.0 do, with attribution: PocketBase, Nhost, Neon, Hasura and Parse Platform. BSD-3-Clause (Appwrite) is in the same family. AGPL and the source-available licenses here — Directus — put conditions on offering the software itself as a service, which is a different question from embedding a database in your own application.

Where each license claim comes from

Every row was read from the project's own license file or license page on 24 November 2026. Where a project splits its code across more than one license, the split is stated rather than hidden behind the friendliest name. How these are checked, and what we got wrong.

ProjectLicense as stated in its own fileSource
SupabaseApache-2.0 (appendix credits 2024, Supabase Inc.)LICENSE
NeonApache-2.0LICENSE
NhostMIT (2021, Nhost)LICENSE
HasuraApache-2.0 for the GraphQL engineLICENSE
PocketBaseMIT (2022–present, Gani Georgiev)LICENSE.md
AppwriteBSD-3-Clause (2019, Appwrite and contributors)LICENSE
Parse PlatformApache-2.0 — the repo's default branch is alpha, so the file lives thereLICENSE
DirectusMonospace Sustainable Core License 1.0 (MSCL-1.0-GPL) — not BSLlicense
StrapiMIT Expat for Community Edition; ee/ under enterprise termsLICENSE
FirebaseProprietary — no source licenseproduct
Back4AppProprietaryproduct