Stores Payload upload files in Cloudflare R2 buckets instead of local disk
S3 Storage
Stores Payload uploads in Amazon S3 buckets with optional presigned downloads
Installation
pnpm add @payloadcms/storage-s3 About
S3 Storage moves uploaded files for chosen Payload collections off the local disk and into an Amazon S3 bucket. Files stay linked to their documents, so the admin panel and API keep working as before. A path prefix can be set per collection to keep media from different collections apart inside one bucket.
Large uploads can go straight from the browser to S3, which gets around the request size limit on hosts such as Vercel. Downloads can use time-limited signed links, which speeds up delivery of large files like video while access control still applies. The signed link can be limited to specific files, so only the files that need it use it.
Package info
- Package name
@payloadcms/storage-s3- Latest version
3.94.0- Unpacked size
- 90 kB
- License
- MIT
- Weekly downloads
- 562.2k
- Last publish
- Nov 17, 2026
More from payloadcms
View profileAdds a parent field and breadcrumbs to collections so documents can nest inside each other
Sends Payload server errors and selected HTTP errors to Sentry with user context
Adds an SEO tab with meta title, description, image and search preview to collections
Stores collection uploads in Vercel Blob Storage instead of local disk
Lets one Payload admin panel manage content for many separate tenants
Similar adapters
More in StorageStores Payload uploads in Google Cloud Storage buckets, with optional direct browser uploads
Stores Payload uploads in UploadThing file hosting
Stores Payload uploads in Azure Blob Storage, with optional direct browser uploads
Routes Payload upload collections to a custom or third-party cloud storage adapter