migration guide · editorialupdated

Migrating from Firebase to Appwrite

What transfers, what doesn't, the five steps in order and what you give up. Written for one person who has deployed a server before.

Plan on weeks, and we rate it moderate. Every step follows Firebase's and Appwrite's own documentation, listed under Sources.

What moves over

What comes across from Firebase, and what doesn't, by the products' own docs.
  • Users from Firebase Authentication, apart from those who sign in through an OAuth providertransfers
  • Firestore databases and their top-level documents, as Appwrite rowstransfers
  • Files from Cloud Storage for Firebasetransfers
  • Realtime Database data: Migrations reads Firestore onlydoesn’t transfer
  • Nested Firestore documents, which aren't migrated automaticallydoesn’t transfer
  • OAuth users, who sign in again with their provider after the movedoesn’t transfer

The five steps

In order, each tagged with where it happens.
  1. Step 1: Install Appwrite

    your server

    On a server with Docker Compose, run Appwrite's Docker installer and open its setup wizard on port 20080. Set the hostname, turn on HTTPS if your domain uses it, and pick the database: PostgreSQL by default.

  2. Step 2: Create a service account

    in Firebase

    In the Firebase console, click the gear icon for Project Settings, then Service Accounts → Manage service account permissions. In Google Cloud, create a service account with the Firebase Viewer and Identity Toolkit Viewer roles.

  3. Step 3: Download a JSON key

    in Firebase

    In the service account's menu, click Manage keys, then Add Key → Create new key. Choose JSON and click Create. Keep the file private: it grants read access to your Firebase project.

  4. Step 4: Run the migration

    in Appwrite

    In your Appwrite console, create a project and open the Migrations tab in Project Settings. Click Create Migration, choose Firebase, paste the JSON key, pick the resources and click Start migration.

  5. Step 5: Add platforms, permissions and functions

    both

    Add your web, Flutter, Android and iOS apps as platforms, since Appwrite rejects requests from unknown apps. Set permissions on the migrated resources, then rewrite Cloud Functions as Appwrite Functions.

Back up your data before you start. These steps follow each product’s own documentation, listed under Sources, as it read on 2026-11-26; products change, so check those pages before you run anything.

Watch out for

What you give up, said plainly before you start.
  • Cloud Functions don't migrate, because of syntax and runtime differences: plan to rewrite each one

  • Migrations can't move everything perfectly: fields such as $createdAt and $updatedAt may not come across

  • Firebase may charge for data transfer during the move, and Appwrite recommends validating permissions and data integrity afterwards

EditorialAleksandar Simovupdated

Check Appwrite before you commit

GitHub star growth and maintainer health, read from GitHub. Watch them for a few weeks; it’s free.
stars
58.9k
gained · 7d
+244
growth · 7d
up 0.4%
health
93/100
licence
BSD-3-Clause
measuredGitHub API · 2026-12-05 00:37 UTC

Frequently asked

How long does migrating from Firebase to Appwrite take?

Weeks for one person who has run a server before, by our estimate, and we rate it moderate. The steps below follow both products' own documentation.

What comes across from Firebase?

Users from Firebase Authentication, apart from those who sign in through an OAuth provider. Firestore databases and their top-level documents, as Appwrite rows. Files from Cloud Storage for Firebase.

What doesn't come across?

Realtime Database data: Migrations reads Firestore only. Nested Firestore documents, which aren't migrated automatically. OAuth users, who sign in again with their provider after the move.

What do I need to run Appwrite?

Docker compose, 4 GB RAM minimum, app and database, stated in appwrite.io docs, checked 2026-10-21, by our curated profile, which rates it moderate to run. On a server of its own that is about $28.80 a month by our published rule, before your time.

Is Appwrite open source?

Yes. Appwrite is published under BSD-3-Clause, a permissive open-source licence approved by the Open Source Initiative.

Where this comes from

steps, effort
By Aleksandar Simov, updated 2026-11-26
appwrite data
GitHub API, as of 2026-12-05 00:37 UTC
self-host
Checked against Appwrite's own docs

Found something out of date? Report an error 

More migration guides

effort · difficulty · editorial
All migration guides