Active installs
3K+
Subscription includes
Support
Amazon S3 Storage for WooCommerce serves your downloads from Amazon S3 or Cloudflare R2 instead of your web server. WooCommerce’s built-in downloads work until your files get large or your traffic gets serious: Force Download streams every file through PHP, and Redirect serves raw URLs that customers can share. Here, your downloads sit in a bucket you own, and customers get a short-lived signed link when they click, so big files stop passing through your server and links stop working once they expire, after 15 minutes by default.
It fits stores that sell video courses, audio albums, software or photo sets. You choose the provider, the bucket and how long each link lasts.
Pick Amazon S3 or Cloudflare R2 on the WooCommerce » Settings » S3 storage tab, paste your access key ID and secret access key, and save. When the keys work, the page confirms the connection and the rest of the settings appear. Store the keys encrypted in your database, or define them as constants in your wp-config.php file if you’d rather keep them out of it. Cloudflare R2 also asks for your endpoint, and a pasted bucket URL is trimmed to the base address for you.

Choose the bucket that automatic offloading uploads to from the list of buckets your keys can see. With Amazon S3 you can create a new bucket from the same screen: enter a name and a region, and the plugin creates it when you save. You can also turn on Transfer Acceleration to route uploads and downloads through Amazon’s edge locations, after enabling it on the bucket too. Cloudflare R2 buckets are created in your Cloudflare account first, then picked here.

Save a downloadable product and each new file from your media library is queued and uploaded to your bucket in the background through WooCommerce’s Action Scheduler, so you never wait on a big upload. Every file shows an S3 status: Queued, Processing, Offloaded, Failed or Not found. The local copy stays on your server, and downloads come from the bucket once a file is offloaded. Products you already have are offloaded the next time you save them, so you can move a catalog over at your own pace.

Some files are already in a bucket, or are too big to upload from your store. Link them with the [amazon_s3] shortcode in a product’s file URL, and use the Add S3 file shortcode button to build it for you. Only the object name is required; the bucket and region fall back to your settings. Shortcodes can point at any bucket your keys can read, so automatic offloading can use one bucket while other files stay where they are.

Download links in the order confirmation, the order emails and My account stay the same, and WooCommerce still checks access and download limits first. When a customer clicks, the plugin swaps in a signed link to the file in your bucket, and their browser downloads it from there, not through your web server. Force redirect method is on by default and works for Amazon S3, Cloudflare R2 and the experimental providers. Files that are not offloaded keep downloading from your server.

Every signed link expires. Set the URL validity period to anything from 1 minute to 7 days; the default is 15 minutes. The plugin reuses a link until it expires, so a customer who clicks again within the period gets the same link, and a copied link stops working when the period ends. WooCommerce’s own download limits and expiry still apply on top. Choose Force download if browsers play audio or open PDFs when customers expect a saved file, so an album arrives as files rather than a stream.

Amazon S3 Storage works on its own. Selling plugins or themes? API Manager for WooCommerce can use an Amazon S3 URL as a product’s update file, while S3 Storage serves the rest of your customer downloads. Selling downloads to members? Constellation gives members access to your content, and S3 Storage delivers the downloadable files you sell from your bucket with expiring links.
Requires WordPress 6.3 or later, WooCommerce 8.2 or later and PHP 7.4 or later, plus PHP OpenSSL to save keys in the database. It works with the Cart and Checkout blocks and High-Performance Order Storage. Built and supported by Kestrel, a long-time WooCommerce extension developer. Read the Amazon S3 documentation, or contact Kestrel support if you need help getting started.

You need an Amazon Web Services account for Amazon S3, or a Cloudflare account with R2 enabled. Your provider bills you for storage and transfer, so compare Amazon S3 and Cloudflare R2 pricing against your monthly download volume before you choose.
Amazon S3 and Cloudflare R2 are supported natively. Wasabi, Backblaze B2 and DigitalOcean Spaces work experimentally with a code snippet, and support for them is best effort. Choose Amazon S3 or Cloudflare R2 if you want fully supported, built-in settings.
Each file goes up in a single upload, which Amazon S3 limits to 5 GB. For a larger file, upload it to your bucket yourself and link it with the [amazon_s3] shortcode.
Existing products are offloaded the next time you save them in the product editor. Nothing is uploaded until then, and customers get the local file in the meantime, so no download breaks while you move products over.
Fifteen minutes by default. You can set the URL validity period from 1 to 10,080 minutes. A signed link is reused until it expires, then a new one is created on the next click.
It offloads product downloadable files only, not your media library or product images. Automatic offloading uses one default bucket; other buckets are reached with shortcodes. Files sit at the bucket root under their file name, so two files with the same name overwrite each other. A failed upload isn't retried on save: re-upload it as a new media file.
Categories
Extension information
Quality Checks
Countries