Skip to content

Guides

Shrink a photo to a file size you can actually send

How target-size compression works in the browser, and how JPEG, PNG, and WebP behave differently.

Size caps are everywhere

School portals, government forms, and chat apps often reject a file above a few hundred kilobytes. The camera on a modern phone ignores that limit and writes a multi-megabyte original.

The compressor on AyukTools shows the current size, then you type the cap. It tries to stay in the same format so a JPG stays a JPG and a PNG stays a PNG.

Quality first, then scale if needed

JPEG and WebP can often hit a target by lowering quality alone. PNG, GIF, and BMP do not have the same useful quality knob, so the tool may reduce width and height. You will see a note when that happens.

If the photo is already small, re-encoding can make it larger. In that case the original is kept. If even the smallest result overshoots, download it anyway or raise the target.

Compression is not a format change

Need WebP instead of PNG? Use the converter. Need a smaller PNG? Stay on the compressor. Mixing those jobs in your head is how people export three times.

Everything still runs in the tab. The picture is not sent to AyukTools. If the preview looks too soft, the cap is too low for that photo. Raise it rather than repeating a destructive export.

Other guides