Cloud Functions for Firebase

Run backend code without managing servers

A serverless framework that lets you automatically run backend code in response to events triggered by background events, HTTPS requests, the Admin SDK, or Cloud Scheduler jobs.

Develop a backend without servers

Create functions that are triggered by Firebase products, such as changes to data in the Realtime Database, new user sign-ups via Auth, and conversion events in Google Analytics. Are you a Google Cloud developer? SeeGoogle Cloud Functions.

Illustration of servers and laptop

Run your mobile backend code without managing servers

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

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 have to worry about SSH credentials, server configuration, provisioning new servers, or decommissioning old ones.

Illustration of laptop
Illustration of mobile security

Keeps your logic private and secure

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

Case Studies

Learn how Cloud Functions helps teams across the world improve app quality

  • STAGE logo
    STAGE uses Firebase and Flutter to cut release time in half

    STAGE paired Flutter's front-end tools with Firebase's back-end services to build a multi-platform app, with infrastructure that securely stores and delivers content to almost 2 million users in real time for a smooth viewing experience - helping them stand out in India's competitive streaming market.

    Read more
  • Acintyo logo
    Acintyo uses Firebase to streamline and speed up app development by 25%

    With millions of users across 175 countries, the Galarm team used Firebase's fully-managed, scalable infrastructure to accelerate app development, automate tasks, and free up engineering time so they could focus on bringing their ideas to life.

    Read more
  • Le Figaro logo
    Le Figaro leverages Firebase to increase paid subscriptions across mobile and web apps

    Le Figaro used a number of Firebase products to retain existing users, increase paid subscriptions and decrease development time.

    Read more

Documentation

Learn more about Cloud Functions through our documentation.

View pricing

No-Cost quota amounts, then Google Cloud pricing.

Try Firebase today

Integrating it into your app is easy.

Get started