A modern, scalable backend built into every Netlify account. No setup, servers, or ops required.
Serverless made painless
Powered by AWS Lambda. Simplified by Netlify.
How Netlify Functions work
Write simple functions that automatically become APIs.
Netlify deploys the functions you write as full API endpoints and will even run them automatically in response to events (like a form submission or a user login). Functions receive request context or event data, and return data back to your frontend.
Automatically trigger any function to run when a new deploy succeeds, a user authenticates, or a new form submission arrives.
Set up functions to check and sanitize user data before sending on to third-party APIs. Or use functions to process API responses and combine API services in new and exciting ways.
|Running a server||Cloud FaaS||Netlify Functions|
Develop modularly. Deploy collectively
Atomically deploy your sites and apps, pushing frontend code and backend functions together, as a unit, without even requiring a maintenance window.
Stage, preview, and rollback
Netlify Functions share all of Netlify’s beloved workflow features. Preview every commit with Deploy Preview links. Rollback when needed by simply clicking a prior deployment.
Run A/B testing and phased rollouts Beta
Deploy and test multiple branches, and even control which users see which version. Plan full experiments and rolling upgrades that include both front and backend code changes. A/B test not just a button color, but an entire user workflow.
Get started with
Deploy a scalable backend with Netlify Functions in minutes.