The programmatic glue for Firebase and cloud services

Cloud Functions for Firebase lets you create functions that are triggered by Firebase products, such as changes to data in the Realtime Database, uploads to Cloud Storage, new user sign ups via Authentication, and conversion events in Analytics.

The ability to extend and connect Firebase features using Cloud Functions makes Firebase more powerful, allowing you to do even more with your app.

Are you a Google Cloud Platform developer building backend infrastructure? See Google Cloud Functions.


Run your mobile backend code without managing servers

Cloud Functions are single-purpose JavaScript functions that are executed in a secure, managed Node.js environment. They are only executed when a specific event being watched is emitted.

Your code is stored and managed in Google's cloud, so you don’t need to worry about managing or scaling your own servers.

Low maintenance

Deploying your code to our servers requires just one command. After that, Cloud Functions automatically scales up computing resources to match the usage patterns of your app. You never worry about SSH credentials, server configuration, provisioning new servers, or decommissioning old ones.

Keeps your logic private and secure

In many cases, application logic is best controlled on the server in order to avoid tampering on the client side. Cloud Functions are fully insulated from the client so you can be sure they are private and secure and can’t be reverse engineered.

Part of the Firebase platform

Firebase helps you develop high-quality apps, grow your user base, and earn more money. Each feature works independently, and they work even better together.

Try it out

Get started for free with Cloud Functions for Firebase

Send feedback about...

Need help? Visit our support page.