Skip to content
Pixyro

Compress Image to KB

Make a JPG, PNG or WebP image fit a file-size limit such as 100 KB or 200 KB. Pick a target and get the best quality that fits under it. Your image never leaves your device.

  • Free, no sign-up
  • Images stay on your device
  • Never over your limit

Drag and drop your image here

JPG, PNG or WebP · up to 52.4 MB

How to compress an image to a specific size

  1. Choose an image

    Select the JPG, PNG or WebP image you need to make smaller.

  2. Pick a target size

    Choose 50 KB, 100 KB, 200 KB, 500 KB or 1 MB, or enter your own limit in KB. If the form also has a maximum width and height, turn on “Limit image dimensions” and enter them.

  3. Compress and download

    The best quality that fits under your limit is found automatically. Check the size and download.

When do you need an image under a certain size?

Many forms limit the size of uploaded images: job and university applications, government and visa portals, exam registrations, profile pictures, online marketplaces and email attachments. If yours says something like "maximum 100 KB", choose that as your target and your image will fit.

The tool tries a high quality first and only lowers it as far as needed, so you keep as much detail as the limit allows. The image's width and height stay the same unless you set maximum dimensions: some forms also limit those (for example "at most 1200 × 1200 pixels"), and then a larger image is scaled down to fit, keeping its proportions, before it's compressed.

If the image is still too big

  • Use the Image Resizer to make the image smaller in pixels, which is the most effective way to reach small targets.
  • Use the Image Cropper to cut away parts of the image you don't need.
  • Use the PNG to JPG to turn a large PNG into a much smaller JPG.
  • Use the Image Compressor to compress by choosing a quality level yourself instead of a size.

Frequently asked questions

Will my image be exactly 100 KB?

No. The target is a maximum: the image is compressed to the highest quality that is at or below it, so the result is usually a little smaller, for example 96 KB for a 100 KB target. It is never larger than the target when the target is reached.

How big is a KB here?

1 KB is 1,000 bytes and 1 MB is 1,000,000 bytes, so a 100 KB target means at most 100,000 bytes. Upload forms usually count sizes the same way, but if a form counts 1 KB as 1,024 bytes, a file under our target is still under theirs.

Why couldn't my image reach the target size?

Very large photos can't always get that small at their current dimensions without looking noticeably worse, so the tool stops at a sensible minimum quality instead of ruining the image. It never shrinks the image further on its own. Set smaller maximum dimensions, resize or crop the image, and try again.

Why doesn't this work well for PNG images?

PNG is lossless, so there's no quality setting to lower. The image can only be re-saved, which rarely makes it much smaller. To reach a small target, resize the image or convert it to JPG or WebP.

What happens if my image is already under the target?

It isn't recompressed. You get your original image back, unchanged, so there's no quality loss.

Is it free, and are my images uploaded?

It's free with no sign-up, and your images are never uploaded: compression happens in your browser, on your device.

Does it change the image dimensions?

Only if you ask it to. By default the width and height stay the same and only the file size changes. If you turn on “Limit image dimensions”, a larger image is scaled down to fit within your maximum width and height, keeping its proportions; a smaller one isn't enlarged. Metadata such as camera details and location is removed from the compressed image. If your image is already under the target (and within any maximum dimensions), it isn't recompressed: you get your original file back unchanged, metadata included.

Can I set a maximum width and height as well as a file size?

Yes. Turn on “Limit image dimensions” and enter the maximum width and height in pixels, for example 1200 × 1200. A 4000 × 3000 photo becomes 1200 × 900: it fits inside both limits without being stretched or cropped. The image is resized first, then compressed to your target size.