Workers API
Use R2 from Cloudflare Workers.
← R2 / r2
Cloudflare R2 Storage allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services.
You need a Cloudflare account with an R2 subscription. If you do not have one:
R2 is free to get started with included free monthly usage. You are billed for your usage on a monthly basis. Refer to Pricing for details.
Go to Overview ↗R2 supports multiple access methods, so you can choose the one that fits your use case best:
| Method | Use when |
|---|---|
| Workers API | You are building an application on Cloudflare Workers that needs to read or write from R2 |
| S3 | You want to use S3-compatible SDKs to interact with R2 in your existing applications |
| CLI tools | You want to upload, download, or manage objects from your terminal |
| Dashboard ↗ | You want to quickly view and manage buckets and objects in the browser |