Open Source Firebase Alternatives

The best open source alternative to Firebase is Supabase. If that doesn't suit you, our users have ranked more than 100 alternatives to Firebase and loads of them are open source so hopefully you can find a suitable replacement. Other interesting open source alternatives to Firebase are PocketBase, TrailBase, Appwrite and bknd.io.

Copy a direct link to this comment to your clipboard
Alternatives
Firebase alternatives page was last updated

Alternatives list

  1. Supabase icon
     54 likes

    The open source Firebase alternative. Supabase adds realtime and restful APIs to Postgres without a single line of code.

    131 Supabase alternatives

    Cost / License

    Application type

    Since

    • Since 2020 (updated Nov 2026)

    GitHub

    • GitHub stars: 115.2k

    Platforms

    • Online
    • Self-Hosted
    Good alternative?
     
    |
    3
  2. PocketBase icon
     27 likes

    Open Source realtime backend in 1 file.

    38 PocketBase alternatives

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Since

    • Since 2022 (updated Oct 2026)

    GitHub

    • GitHub stars: 61.6k

    Platforms

    • Windows
    • Mac
    • Linux
    • Online
    • Self-Hosted
    • Cloudron
    Good alternative?
     
  3. TrailBase icon
     13 likes

    TrailBase offers a blazingly fast, open-source application server featuring type-safe APIs and real-time data. Built on Rust, with JS/ES6/TS runtime, it provides built-in authentication, admin UI, and low-latency responses. Supports mobile, web, and desktop, eliminating the need for dedicated caches.

    Cost / License

    • Free
    • Open Source

    Application type

    Since

    • Since 2025 (updated Nov 2026)

    GitHub

    • GitHub stars: 5.8k

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    • Docker
    Good alternative?
     
  4. Appwrite icon
     21 likes

    Secure open-source backend server for web and mobile developers. Appwrite provides developers with a set of easy-to-use and integrate REST APIs to manage their core backend needs.

    Cost / License

    Application type

    Since

    • Since 2020 (updated Nov 2026)

    GitHub

    • GitHub stars: 58.5k

    Platforms

    • Online
    • Software as a Service (SaaS)
    • Self-Hosted
    • Docker
    Good alternative?
     
  5. bknd.io icon
     8 likes

    Modular visual backend offering integrated database, authentication, media, and workflow management, supports SQLite, Postgres, cloud DBs, AWS S3, flexible deployment across major runtimes, open source, built for universal compatibility and direct control.

    Cost / License

    Application type

    Since

    • Since 2025 (updated Nov 2026)

    GitHub

    • GitHub stars: 3.8k

    Platforms

    • Online
    • Self-Hosted
    Good alternative?
     
  6. Nhost icon
     7 likes

    Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:

    16 Nhost alternatives

    Cost / License

    • Freemium (Subscription)
    • Open Source (MIT)

    Application type

    Since

    • Since 2022 (updated Nov 2026)

    GitHub

    • GitHub stars: 9.4k

    Platforms

    • Online
    • Software as a Service (SaaS)
    • Self-Hosted
    Good alternative?
     
  7. Stacktape icon
     5 likes

    AWS DevOps, fully automated: Stacktape designs, deploys, monitors and secures your app's infrastructure in your own AWS account.

    Cost / License

    • Freemium
    • Open Source (MIT)

    Application type

    Since

    • Since 2022 (updated Nov 2026)

    GitHub

    • GitHub stars: 81

    Platforms

    • Software as a Service (SaaS)
    • Amazon Web Services
    Good alternative?
     
  8. Neon Postgres icon
     6 likes

    The fully managed serverless Postgres with a generous free tier. We separate storage and compute to offer autoscaling, branching, and bottomless storage.

    Cost / License

    Since

    • Since 2022 (updated Aug 2026)

    GitHub

    • GitHub stars: 23.3k

    Platforms

    • Software as a Service (SaaS)
    • Self-Hosted
    Good alternative?
     
  9. SignalDB icon
     6 likes

    SignalDB is a client-side database with a MongoDB-like interface and TypeScript support. It allows easy data management, reactivity and persistence on the client side, with plans for future replication capabilities.

    Cost / License

    • Free
    • Open Source (MIT)

    Since

    • Since 2023 (updated Nov 2026)

    GitHub

    • GitHub stars: 690

    Platforms

    • Windows
    • Mac
    • Linux
    • Self-Hosted
    • React
    Good alternative?
     
  10. RxDB icon
     31 likes

    Local-first NoSQL database for JavaScript apps with reactive queries, offline support, and real-time replication to any backend.

    Cost / License

    Since

    • Since 2016 (updated Nov 2026)

    GitHub

    • GitHub stars: 23.4k

    Platforms

    • Windows
    • Online
    • Self-Hosted
    • Android
    • Google Chrome
    • Mozilla Firefox
    Good alternative?
     
    |
    3
  11. Realm icon
     7 likes

    Realm enables any development team, no matter the size, to include difficult-to-build features like two-way data sync and realtime collaboration. Devote more time to what makes your app truly unique and less time to maintaining services.

    Cost / License

    • Free
    • Open Source

    Since

    • Since 2014

    Platforms

    • Mac
    • Android
    • iPhone
    • iPad
    Good alternative?
     
  12. Nakama icon
     10 likes

    Nakama is an open-source distributed social and realtime server for games and apps. It has a large set of services for users, storage, and realtime communication; as well as specialized APIs like realtime multiplayer, groups/guilds, and chat.

    Cost / License

    Since

    • Since 2017 (updated Nov 2026)

    GitHub

    • GitHub stars: 13.8k

    Platforms

    • Windows
    • Mac
    • Linux
    • Online
    • Self-Hosted
    • Unity
    Good alternative?
     
12 of 57 Firebase alternatives