S3 Image Optimizer icon

S3 Image Optimizer

S3 Image Optimizer is a WordPress plugin with the following stats:

  • #6,978 Global Rank
  • 200+ active installs
  • 5/5 1 ratings
  • Since 2021 5 years active

PF Score (About PF Scores)

PF Score is not a quality guarantee. It is a ranking based on available public signals.

Silver61.6
+3.7 · 30d
Platinum
Gold
Silver
Bronze
Low

Score Breakdown

+3.7 over the last 30 days

38.4
Popularity 40% 200+ active installs
61.9
Reputation 35% 5★ from 1 ratings
98.4
Freshness 25% Updated 19 days ago

No vulnerability history

Download Trends

Loading download data…

Vulnerabilities

No known vulnerabilities

This plugin has no records in the Wordfence Intelligence vulnerability database.

About S3 Image Optimizer

Compress images in Amazon S3 buckets using lossless and lossy optimization methods via the EWWW Image Optimizer.

The S3 Image Optimizer will optimize all your images in 1-1,000+ Amazon S3 buckets using the EWWW Image Optimizer. Since EWWW IO integrates directly with plugins like WP Offload Media, S3 IO is generally for folks who use a solution other than WP Offload Media to put their images on S3. But, if you have 20 sites sharing an S3 bucket, or have lots of buckets, and you would want to optimize them all from one place instead of 20 different sites, this is the plugin for you.

S3 IO features a web-based bulk optimization process, and a WP-CLI interface for massive buckets. S3 IO works with any S3-compatible storage service including Linode, Backblaze B2 and Digital Ocean Spaces.

You may report security issues through our Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. Report a security vulnerability.

Credits

Written by Shane Bishop with special thanks to my Lord and Savior.

Frequently Asked Questions

What happens if I have so many images that the S3 Bulk Optimizer keeps timing out?

If you have configured S3 IO to optimize all your buckets, try a single bucket to see if that will work. If that still doesn’t work, use the S3_IMAGE_OPTIMIZER_FOLDER setting above to restrict optimization to a specific folder. This way you can optimize a single bucket by configuring each folder within the bucket, running the S3 Bulk Optimizer, and then moving to the next folder.

If the last option has you groaning, see if your web host supports WP-CLI. Using WP-CLI allows you to avoid any timeouts, and solves a whole host of issues with long-running processes. The wp-cli help s3io optimize command should get you going.

If you’ve tried everything, and WP-CLI isn’t an option with your web host, find a web host that DOES support WP-CLI. It’s pretty easy to find a cheap host that supports WP-CLI, like GoDaddy. While I wouldn’t recommend GoDaddy for hosting, if you want a cheap solution to run WP-CLI, it works. Remember that S3 IO is site agnostic, so you can run it from a site completely separate from the site(s) that your S3 images belong to. You could also fire up a Digital Ocean droplet with WordPress pre-installed for $5 and put WP-CLI on there. When you’re done, you can make a backup image of the droplet and destroy it so that you aren’t paying for usage all the time.

What about X, or Y, or maybe even Z?

Most problems we’ve seen are either permissions-related, or covered by the timeout stuff above. If you have a question, shoot us an email!

Ratings & Reviews

Recent Reviews

Loading reviews…

View all reviews on WordPress.org (opens in a new tab)

Changelog

3.0.1

Release Date – July 29, 2026

  • updated: AWS SDK to latest version
  • fixed: styling of page numbers on bulk results
  • fixed: previous/first buttons disabled incorrectly during bulk operation
  • fixed: use WP_Filesystem instead of direct PHP filesystem calls where possible

3.0.0

Release Date – March 4, 2026

  • added: support for optimizing WebP image uploads
  • added: support for WebP naming mode in EWWW Image Optimizer
  • added: utility for migrating between WebP naming modes
  • added: utility to remove all WebP image copies from S3
  • added: option to force re-optimization of previously optimized images
  • added: option to only generate WebP images
  • improve: optimize by URL handles path-style URLs and 404 errors better
  • changed: bulk optimizer results consolidated with image table for less memory usage and simpler navigation
  • changed: AWS exception handling catches more errors and is more readable
  • updated: AWS SDK to latest version
  • fixed: duplicate records created when size of object in bucket changes
  • fixed: uncaught PHP exception when checking ownership controls on older buckets where policy is not explicitly set
  • fixed: multiple strings missing i18n
  • fixed: undefined variables in exception handlers
  • fixed: some strings missing i18n
  • fixed: malformed AJAX responses not handled properly during bulk optimization
  • security: missing some capability checks

2.6.1

Release Date – August 15, 2024

  • added: override auto-detected object ownership enforcement via S3IO_OBJECT_OWNERSHIP_ENFORCED constant or s3io_object_ownership_enforced filter: set either to true to disable per-object acls
  • fixed: optimize by URL incorrectly overwrites previous optimization results if multiple buckets have objects with identical paths

2.6.0

Release Date – August 1, 2024

  • added: support for buckets with object ownership enforced
  • added: force usage of path-style endpoint with S3_IMAGE_OPTIMIZER_PATH_STYLE
  • changed: improved error handling for optimize by URL
  • changed: bumped minimum WP and PHP versions
  • fixed: malformed image size information in optimization table

2.5.1

Release Date – September 20, 2023

  • changed: use updated WP coding standards
  • changed: cleanup AWS SDK folder

2.5.0

Release Date – June 22, 2023

  • added: compatibility with EWWW Image Optimizer 7+ and better future-proofing to detect compatibility errors
  • updated: AWS SDK to latest version
  • updated: improved PHP 8.2 compatibility, though there are still (non-critical) deprecation notices from the AWS SDK

2.4.3

Release Date – November 10, 2022

  • changed: display the values of any constants defined for endpoint, region, or folder restriction
  • fixed: check if the bucket list is an array before sanitizing

2.4.2

Release Date – October 5, 2022

  • added: define custom endpoint for any S3-compatible storage via S3_IMAGE_OPTIMIZER_ENDPOINT
  • fixed: cleanup of WebP copies using incorrect path

2.4.1

Release Date – June 21, 2022

  • fixed: PHP notice when updating db records
  • removed EDD_SL_Updater file/class

2.4.0

Release Date – June 17, 2021

  • fixed: failure in creating s3io/ working directory silently breaks bulk tools
  • fixed: sanitation for error messages was too aggressive
  • fixed: listBuckets error displayed even when S3_IMAGE_OPTIMIZER_BUCKET is defined

2.3

Release Date – November 24, 2020

  • fixed: conflict getting local uploads directory when S3 Uploads plugin is active

2.2

Release Date – August 13, 2020

  • added: generate and upload WebP version of your images in accordance with EWWW IO settings (WebP Conversion and Force WebP)
  • fixed bulk toggle-arrow styling
  • additional sanitizing and escaping for better security

2.1

Release Date – March 30, 2020

  • updated AWS SDK to v3, let us know if you encounter errors
  • catch errors when defined region is incorrect
  • added ability to remove license key (e.g. if you entered it wrong)
  • rewrote bucket scanning to use AJAX in order to avoid timeouts
  • fixed delay not working for WP-CLI
  • display configuration errors when run from WP-CLI
  • fixed S3IO_DOSPACES constant not working
  • fixed scanner broken on objects with apostrophes
  • fixed URL optimizer with url-encoded characters (like spaces = %20)

2.0

Release Date – August 14, 2019

  • added compatibility with Digital Ocean Spaces
  • lots of code cleanup and sanitation

Earlier versions

Please refer to the separate changelog.txt file.

Alternatives to S3 Image Optimizer

Other WordPress plugins serving a similar purpose, ranked by relevance and PF Score.

Platinum98.8
WP Fastest Cache – WordPress Cache Plugin icon

WP Fastest Cache – WordPress Cache Plugin

Caching tool that accelerates site performance through simplified page caching and Core Web Vitals optimization.

★ 4.9/5·1.0M+ installs·Updated 3 Aug 2026
Platinum98.2
LiteSpeed Cache icon

LiteSpeed Cache

Delivers caching and resource optimization to accelerate page load times and improve PageSpeed scores.

★ 4.8/5·7.0M+ installs·Updated 5 Aug 2026
Platinum95.3
W3 Total Cache icon

W3 Total Cache

Caching system supporting page, CDN, minify, object, fragment, and database layers for performance optimization.

★ 4.4/5·900K+ installs·Updated 10 Aug 2026
Platinum93.4
Autoptimize icon

Autoptimize

Optimizes JavaScript, CSS, images, HTML, and fonts to improve website performance and page speed metrics.

★ 4.7/5·800K+ installs·Updated 4 Apr 2026
Platinum93.2
Imsanity icon

Imsanity

Automatically resizes large image uploads to save storage space and improve performance.

★ 4.9/5·200K+ installs·Updated 28 Jul 2026
Platinum92.4
Firelight Lightbox icon

Firelight Lightbox

Opens images, videos, PDFs, and popups in responsive lightbox overlays.

★ 4.8/5·200K+ installs·Updated 16 Jul 2026
Platinum91.5
Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance icon

Advanced Database Cleaner

Removes orphaned data and expired transients to clean and optimize your WordPress database.

★ 4.9/5·100K+ installs·Updated 13 Jul 2026
Platinum90.9
Responsive Lightbox & Gallery icon

Responsive Lightbox & Gallery

Display images in lightbox overlays and build responsive galleries for WordPress sites.

★ 4.9/5·100K+ installs·Updated 19 Jun 2026
Platinum89.5
WP-Sweep icon

WP-Sweep

Removes unused and orphaned data from WordPress databases and optimizes table performance.

★ 4.7/5·100K+ installs·Updated 10 Aug 2026
Platinum88.9
Seraphinite Accelerator icon

Seraphinite Accelerator

Optimizes site speed through caching and performance enhancements for improved user experience and search engine performance.

★ 4.8/5·50K+ installs·Updated 31 Jul 2026
Platinum88.8
10Web Booster – Website speed optimization, Cache & Page Speed optimizer icon

10Web Booster

Improves site speed through caching, image optimization, and code minification to meet Core Web Vitals standards.

★ 4.6/5·70K+ installs·Updated 12 Aug 2026