If you are building server-rendered Angular or Next.js apps, check out next-generation Firebase App Hosting, a full-stack solution for modern web frameworks.
Cannot store executable files when Firebase project is on the Spark pricing plan
For no-cost (Spark) plan projects, Firebase blocks uploads and hosting of certain
executable file types for Windows, Android and Apple by Cloud Storage for Firebase and
Firebase Hosting. This policy exists to prevent abuse on our platform.
Serving, hosting and file uploads of disallowed files are blocked for all Spark projects created
on or after Sept 28th, 2023. For existing Spark projects with files uploaded before that date,
such files can still be uploaded and hosted.
This restriction applies to Spark plan projects. Projects on the pay as you go (Blaze) plan
are not affected.
The following file types cannot be hosted on Firebase Hosting and Cloud Storage for Firebase:
Windows files with .exe, .dll and .bat extensions
Android files with .apk extension
Apple platform files with .ipa extension
What do I need to do?
If you still want to host these file types after September 28th, 2023:
For Hosting: upgrade to the Blaze plan before you can deploy these
file types to Firebase Hosting via the firebase deploy command.
For Storage: upgrade to the Blaze plan to upload these file types to the
bucket of your choice using the GCS CLI, the Firebase console, or Google Cloud console.
Use Firebase tools to manage your Firebase Hosting and Cloud Storage resources.
For managing resources in Firebase Hosting, use the Firebase console
to delete releases according to this guide.
For managing resources in Cloud Storage, navigate to the
Storage
product page in your project.
On the Files tab, locate disallowed files to delete in your folder
hierarchy, then select them using the checkbox next to the filename(s) on the left-hand side
of the panel.
Hosting release history table in the Firebase console shows higher file counts than the local project
Firebase automatically adds extra files containing metadata about the
Hosting site, and these files are included in the total file count for the
release.
Maximum file size allowed to deploy to Firebase Hosting
Hosting has a maximum size limit of 2 GB for
individual files.
We recommend storing large files using
Cloud Storage for Firebase, which offers a maximum size limit in
the terabyte range for individual objects.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-01 UTC."],[],[]]