R2 Cleanup Tool
Validate Cloudflare R2 credentials, preview a folder-like prefix, and delete objects in safe batches without storing what users enter.
Temporary secrets only
Uses our server
Your R2 credentials are sent to our server over HTTPS with each request and are never saved.
1. Connect to R2
Credentials stay in memory only for the current browser session and are sent to the server only over HTTPS requests.
Browse folders
Validate first, then click folders to pick a prefix quickly.
2. Preview scope
We scan the selected scope in batches so large buckets do not time out.
Objects
0
Total size
0 B
Current target
Bucket/[prefix]
Sample keys
Examples
Delete an old upload folder
Input
Bucket "media", folder prefix uploads/2024/
Output
A preview of the objects under that prefix, then deletion in batches once you confirm.
Questions and answers
What do I need to connect?
Your Cloudflare account ID, the bucket name, and an R2 API token's access key ID and secret access key. A token limited to that one bucket is the safest choice.
Can I undo a deletion?
No. Objects deleted from R2 cannot be recovered, which is why the tool shows a preview before anything is deleted.
Are my keys stored?
No. They are kept in memory for this browser session only and sent to our server over HTTPS with each request. They are never written to the URL, local storage, cookies or the server's disk.