Choose an integration method and deploy your first project.
Browser Rendering
Run headless Chrome on Cloudflare's global network for browser automation, web scraping, testing, and content generation.
Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network.
Programmatically load and fully render dynamic webpages or raw HTML and capture specific outputs such as:
Browser Rendering offers two categories of integration methods:
- Quick Actions: Simple, stateless browser tasks like screenshots, PDFs, and scraping. No code deployment needed.
- Browser Sessions: Direct browser control via Puppeteer, Playwright, CDP, or Stagehand. Deploy within Cloudflare Workers or connect from any environment via CDP.
| Use case | Recommended | Why |
|---|---|---|
| Simple screenshot, PDF, or scrape | Quick Actions | No code deployment; single HTTP request |
| Browser automation | Playwright, Puppeteer, or CDP | Full browser control with scripting |
| Porting existing scripts | Puppeteer, Playwright, or CDP | Minimal code changes from standard libraries |
| AI-powered data extraction | JSON endpoint | Structured data via natural language prompts |
| Site-wide crawling | Crawl endpoint | Multi-page content extraction with async results |
| AI agent browsing | Playwright MCP or CDP with MCP clients | LLMs control browsers via MCP |
| Resilient scraping | Stagehand | AI finds elements by intent, not selectors |
| Direct browser control from any environment | CDP | WebSocket access from local machines, CI/CD, or external servers |
- 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: Quick Actions for common tasks, Puppeteer and Playwright for complex workflows, and CDP for direct browser control from any environment
- 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)
Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.
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.
Build AI-powered agents that autonomously navigate websites and perform tasks using Playwright MCP or Stagehand.
Learn about Browser Rendering limits.
Learn about Browser Rendering pricing.
Use Cloudflare's fork of Playwright for testing and automation.
Connect with the Workers community on Discord to ask questions, show what you are building, and discuss the platform with other developers.
Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Workers.