Create new buckets
You can create a bucket from the Cloudflare dashboard or using Wrangler.
Create a bucket with the r2 bucket create
command:
wrangler r2 bucket create your-bucket-name
List buckets in the current account with the r2 bucket list
command:
wrangler r2 bucket list
Delete a bucket with the r2 bucket delete
command. Note that the bucket must be empty and all objects must be deleted.
wrangler r2 bucket delete BUCKET_TO_DELETE
- Bucket names and buckets are not public by default. To allow public access to a bucket, visit the public bucket documentation.
- Invalid (unauthorized) access attempts to private buckets do not incur R2 operations charges against that bucket. Refer to the R2 pricing FAQ to understand what operations are billed vs. not billed.
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