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

Browser Rendering supports a wide range of use cases, including:

Browser Rendering is also ideal for agentic workflows. Use Puppeteer, Playwright, Playwright MCP, or Stagehand to power AI agents that interact with web pages and extract data where APIs do not exist.

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

You can integrate Browser Rendering into your applications using one of the following methods:

  • REST API: Ideal for simple, stateless tasks like capturing screenshots, generating PDFs, extracting HTML content, and more.
  • Workers Bindings: Suitable for advanced browser automation within Cloudflare Workers. This method provides greater control, enabling more complex workflows and persistent sessions.

Choose the method that best fits your use case. For example, use the REST API endpoints for straightforward tasks from external applications and use Workers Bindings for complex automation within the Cloudflare ecosystem.

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.