DEV Community

Israr Kundi
Israr Kundi

Posted on Originally published at israr-kundi.web.app

Firebase Studio shutdown 22 March 2027: save your app

Firebase Studio shutdown 22 March 2027 means the workspace where you built your app will close, and data left in it will be permanently deleted. Export or move your project before that date, then check it builds and publishes outside Firebase Studio.

What is actually closing

Your live app is not closing. Firebase says Cloud Firestore, Authentication, and App Hosting will continue outside Firebase Studio, and deployed apps will continue to run after the sunset.

What goes away is the Studio development environment and the workspace inside it. If your only copy of the code sits there, move it before 22 March 2027. After the shutdown, Firebase says remaining data is permanently deleted and cannot be recovered.

New workspaces are closed: Firebase disabled new workspace creation and signup on 22 June 2026. Existing workspaces can still be opened until the shutdown.

Why this is happening

Firebase announced the sunset on 19 March 2026. It calls Firebase Studio a preview for AI-driven development, and it is moving that work into Google AI Studio for browser-based prototyping and Google Antigravity for code-first, local development.

That leaves three choices: move to Google AI Studio, move to Antigravity, or export the code and keep it somewhere else. Doing nothing ends with the workspace deleted.

Firebase Studio shutdown 22 March 2027: the minimum fix

1. Download a copy of your code first

Open your workspace, click Move now, then use Zip and Download. If no zip button appears, open the command palette and run Firebase Studio: Zip & Download.

Extract the zip and put the code in a repository you control. This protects the code even if a later step stalls.

If the button does nothing, allow pop-ups for the page in your browser address bar. If the export hangs, delete node_modules, large media files, database exports, and build folders you do not need, then try again. Packages can be reinstalled later with npm install.

2. Save your chat history separately, if you need it

The standard zip does not include chat history. Firebase says that history sits in /home/user/.idx/ai. To keep it, right-click the .idx/ai directory and choose Zip and Download. Prototyper prompts can also appear in the git log. Save this only if those prompts matter; the code copy is the part you cannot replace.

3. Pick where the app will live next

Choose Google AI Studio if you built the app with the App Prototyping agent and want to keep working in a browser. Click Move now, select Prepare for AI Studio, then click Move to Google AI Studio.

Choose Antigravity if you used Code View, a template, or an imported repository, or if the app has grown past a prototype. Extract the zip and open the folder in the Antigravity IDE. Firebase gives a manual command: npx firebase-tools@latest studio:export PATH.

Choose another platform if you want to manage the code and deployments yourself. To keep your App Hosting URL that way, run firebase init apphosting, link the backend named studio, then deploy with firebase deploy.

4. Protect your published URL, if you have one

Moving code does not automatically keep every publishing setting. To keep your *.hosted.app URL or custom domain on the AI Studio route, Firebase uses App Hosting with GitHub Sync, starting with storing your Gemini API key as an environment variable in the App Hosting settings.

The other AI Studio publish route moves the app to Cloud Run with a new *.run.app URL. Pick that only if a new URL is acceptable. External hosting also means a new URL.

5. Test the app outside Firebase Studio

Run the moved project in its new home. Sign in, use the main screens, and publish a test update before you trust the move.

Two checks matter here. If your app uses Google Sign-In and you moved to Google AI Studio, add the new domain under Authentication settings, Authorized domains, in the Firebase console. If a shared workspace will not move, check who created it: only the creator can use Move now. Anyone else must duplicate the workspace or export manually.

6. Finish well before 22 March 2027

You can use an existing workspace until the shutdown, but waiting until March leaves no room for a stalled export or broken sign-in. A finished move means the code is in a repository you control, the app runs outside Studio, and you can publish without opening Studio.

What NOT to do

Do not read this as "Firebase is shutting down." Firestore, Authentication, App Hosting, your databases, and your user data are not part of this sunset.

Do not assume a live app keeps you safe. A deployed app can keep running while the only copy of its code is deleted. The risk is losing the ability to change and publish the app, not the app switching off.

When to get help instead of fixing it yourself

Get help if the export keeps stalling, the moved app will not run, or sign-in breaks after the move and you cannot tell whether the cause is the new domain, project settings, or code. Get help too if the workspace was shared with you and the creator is no longer available.

If this is your app, contact me through https://israr-kundi.web.app

Top comments (1)

Collapse
 
prikshit profile image
Prikshit •

The note that the standard zip skips chat history in /home/user/.idx/ai is the step I'd have missed. Before the move I'd also check what config lived only in the workspace, since a Gemini API key kept in its environment won't come along with the code, and the first deploy outside Studio would build fine and then fail at runtime.