FitPixelKit
Menu

Compress Image to 30 KB

30 KB leaves room for a clear passport-style photo at the sizes most forms ask for. Choose your photo and download a file that stays under the limit.

Drop an image hereJPG, PNG, WebP or GIF, up to 40 MB and 50 megapixels.
Also change dimensions
Crop to fill cuts off the edges. Fit with border keeps the whole image and adds a border. Stretch changes the proportions.
Target file size
Some sites count 1 KB as 1024 bytes and others as 1000. The safe option keeps the file under the stricter of the two.

Choose an image to see the result here.

Your image is processed in this browser and never uploaded. Close the tab and it is gone.

30 KB at a glance

30 KB with 1 KB = 1024 bytes
30,720 bytes
30 KB with 1 KB = 1000 bytes
30,000 bytes
Our safe target
Up to 29,700 bytes
A plain-background portrait at good quality
About 405 × 607 px

What fits in 30 KB

How large a photo can stay, in pixels, when it is saved as a JPG of this size. Detail is what costs bytes, so the answer depends on the kind of photo.

Photo typeGood qualityFair quality
Portrait on a plain backgroundabout 405 × 607 px
prints sharp up to about 3.4 × 5.1 cm at 300 dpi
about 556 × 834 px
prints sharp up to about 4.7 × 7.1 cm at 300 dpi
Everyday photo with lots of detailabout 459 × 304 px
prints sharp up to about 3.9 × 2.6 cm at 300 dpi
about 630 × 418 px
prints sharp up to about 5.3 × 3.5 cm at 300 dpi
Scanned text pageabout 220 × 312 px
prints sharp up to about 1.9 × 2.6 cm at 300 dpi
about 304 × 429 px
prints sharp up to about 2.6 × 3.6 cm at 300 dpi

How we estimated this: we ran our own compressor on three reference photos (a portrait against a plain wall, a detailed outdoor photo and a text page scanned at 200 dpi) and recorded the largest size that stays within the target at JPG quality 80 (good) and 60 (fair). Your photo will land near these numbers; a busier photo lands lower, a cleaner one higher.

Sources

jSquash MozJPEG 1.6.0 ·

Where 30 KB comes up

  • Photo uploads with a 30 KB maximum on government and recruitment portals.
  • A margin under a 50 KB limit when you are not sure how the form counts KB.
  • Small product or profile images for sites with a per-image limit.

How the tool reaches 30 KB

The tool first turns the photo upright and removes camera data. It then saves it as a JPG, trying different quality settings and keeping the highest quality that stays within the limit.

If even a modest quality is still too large, it reduces the dimensions step by step before lowering quality further, so you get a smaller but clean image instead of a full-size blurry one.

It aims one percent below the limit, so a form that rounds sizes a little differently still accepts the file.

Common questions

How many bytes is 30 KB?

30,720 bytes if 1 KB is counted as 1024 bytes, or 30,000 bytes if it is counted as 1000. Forms rarely say which they use, so by default the tool keeps the file under 29,700 bytes, which passes either way.

Will compressing to 30 KB change the dimensions of my photo?

Only if it has to. The tool keeps the original pixel size when the photo fits at a reasonable quality, and reduces it only when that is the only way to reach 30 KB without the photo turning blocky. If the form also asks for exact dimensions, open “Also change dimensions” and enter them.

Is my photo uploaded anywhere?

No. The compression runs in your browser on your own device. You can disconnect from the internet after the page has loaded and the tool still works.

My photo is 2 MB. Can it really go down to 30 KB?

Yes. Most of a phone photo's size comes from its 12 or more megapixels. A form photo needs far fewer, so the tool reduces the pixels to a sensible size and the file drops by a factor of 50 or more without looking blocky.

Other sizes