Compress Image to 30KB

Compress an image to 30 KB as a JPG, the cap on Kerala PSC and Pakistan FPSC photos. All 20 of our phone photos fit, at a median width of 511 px.

How to use Compress Image to 30KB

  1. 1Upload a JPG, PNG, or WebP image.
  2. 2Pixohub automatically searches for the highest quality that fits under 30KB.
  3. 3Check the resulting file size shown on the page.
  4. 4Download your image, now 30KB or smaller.

Features

  • Automatically targets 30KB — no manual guessing
  • Keeps quality as high as the size budget allows
  • Runs entirely in your browser; nothing is uploaded
  • Free, unlimited, no signup or watermark

Compressing an image to 30KB: what to expect

30 KB gives a phone photo about 510 pixels of width in our test, close to double the 10 KB result and enough for a face to look clean on an application form. The median photo still keeps under 2% of its original pixels, so treat the result as a thumbnail of the original, not a copy of it.

The size shows up as a photo cap on public service commission forms, such as Kerala PSC and Pakistan's FPSC. The target dimensions are the decision that matters: Kerala PSC asks for 150 × 200 pixels, and a photo that small will likely fit under 30 KB with little compression, so resize first and let this page check the bytes.

Our test: 44 real photos compressed to 30KB

All 20 phone photos came out between 29.4 and 30.0 KB, with a median width of 511 px and 1.76% of pixels kept. The median SSIM was 0.71, from 0.472 for the Barcelos church to 0.938 for the best photo, and the Chatham shot of a high brick wall sat low at 0.644.

This is the first size where some of the 768 × 512 web photos fit with nothing scaled away: the best kept 100% of its pixels and the median 70%, at SSIM 0.883. A photo already resized for the web is in a very different position from a phone original at this size.

Method: each photo went through this page in Chromium on an Apple M2 Mac. 30KB means 30,000 bytes, so the result passes whether a site counts a KB as 1,000 or 1,024 bytes. Figures are medians. SSIM compares the result with the original at 1080 px wide, about what a phone screen shows (1.000 = identical). How we test.

PhotosUnder 30KBFile sizeWidthPixels keptJPG qualitySSIMTime
iPhone photos, 12–48 MP20 of 2029.7 KB511 px2%580.710 (lowest 0.472)2.3 s
Web-size photos, 768 × 51224 of 2429.8 KB563 px70%570.883 (lowest 0.702)0.9 s

Last updated

Every phone photo at 30KB

All 20 photos from our test set, so you can find one like yours. Quality is the JPG quality the tool settled on; when it would have dropped below 50, the photo was scaled down instead.

PhotoOriginalResultSizeQualitySSIM
Barcelos, Vila Boa e Vila Frescainha (São Martinho e São Pedro) - Igreja de Nossa Senhora do Terço 013024 × 4032, 5.5 MB329 × 43829.7 KB620.472
Bloki na ulicy Goszczynskiego Sosnowiec Środula 024032 × 3024, 9.7 MB494 × 37129.9 KB650.686
Boston Basilica interior 025425 × 4063, 4.0 MB493 × 36929.7 KB520.664
-i---i- (54245759081)3024 × 4032, 3.8 MB554 × 73929.9 KB600.938
Carinda Roman Catholic Church 09-08-20243530 × 2667, 1.5 MB579 × 43730 KB550.753
China Merchants Bank Building in Shanghai at night 023024 × 4032, 2.7 MB478 × 63729.7 KB520.877
8787 Georgia Avenue 095074 × 3781, 4.0 MB548 × 40829.8 KB570.709
-i---i- (51970200648)4032 × 3024, 5.6 MB653 × 49029.7 KB590.934
20230807 145136 August 2023 in Białystok3024 × 4032, 1.5 MB485 × 64629.8 KB580.797
'One Old Road' (1 Old Road) with windows and a high brick wall, viewed from Old Road in Chatham, Kent4588 × 3347, 13.6 MB506 × 36929.7 KB530.644
Moscow 2025-11-20 058064 × 6048, 26.0 MB537 × 40229.8 KB580.740
Parks Mall at Arlington Atrium (2024)5712 × 4284, 13.6 MB516 × 38729.9 KB530.711
BorNE.DOMB-LEPA.v-022268 × 4032, 4.8 MB294 × 52229.6 KB550.646
20230806 191612 August 2023 in Białystok4032 × 3024, 1.4 MB671 × 50329.9 KB580.871
Caltabellotta - Chiesa di San Pellegrino - 2025-08-29 ruins4032 × 3024, 4.4 MB548 × 41129.5 KB570.686
Operação Lais de Guia GLO 2023 (53316687826)4032 × 3024, 1.7 MB621 × 46629.6 KB510.857
Aulangon näkötorni heinäkuussa 20232268 × 4032, 2.8 MB336 × 59729.9 KB630.608
Buca metrosu temel atma töreni 024032 × 3024, 2.0 MB620 × 46529.4 KB510.861
39 Harleyford Road3024 × 4032, 4.7 MB341 × 45529.7 KB610.501
Atlas apartment high-rise (Vuotie 47 B, Vuosaari, Helsinki, Finland) Mar 28, 20263731 × 6636, 4.3 MB296 × 52729.6 KB670.672

Last updated

JPG vs WebP vs AVIF at 30KB

At 30 KB AVIF and WebP were close, with SSIM of 0.757 and 0.754 on six phone photos against 0.721 for JPG, and widths of 442, 447 and 407 px. Encoding took about 49.5 s for AVIF, 11.9 s for WebP and 1.1 s for JPG. Both commission forms with a 30 KB rule specify JPG, so the modest gain from the newer formats doesn't apply where this size is needed.

Same method, on 6 of the phone photos: the highest quality that fits, scaling down only when quality would drop below 50. WebP and AVIF were encoded with libwebp and libavif in the browser.

FormatUnder 30KBWidthPixels keptSSIMFile sizeEncode time
JPG6 of 6407 px2%0.72129.8 KB1.1 s
WebP6 of 6447 px3%0.75429.9 KB11.9 s
AVIF6 of 6442 px3%0.75729.4 KB49.5 s

Last updated

Where you'll meet a 30KB limit

Both verified limits at exactly 30 KB are government recruitment portals: a passport-size photo for Pakistan's Federal Public Service Commission and the profile photo on Kerala PSC's One Time Registration. Both ask for JPG and set 30 KB as a maximum, which this page's output, under 30,000 bytes, meets under either way of counting a KB.

Tips for getting a good image at 30KB

  • For Kerala PSC, resize to 150 px wide by 200 px high with Resize image first, then compress. The dimensions are part of the rule, and this page won't set them for you.
  • Crop to passport-style framing before resizing, with the head and top of the shoulders centred, using Crop image.
  • If the background is busy, retake the photo against a plain wall; in our test the most detailed scenes lost the most quality at this size.
  • When the form allows more than 30 KB, the 40 KB page gives a median width of 594 px.

Frequently asked questions

Does a 29.7 KB file count as “less than 30 KB”?

Yes. This page targets 30,000 bytes, and in our test results ranged from 29.4 to 30.0 KB. That is under 30 KB whether a portal counts 1,000 or 1,024 bytes per KB, so you don't need to know which convention the site uses.

Should I resize to 150 × 200 before compressing for Kerala PSC?

Yes. The rule fixes both pixel size and file size, and this page only controls the file size: a phone photo compressed here would come out around 500 px wide. Resize to the exact dimensions first; a 150 × 200 image is so small that it should fit under 30 KB at high quality.

Why did some small web photos keep full resolution at 30 KB?

A 768 × 512 image has about 390,000 pixels, roughly a thirtieth of a 12 MP phone photo. In our test the median web photo kept 70% of its pixels at 30 KB and the easiest kept all of them. Phone photos have to lose far more pixels to hit the same budget.

My photo looks blotchy at 30 KB. What can I change?

Blotches come from fine detail the encoder can't afford, such as foliage, brickwork or patterned clothing. A plainer background and a tighter crop help more than anything else. In our test the most detailed photos scored around 0.47–0.50 SSIM at 30 KB, while simple scenes passed 0.93.

From the blog

More ways to compress

Batch: compress many images at once

Same processing as above, run across a set of files. Pro returns the whole batch as one ZIP. Still entirely in your browser.

Free · up to 20

PRONeed more than 20 at a time?

Pro runs up to 150 images per batch as one ZIP, keeps your brand mark on every export, and lifts the file ceiling to 200 MB.

Unlock with Pro