LocalToolkit
HomeImage Tools › Compress Image to 30 KB

Compress an Image to Under 30 KB

A 30 KB ceiling, reached by searching quality rather than guessing it.

🔒 Runs in your browser. Nothing is uploaded — verify it in the network panel, or disconnect and try again.

Who asks for a 30 KB limit

Examination application portals, forum avatars, chat stickers and small product thumbnails.

What 30 KB buys you in pixels

A workable ceiling for a 30 KB photograph is around 520 pixels on the long edge at a quality that still looks like a photograph rather than a mosaic. That figure is empirical: it comes from how much high-frequency detail survives compression at that byte budget, and it moves up for images with large flat areas and down for images full of foliage, fabric or hair.

Long edgeWhat to expect at 30 KB
Under 312 pxComfortable — the quality search will settle in the high end of the range
312–520 pxWorkable — expect mid-range quality, check gradients for banding
Over 780 pxResize down first, or the target cannot be met without visible damage

30 KB is comfortable for anything under about 520 pixels wide. Above that, expect visible blocking in skies, skin and other smooth gradients.

Comfortable up to about half a megapixel

Thirty kilobytes sits at the point where searching quality alone usually succeeds, provided the image is under roughly 520 pixels on the long edge. Beyond that the search has to drop below quality 40, and blocking appears first in smooth areas and second as ringing around hard edges. Chat stickers and forum avatars are almost always already smaller than this before you begin.

Why this runs in your browser

The file is read from your disk by the browser, decoded with the browser's own codecs, and re-encoded in this tab. No upload request is made, nothing is queued on a server, and closing the tab leaves no copy anywhere. You can verify this in the network panel while it works.

How to use it

  1. Drop the image on the drop zone.
  2. Set the target size to 30 KB.
  3. Let the quality search run — it reports the quality level it settled on.
  4. Check the resulting file is at or under 30 KB, then download.

Worth knowing

  • Target 30 KB permits roughly 520 pixels on the long edge at photographic quality.
  • The quality search encodes repeatedly and keeps the highest quality that fits.
  • Image content, not just dimensions, determines how far the quality can be pushed.
  • Switching to WebP at the same 30 KB budget usually looks visibly better than JPEG.

Limitations

  • Very tight targets require resizing as well as compressing — compression alone has a floor.
  • Downscaling permanently discards pixels; keep the original as your archive copy.
  • Re-compressing an already-compressed file spends quality twice.
  • Some portals also check pixel dimensions and file format, not just the byte count.

Frequently asked questions

How do I get a photo under 30 KB?
Resize it so the long edge is no more than about 520 pixels, then compress with the target set to 30 KB. The quality search then has room to find a setting that works.
Will the image still look good at 30 KB?
At 520 pixels or below, yes — it reads as a normal photograph. Push the dimensions higher and you will start to see blocking in smooth areas and ringing around sharp edges.
Why does the tool re-encode several times?
Because file size is not a function of quality alone — it depends on the image content. The only reliable method is to encode, measure the actual byte count, and step down until it fits.
Is anything uploaded to a server?
No. The file is read from your disk by the browser, decoded and re-encoded in this tab. There is no upload request, no queue and no server-side copy — which you can confirm by watching the network panel while the tool runs.
Related tools
Image CompressorImage ResizerCompress Image to 20 KBCompress Image to 50 KBImage Format ConverterPassport Photo Maker
Keep reading
How browser-only processing worksAll Image Tools toolsEvery tool on the site