Firebase Storage is built for app developers who need to store and serve user-generated content, such as photos or videos.
|Robust operations||Firebase Storage performs uploads and downloads regardless of network quality. Uploads and downloads are robust, meaning they restart where they stopped, saving your users time and bandwidth.|
|Strong security||Firebase Storage integrates with Firebase Authentication to provide simple and intuitive authentication for developers. You can use our declarative security model to allow access based on filename, size, content type, and other metadata.|
|High scalability||Firebase Storage is backed by Google Cloud Storage for petabyte scale when your app goes viral. Effortlessly grow from prototype to production using the same infrastructure that powers Snapchat.|
How does it work?
Developers use the Firebase Storage SDK to upload and download files directly from clients. If the network connection is poor, the client is able to retry the operation right where it left off, saving your users time and bandwidth.
Firebase Storage stores your files in a Google Cloud Storage bucket shared with the default Google App Engine app, making them accessible through both Firebase and Google Cloud APIs. This allows you the flexibility to upload and download files from mobile clients via Firebase and do server-side processing such as image filtering or video transcoding using Google Cloud Platform. Firebase Storage scales automatically, meaning that there's no need to migrate from Firebase Storage to Google Cloud Storage or any other provider. Learn more about all the benefits of our integration with Google Cloud Platform.
Firebase Storage integrates seamlessly with Firebase Authentication to identify users, and provides a declarative security language that lets you set access controls on individual files or groups of files, so you can make files as public or private as you want.
|Integrate the Firebase Storage SDKs.||Quickly include clients via Gradle, CocoaPods, or a script include.|
|Create a Reference||Reference the path to a file, such as "images/mountains.png", to upload, download, or delete it.|
|Upload or Download||Upload or download to native types in memory or on disk.|
|Secure your Files||Use Firebase Storage Security Rules to secure your files.|
Looking to store other types of data?
- The Firebase Realtime Database stores JSON application data, like game state or chat messages, and synchronizes changes instantly across all connected devices.
- Firebase Remote Config stores developer-specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.
- Upload your first file using our quickstarts for iOS, Android, or Web.
- Add Firebase Storage to your iOS, Android, or Web app.
- Learn about how to secure your files using Firebase Storage Security Rules.
- Add powerful new features such as image recognition or speech to text by integrating with Google Cloud Platform.