---
description: Build full-stack applications on Cloudflare Pages using Pages Functions.
title: Functions
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/pages/llms.txt  
> Use this file to discover all available pages before exploring further.

# Functions

Last updated Sep 1, 2026|Copy as Markdown| [View as Markdown](https://0285ca83.previews.developers.cloudflare.com/pages/functions/index.md)| [Agent setup](https://0285ca83.previews.developers.cloudflare.com/agent-setup/)

Pages Functions allows you to build full-stack applications by executing code on the Cloudflare network with [Cloudflare Workers](https://0285ca83.previews.developers.cloudflare.com/workers/). With Functions, you can introduce application aspects such as authenticating, handling form submissions, or working with middleware. [Workers runtime features](https://0285ca83.previews.developers.cloudflare.com/workers/runtime-apis/) are configurable on Pages Functions, including [compatibility with a subset of Node.js APIs](https://0285ca83.previews.developers.cloudflare.com/workers/runtime-apis/nodejs) and the ability to set a [compatibility date or compatibility flag](https://0285ca83.previews.developers.cloudflare.com/workers/configuration/compatibility-dates/). Use Functions to deploy server-side code to enable dynamic functionality without running a dedicated server.

To provide feedback or ask questions on Functions, join the [Cloudflare Developers Discord ↗](https://discord.com/invite/cloudflaredev) and connect with the Cloudflare team in the [#functions channel ↗](https://discord.com/channels/595317990191398933/910978223968518144).

- [Get started](https://0285ca83.previews.developers.cloudflare.com/pages/functions/get-started/)
- [Routing](https://0285ca83.previews.developers.cloudflare.com/pages/functions/routing/)
- [API reference](https://0285ca83.previews.developers.cloudflare.com/pages/functions/api-reference/)
- [Examples](https://0285ca83.previews.developers.cloudflare.com/pages/functions/examples/)
- [Middleware](https://0285ca83.previews.developers.cloudflare.com/pages/functions/middleware/)
- [Configuration](https://0285ca83.previews.developers.cloudflare.com/pages/functions/wrangler-configuration/)
- [Local development](https://0285ca83.previews.developers.cloudflare.com/pages/functions/local-development/)
- [Bindings](https://0285ca83.previews.developers.cloudflare.com/pages/functions/bindings/)
- [TypeScript](https://0285ca83.previews.developers.cloudflare.com/pages/functions/typescript/)
- [Advanced mode](https://0285ca83.previews.developers.cloudflare.com/pages/functions/advanced-mode/)
- [Pages Plugins](https://0285ca83.previews.developers.cloudflare.com/pages/functions/plugins/)
- [Metrics](https://0285ca83.previews.developers.cloudflare.com/pages/functions/metrics/)
- [Debugging and logging](https://0285ca83.previews.developers.cloudflare.com/pages/functions/debugging-and-logging/)
- [Pricing](https://0285ca83.previews.developers.cloudflare.com/pages/functions/pricing/)
- [Module support](https://0285ca83.previews.developers.cloudflare.com/pages/functions/module-support/)
- [Smart Placement](https://0285ca83.previews.developers.cloudflare.com/pages/functions/smart-placement/)
- [Source maps and stack traces](https://0285ca83.previews.developers.cloudflare.com/pages/functions/source-maps/)

Was this helpful?

YesNo

## On this page

[![](https://0285ca83.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://0285ca83.previews.developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/pages/functions/#page","headline":"Functions · Cloudflare Pages docs","description":"Build full-stack applications on Cloudflare Pages using Pages Functions.","url":"https://developers.cloudflare.com/pages/functions/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-09-01","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
