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
Upload objects
Download objects
Delete objects
Expand: API
API
Expand: S3
S3
S3 API compatibility
Extensions
Generate an S3 auth token
Presigned URLs
Expand: Workers API
Workers API
Use R2 from Workers
Use the R2 multipart API from Workers
Use R2 in a Worker
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
Mastodon
Postman
rclone
Terraform
Use the Cache API
Expand: Reference
Reference
Storage Options guide
External link icon
Open external link
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
Reference
Reference
Changelog
Consistency model
Data security
Limits
Unicode interoperability