Skip to content
Cloudflare Docs

Browser Rendering

Run headless Chrome on Cloudflare's global network for browser automation, web scraping, testing, and content generation.

Available on Free and Paid plans

Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network.

Use cases

Programmatically load and fully render dynamic webpages or raw HTML and capture specific outputs such as:

Key features

  • Scale to thousands of browsers: Instant access to a global pool of browsers with low cold-start time, ideal for high-volume screenshot generation, data extraction, or automation at scale
  • Global by default: Browser sessions run on Cloudflare's edge network, opening close to your users for better speed and availability worldwide
  • Easy to integrate: REST APIs for common actions, while Puppeteer and Playwright provide familiar automation libraries for complex workflows
  • Session management: Reuse browser sessions across requests to improve performance and reduce cold-start overhead
  • Flexible pricing: Pay only for browser time used with generous free tier (view pricing)

Integration methods

Use caseRecommendedWhy
Simple screenshot, PDF, or scrapeREST APINo code deployment; single HTTP request
Browser automationPlaywrightFull control with built-in tracing and assertions
Porting existing scriptsPuppeteer or PlaywrightMinimal code changes from standard libraries
AI-powered data extractionJSON endpointStructured data via natural language prompts
AI agent browsingPlaywright MCPLLMs control browsers via MCP
Resilient scrapingStagehandAI finds elements by intent, not selectors
Workers

Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.

Durable Objects

A globally distributed coordination API with strongly consistent storage. Using Durable Objects to persist browser sessions improves performance by eliminating the time that it takes to spin up a new browser session.

Agents

Build AI-powered agents that autonomously navigate websites and perform tasks using Playwright MCP or Stagehand.

More resources

Get started

Choose between REST API and Workers Bindings, then deploy your first project.

Limits

Learn about Browser Rendering limits.

Pricing

Learn about Browser Rendering pricing.

Playwright API

Use Cloudflare's fork of Playwright for testing and automation.

Developer Discord

Connect with the Workers community on Discord to ask questions, show what you are building, and discuss the platform with other developers.

@CloudflareDev

Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Workers.