
Kilobyte Image Optimizer
v1.1.0Joseph · 2026年11月25日 上架
Unlimited free WebP & AVIF optimization in your browser or on site. Keeps original files & links intact, with WordPress Abilities for AI agents.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 48
- 最近更新
- 2026年11月25日
贡献者
截图





Kilobyte Image Optimizer makes smaller WebP and AVIF copies of your WordPress images while keeping your original Media Library files and existing links untouched. Preview the result on one photo before optimizing your library. Processing runs right in your browser or on your WordPress site with no account, no API key, and no monthly quota.
Kilobyte also ships with native WordPress Abilities API support (WordPress 6.9+).
WordPress Abilities let plugins expose specific functionality to an MCP server, such as Uncanny Automator MCP or similar MCP plugins, so your AI assistant can automatically inspect savings, optimize or restore images, regenerate thumbnails, and update preferences out of the box.
Key features
- Unlimited free image optimization across your entire Media Library with no account, API key, monthly quota, or per-thumbnail limits.
- Agent-ready WordPress Abilities API & MCP support registers seven WordPress abilities (
kilobyte/get-stats,kilobyte/get-queue,kilobyte/get-settings,kilobyte/update-settings,kilobyte/optimize-image,kilobyte/restore-image,kilobyte/regenerate-thumbnails) on WordPress 6.9+ with JSON schemas and per-attachment capability checks. Works automatically with Uncanny Automator MCP and similar WordPress MCP plugins. - Live quality preview & single optimize lets you compare compression side by side on any photo from your Media Library or computer. Switch formats and presets live, then click Optimize now (Media Library) or Download copy (local file).
- Selective optimize lets you multi-select specific Media Library photos (paginated for large selections) to optimize a single post, landing page, or gallery without running a full bulk job.
- Bulk image optimization processes your entire Media Library with a live ETA, reload protection, per-reason skip totals, links to unavailable entries, and resume/retry for stopped or failed images.
- Automatic compression on upload creates smaller copies right after WordPress saves the original, using your browser or scheduled background tasks for classic, mobile app, and REST uploads.
- WebP & AVIF conversion + static GIF support converts JPEG, PNG, BMP, and static GIF images to WebP or AVIF while automatically preserving animated GIFs, APNGs, and animated WebPs.
- Browser-first processing + server fallback runs off the main thread in a browser Web Worker (no
exec()required) and falls back to WordPress’s built-in image editor (Imagick or GD) when needed. - Non-destructive originals & one-click restore keep original files and existing URLs intact, serve smaller copies via
<picture>with automatic fallback, and let you restore a single image or click Restore all. - Deferred 24-hour cleanup after restore keeps retired copies available for at least 24 hours for pages already in cache, then cleans up eligible copies in small background batches.
- Resize optimized copies to your maximum width and height while leaving uploaded originals untouched.
- Regenerate thumbnails to rebuild registered WordPress image sizes without breaking existing thumbnail or original URLs.
- Copyable optimization summary copies a plain-text report of optimized counts, estimated transfer savings, and active format in one click.
- Optional auto alt text & image decoding hints fill empty alt text from filenames on upload and hint to browsers how to decode photos.
- Per-attachment permissions & multisite awareness enforce WordPress
edit_postpermissions across REST routes and Media Library controls and scope network lifecycle operations per site. - WP-CLI & developer hooks support
wp kilobyte optimize,wp kilobyte restore,wp kilobyte stats(--reconcile), andwp kilobyte purge-backups, pluskilobyte_io_settings,kilobyte_io_should_optimize,kilobyte_io_after_optimize,kilobyte_io_variant_filename, andkilobyte_io_variant_changed.
Our philosophy
We care about your experience because we are WordPress users too. Kilobyte is designed to feel like a natural part of WordPress:
- Ready right after activation. Works out of the box with no account, API key, or monthly quota. Processing runs in your browser or with your WordPress site’s built-in image editor.
- Calm admin experience. Keeps your WordPress dashboard clean and focused on your media, with simple controls and all settings available out of the box.
- Native WordPress interface. Uses standard WordPress components across four focused tabs: Preview, Selective optimize, Bulk optimize, and Preference.
- Safe by default. WordPress keeps your original Media Library files and existing image URLs untouched. Restore switches delivery back to the original whenever WordPress can verify it.
Why optimize your images?
Large photos slow page loads and burn through mobile data. Smaller WebP or AVIF copies reduce transfer size and help your site load faster. Preview the results on your own photos to choose the right balance between visual quality and file size.
How originals and delivery work
Supported images in posts and featured images serve the smaller WebP or AVIF copy using <picture> fallback while the original remains available for older browsers and direct links. Transfer savings estimate how much smaller the generated copies are. Responsive markup uses the original files when Kilobyte cannot provide a suitable set of copies, and keeping originals uses additional storage. Restore preserves original backups from earlier builds. After you archive those backups, wp kilobyte purge-backups can clear their old records.
Development
Source code and issue tracking are hosted on GitHub.
The editable JavaScript and TypeScript are in src-js/. With Node.js 24.15 or later in the Node.js 24 series, run npm ci and npm run build from the plugin directory. The build writes the browser scripts and dependency manifests to build/.