# Cloudflare Browser Rendering
[[Cloudflare]] Browser Rendering is a managed headless-browser service: Workers code calls into a [[Puppeteer]]- or [[Playwright]]-compatible API and gets a real Chromium browser running on Cloudflare infrastructure. Use it to render PDFs, take screenshots, extract content, run end-to-end scrapes, or drive any browser automation flow without operating browser fleets yourself.
It's the Cloudflare equivalent of Browserless, Browserbase, and ScrapingBee — but with the Workers binding model: no API keys to juggle, no client SDKs to choose between, just `env.MYBROWSER`.
## Why It Matters
Headless browsers are operationally heavy: container fleets, memory limits, zombie processes, CAPTCHA hell, IP rotation. Browser Rendering handles all of it. For any Worker that needs to "look at a page like a real user would," it's a one-line capability.
Common adjacent to [[Cloudflare Agents SDK]] — AI agents that need to browse the web.
## Core Capabilities
- **Puppeteer-compatible API** (Cloudflare's `@cloudflare/puppeteer`)
- **Playwright support** via REST API
- **Screenshots and PDFs** as one-shot operations
- **Persistent sessions** across requests (paid tier)
- **Egress IPs** distinct from the request origin
## Common Use Cases
- **PDF generation** from HTML — invoices, reports, exports
- **Screenshot APIs** for social-card previews, monitoring, OSINT
- **Scraping** with JavaScript-rendered content
- **End-to-end tests** running on production infra
- **AI agents browsing the web** via [[Cloudflare Agents SDK]]
- **Markdown extraction** from arbitrary URLs
## Limits Worth Knowing
- Concurrent browsers per account (varies by tier)
- Maximum session duration (paid tier extends this)
- Memory per browser instance — heavy pages can OOM
## References
- Browser Rendering home: https://developers.cloudflare.com/browser-rendering/
- Puppeteer fork: https://github.com/cloudflare/puppeteer
## Related
- [[Cloudflare]]
- [[Cloudflare Workers]]
- [[Cloudflare Agents SDK]]
- [[Cloudflare Containers]]
- [[Puppeteer]]
- [[Playwright]]