Skip to content
PocketDesk
Your files are processed on your device, never uploaded

Compress image to 30KB

Get your image under 30KB without uploading it anywhere.

  • No upload
  • Up to 100 files
  • No sign-up

Drop images here

or paste from your clipboard

80%, looks very close

How to compress an image to 30KB

  1. Select Choose files, or drop a JPG, PNG or WebP image on the box.
  2. The tool aims for under 30KB, which is 30,720 bytes here. It tests quality levels from 95 down to 40 percent and keeps the sharpest result that fits.
  3. If 40 percent is still too big, it shrinks the width and height by 15 percent at a time until the file fits.
  4. Select Download. The result ends in -compressed, so your original is untouched.

Where a 30KB limit comes from

A 30KB limit sits just above the smallest form caps. Profile photo fields on some portals and small thumbnails in content systems ask for this size, because it loads instantly even on a weak mobile connection.

What 30KB means in pixels

30KB is 30,720 bytes, or 245,760 bits. Divide that by the number of pixels and you get the bits each pixel can use. Photos look fine at about 1.5 bits per pixel or more, and the table shows how common sizes fare at 30KB.

Picture size Pixels Bits per pixel At 30KB
640×480 307,200 0.80 soft, expect some shrinking
1024×768 786,432 0.31 too tight, the tool shrinks the picture
1600×1200 1,920,000 0.13 too tight, the tool shrinks the picture
4000×3000 12,000,000 0.02 too tight, the tool shrinks the picture

At 1.5 bits per pixel, 30KB holds a picture of about 467×350 pixels in a 4:3 shape (163,450 pixels). Thirty kilobytes is enough for a clear, face-sized photo at a few hundred pixels across, but not for a full phone photo. A 12 megapixel camera shot will be scaled down a lot. Passport style pictures with a flat background usually come out clean.

Tips

Your images stay on your device. Nothing is uploaded, and there is no sign-up.

Questions

Is 30KB enough for a passport style photo?

For a small web upload, yes, if the photo is a few hundred pixels across with a plain background. It is not enough for a print-quality photo.

Does the tool keep my image in JPG format?

JPG stays JPG and WebP stays WebP. A PNG is saved as WebP, because PNG has no quality setting that can reach a size target.

How is this different from the 20KB page?

The target is 50 percent larger, so the tool keeps more pixels and a higher quality setting. Pick the one that matches the limit on your form.

How many bytes is 30KB?

In this tool 30KB is 30,720 bytes, counting 1KB as 1024 bytes. A site that counts 1KB as 1000 bytes would allow 30,000 bytes, so the result is kept a little under to be safe.

More image tools