Skip to content
Cloudflare Docs logomark
Cloudflare
Docs
R2
Navigation menu icon
Open external link
Cloudflare Docs logomark
Cloudflare
Docs
R2
Dropdown icon
R2 menu
Cloudflare homepage
Overview
Get started
Data Migration
Expand: Buckets
Buckets
Create new buckets
Public buckets
Configure CORS
Data location
Object lifecycles
Expand: Objects
Objects
Multipart upload
Upload objects
Download objects
Delete objects
Expand: API
API
Expand: S3
S3
S3 API compatibility
Authentication
Extensions
Presigned URLs
Expand: Workers API
Workers API
Use R2 from Workers
Use the R2 multipart API from Workers
Workers API reference
Expand: Examples
Examples
Expand: AWS
AWS
aws CLI
aws-sdk-go
aws-sdk-js
aws-sdk-js-v3
aws-sdk-net
aws-sdk-php
aws-sdk-ruby
aws4fetch
boto3
Configure custom headers
Expose an R2 bucket to the Internet via a Worker
Mastodon
Postman
rclone
Terraform
Terraform (AWS)
Use the Cache API
Expand: Reference
Reference
Storage Options guide
External link icon
Open external link
Audit Logs
Changelog
Consistency model
Data security
Limits
Unicode interoperability
Pricing
Give Feedback
GitHub icon
Visit R2 on GitHub
Search icon (depiction of a magnifying glass)
Light theme icon (depiction of a sun)
Dark theme icon (depiction of a moon)
Set theme to dark (⇧+D)
Products
R2
API
S3
S3 APIs
S3 API compatibility
Authentication
Extensions
Presigned URLs