Ready to use
Shrink an image to a target file size
Upload an image, see its original size, then set the size you want. Compression runs in your browser and keeps quality as high as it can.
Drop an image here, or choose a file.
Original file size is read on this device. Nothing is uploaded.
How it works
Add an image and read the original size. Enter the size you want in KB or MB. The tool tries to stay in the same format.
For JPEG and WebP it usually lowers quality first. For PNG, GIF, and BMP it may scale the picture if quality settings alone cannot hit the target. You will see a note if dimensions had to change.
Some photos are already small. If re-encoding would not help, the original is kept. If the smallest result still overshoots, you can download it anyway or raise the target.
When this helps
Useful for forms with a 200 KB cap, chat apps that crush large photos, or a portfolio that should not ship 8 MB hero images.
It cannot invent detail that was never in the file. A tiny target on a huge photo will look soft. Raise the limit if the preview looks worse than you can accept.
What stays on your device
Compression runs in this tab. The photo is not sent to AyukTools.
Questions about this tool
- Why did the width and height change?
- Some formats have no useful quality slider. Scaling the image was the only way to approach your target size.
- Can I keep the original format?
- Yes. That is the default. Switch to the converter if you also need a different file type.
- Is the photo uploaded?
- No. Everything stays in the browser.
Read next
- Shrink a photo to a file size you can actually send
Set a KB or MB cap, keep the original format when you can, and know when scaling has to happen.
- JPG, PNG, or WebP: which format should you export?
Photos usually belong in JPEG or WebP. Graphics with hard edges often belong in PNG. Convert only when the destination actually needs a different container.