---
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 Aug 27, 2026|Copy as Markdown|[View as Markdown](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/index.md)|[Agent setup](https://6bd18a4b.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://6bd18a4b.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://6bd18a4b.previews.developers.cloudflare.com/workers/runtime-apis/) are configurable on Pages Functions, including [compatibility with a subset of Node.js APIs](https://6bd18a4b.previews.developers.cloudflare.com/workers/runtime-apis/nodejs) and the ability to set a [compatibility date or compatibility flag](https://6bd18a4b.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://6bd18a4b.previews.developers.cloudflare.com/pages/functions/get-started/)
* [Routing](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/routing/)
* [API reference](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/api-reference/)
* [Examples](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/examples/)
* [Middleware](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/middleware/)
* [Configuration](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/wrangler-configuration/)
* [Local development](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/local-development/)
* [Bindings](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/bindings/)
* [TypeScript](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/typescript/)
* [Advanced mode](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/advanced-mode/)
* [Pages Plugins](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/plugins/)
* [Metrics](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/metrics/)
* [Debugging and logging](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/debugging-and-logging/)
* [Pricing](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/pricing/)
* [Module support](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/module-support/)
* [Smart Placement](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/smart-placement/)
* [Source maps and stack traces](https://6bd18a4b.previews.developers.cloudflare.com/pages/functions/source-maps/)

Was this helpful?

YesNo

## On this page

[![](https://6bd18a4b.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://6bd18a4b.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-08-27","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
