SwiftToolpad

Compress an image to a target size in KB

Shrink a photo to fit a file-size limit.

Loading the file picker…Produces a JPG copy. Transparent areas turn white. 1 KB = 1,000 bytes.

How it works

Set a maximum in decimal KB. The tool tries JPEG quality levels and, if permitted, reduces pixel dimensions. Transparent areas become white. A JPEG already under the limit can be downloaded unchanged.

Example · For a form with a 200 KB limit, enter 200 and allow smaller dimensions. Compare the downloaded image size with the limit before submitting.

How to use this tool

  1. Choose a still JPG, PNG or WebP from your device. Keep your source photo available while you work on the copy.
  2. Enter the upload limit in KB and choose whether the picture can get smaller in pixels.
  3. Open the JPG at its actual size. Check small print and compare the byte count with the limit on the destination form.

Common questions

Why did compression stop above my target?

At a fixed width and height, even the lowest JPEG quality can exceed a small cap. Allow smaller dimensions or ask whether the recipient accepts a larger file. A 200 KB cap here means 200,000 bytes.

What files and sizes can I use?

Still JPG, PNG and WebP are supported. The input image can contain up to 26 megapixels and each side can measure up to 16,384 pixels. An animated image needs a still frame before you use it here. The selected file must be 40 MB or smaller.

Where do my files go?

Your browser reads the selected files on this device. SwiftToolpad does not upload the contents for processing. The download is a separate copy. You can reopen your original if you want to try different settings.