Free, with no limits
Optimize as many images as you like. There is no account, no API key, and no monthly quota.
Your original files stay untouched.
Kilobyte makes smaller WebP and AVIF copies of the images in your Media Library. Your original files and existing links stay exactly as they are, and you can test one photo before you optimize the rest.
The demo site is a real WordPress site that runs in your browser, with Kilobyte and 3 sample images already set up.
Optimize as many images as you like. There is no account, no API key, and no monthly quota.
Kilobyte saves each smaller image as a separate copy. Your original files and their links stay the same.
An AI assistant connected to your site can check savings, optimize images, and restore them for you.
Try it on this page
Choose a photo, or drop one onto the card below. The compression runs here in your browser, so the photo never leaves your device. Drag the handle across the picture to compare the original with the smaller copy.
Drop one or more images here, or click to browse
Accepts JPEG, PNG, WebP, AVIF, still GIF, or BMP (up to 24 MB / 40 MP). Processed 100% locally in your browser.
Drop multiple files to process up to 3 concurrently in browser Web Workers.
Standalone browser utilities
Use Kilobyte’s free local image utilities directly in your browser—built on the same local browser core, extended with optional WebAssembly codecs for PNG, WebP, and AVIF. Zero uploads, no accounts, and batch ZIP export.
Optimize JPEG, PNG, WebP, AVIF, GIF, or BMP locally with live before/after inspection.
Shrink PNG screenshots, logos, and transparent graphics via palette quantization or lossless OxiPNG.
Convert JPEG photographs into lightweight WebP copies with real measured savings.
Convert JPEG photos to compact AVIF files with native speed and WASM fallback.
Resize photos to exact width/height or common web sizes with aspect-ratio lock and high-quality scaling.
Batch compress and convert dozens of photos in parallel with live totals and ZIP export.
Why Kilobyte
Kilobyte adds one screen under Media in your WordPress admin. It shows no ads, asks for no account, and never changes your original files.
There is no account to create and no API key to paste. Images are compressed in your browser, or by the image editor your WordPress site already has.
Kilobyte shows no upgrade banners. Every setting you see is included and free.
The Kilobyte screen is built from WordPress’s own interface components, so it looks and behaves like the rest of your admin.
Browsers that cannot show WebP or AVIF get your original image. If you restore an image, the old copies stay available for at least 24 hours, so cached pages keep working.
Inside the plugin
Kilobyte has four tabs, and it adds one line to each image in your Media Library. Select a picture to view it full size.
For developers and AI assistants
Kilobyte follows the WordPress VIP Go coding standards, loads no Composer packages in production, and is covered by more than 510 integration tests that run against real WordPress.
// Available in PHP, over REST at /wp-json/wp-abilities/v1/,
// and through MCP adapters.
$stats = wp_get_ability( 'kilobyte/get-stats' )->execute();
$queue = wp_get_ability( 'kilobyte/get-queue' )->execute(
array(
'mode' => 'optimize',
'per_page' => 25,
)
);
$result = wp_get_ability( 'kilobyte/optimize-image' )->execute(
array( 'attachment_id' => 42 )
);
// The other four abilities:
// kilobyte/get-settings kilobyte/update-settings
// kilobyte/restore-image kilobyte/regenerate-thumbnails
# See how much your Media Library has saved.
wp kilobyte stats
wp kilobyte stats --reconcile
# Optimize the next 100 images that still need it.
wp kilobyte optimize --limit=100
# Restore one image, or every image.
wp kilobyte restore 42
wp kilobyte restore --all
# Clear old backup records after you archive them.
wp kilobyte purge-backups
// Lock settings in code across client sites.
add_filter(
'kilobyte_io_settings',
static function ( array $settings ): array {
$settings['format'] = 'webp';
$settings['quality'] = 80;
return $settings;
}
);
// Skip chosen images.
add_filter(
'kilobyte_io_should_optimize',
static function ( bool $run, int $id ): bool {
return $run && ! get_post_meta( $id, '_keep_original', true );
},
10,
2
);
// Purge your page cache when a copy is created or restored.
add_action(
'kilobyte_io_variant_changed',
static function ( int $attachment_id ): void {
// Call your host or cache plugin here.
}
);
Questions
Yes. Kilobyte is free, has no limits, and needs no account. Images are compressed in your own browser, or by your WordPress site’s image editor, so there are no compression servers for anyone to pay for.
No. Kilobyte keeps your original files and their links, and saves each smaller WebP or AVIF image as a separate copy. Browsers that cannot show the copy get the original. If you restore an image, the old copies stay available for at least 24 hours, so cached pages keep working. If your page cache keeps pages for longer than a day, clear the affected pages after you restore.
Kilobyte checks each image before it compresses anything. Animated GIFs, APNGs, and animated WebPs are left exactly as they are, so the animation keeps working. Still GIFs can get smaller WebP or AVIF copies.
WordPress 6.6 or newer and PHP 7.4 or newer. Your host also needs GD or Imagick, the standard WordPress image editors, which almost every host has. Kilobyte does not need exec() or any extra server software.
Yes. On WordPress 6.9 and newer, Kilobyte registers seven abilities through the WordPress Abilities API. An AI assistant or MCP adapter connected to your site can read savings, list the images still waiting, optimize or restore an image, regenerate thumbnails, and change settings. WordPress checks the user’s permissions on every call.
Install Kilobyte Image Optimizer from WordPress.org, or try it first in a demo WordPress site that runs in your browser.