Choose between REST API and Workers Bindings, then 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.
Browser Rendering supports a wide range of use cases, including:
- Extract rendered HTML or convert webpages to Markdown using the content endpoint and markdown endpoint
- Create website thumbnails and social previews using the screenshot endpoint
- Generate PDFs from webpages and HTML content using the pdf endpoint
- Archive complete webpage states with the snapshot endpoint that captures both HTML and screenshots
- Build web scrapers that target specific elements or extract all links using the scrape endpoint and links endpoint
- Parse and structure webpage data into JSON format using the json endpoint
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.
- 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)
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.
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.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark