Skip to main content

Shrink WordPress images to WebP & AVIF.

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.

A Renaissance-style painting of a scholar who holds up a light 507 KB picture next to a heavy 3.81 MB stone slab bound in chains

Free, with no limits

Optimize as many images as you like. There is no account, no API key, and no monthly quota.

Your originals are kept

Kilobyte saves each smaller image as a separate copy. Your original files and their links stay the same.

Works with AI assistants

An AI assistant connected to your site can check savings, optimize images, and restore them for you.

Try it on this page

See how much smaller your own photo gets.

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.

Quality preview

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.

Output format
Compression preset
Original
--
Waiting for image
Output (WebP)
--
Local encoder ready
Measured change
--
Select an image to measure
Loading sample photo locally...

Why Kilobyte

Designed to feel like a missing WordPress Core feature.

Kilobyte adds one screen under Media in your WordPress admin. It shows no ads, asks for no account, and never changes your original files.

Works on activation

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.

No ads or upsells

Kilobyte shows no upgrade banners. Every setting you see is included and free.

Looks like WordPress

The Kilobyte screen is built from WordPress’s own interface components, so it looks and behaves like the rest of your admin.

Safe by default

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.

Input formats
JPEG, PNG, BMP, static GIF
Output copies
WebP & AVIF (originals kept)
Browser safety cap
24 MB / 40 MP (server fallback)
Requirements
WordPress 6.6+, PHP 7.4+, GD/Imagick
License & privacy
GPL-2.0+, zero third-party uploads

Inside the plugin

See every Kilobyte screen before you install.

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

Run Kilobyte from code, the command line, or an AI assistant.

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.

WordPress Abilities API
On WordPress 6.9 and newer, Kilobyte registers seven abilities that AI assistants and MCP adapters can call. Each one has a JSON schema and checks the user’s permission for the image.
WP-CLI
Check savings, optimize in batches, restore images, and clear old backup records from your terminal or deploy scripts.
PHP hooks
Lock settings in code across client sites, skip chosen images, and purge your page cache when a copy is created or restored.
WordPress 6.9 and newer
// 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

Questions

What people ask before they install.

Is Kilobyte really free and unlimited?

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.

Will it overwrite my original photos or break cached pages?

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.

What happens to animated GIFs, APNGs, and animated WebPs?

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.

What does my site need to run Kilobyte?

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.

Can an AI assistant use Kilobyte?

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.

Make your images smaller today, and keep every original.

Install Kilobyte Image Optimizer from WordPress.org, or try it first in a demo WordPress site that runs in your browser.

Screen preview

Browser utilities · 100% local

What would you like to do?

Every tool runs locally in your browser — no uploads, no account, and no file limits.

Compress

Convert format

Resize & batch

Files never leave your device.

Browse all 9 tools