Skip to content
NINJA
← All plugins
WordPressPerformanceTooling
NINJA WebP & Image Optimizer icon

NINJA WebP & Image Optimizer

Compress new image uploads and generate modern WebP copies automatically — entirely on your own server, with no third-party service.

// features
  • Re-compresses JPEG and PNG files at your configured quality target (default 82 for JPEG, 80 for WebP) to reduce file sizes without a visible quality loss.
  • Generates a sibling .webp file next to each size WordPress creates — including the original and all registered thumbnail sizes.
  • Optionally downscales images wider than a maximum width you set, reducing storage and bandwidth for oversized uploads.
  • Stores optimisation results (original bytes, optimised bytes, WebP path) in attachment meta so you can track savings over time.
  • Enable / disable the optimizer globally.
// overview

What it does

NINJA WebP & Image Optimizer re-compresses every image you upload and generates a modern WebP copy alongside it, then serves WebP to browsers that support it — all locally, using the image library already on your server. No SaaS, no API keys, no upload limits, and your media never leaves your site.

Self-contained and free — built in the ninja.si plugin workshop. Need a tailored variant? Open a brief via /request.

// adapt or extend
Need NINJA WebP & Image Optimizer customized?

Open a ticket and we'll scope the change. We add features, swap providers, or branch the plugin entirely if you need something close-but-not-quite.