Deploy your first Browser Rendering project using Wrangler and Cloudflare's version of Puppeteer.
Browser Rendering
Browser automation for Cloudflare Workers and quick browser actions.
Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network. This facilitates tasks such as automating browser interactions, capturing screenshots, generating PDFs, and extracting data from web pages.
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 Binding API: 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 the Workers Binding API for complex automation within the Cloudflare ecosystem.
Browser Rendering can be utilized for various purposes, including:
- Fetch HTML content of a page.
- Capture screenshot of a webpage.
- Convert a webpage into a PDF document.
- Take a webpage snapshot.
- Scrape specified HTML elements from a webpage.
- Retrieve data in a structured format.
- Extract Markdown content from a webpage.
- Gather all hyperlinks found on a webpage.
Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.
A globally distributed coordination API with strongly consistent storage.
Build and deploy AI-powered agents that can autonomously perform tasks.
New to Workers? Get started with the Workers Learning Path.
Learn about Browser Rendering limits.
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?
- Products
- 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