IT Market
Tools/Images/Compress Image to a Target File Size in KB
COMPRESS
IMAGE

Загрузить
изображение

Перетащи картинку сюда или нажми, чтобы выбрать файл.

JPEG, PNG, WebP, GIF, SVG · обработка локально
Превью после сжатия
Compressed image preview
Оригинал
После сжатия
Экономия
Размеры
78%
Для JPEG/WebP меньше качество = меньше вес. PNG сохраняется без потерь.
Быстрые режимы
Готово: загрузи изображение, настрой качество и скачай результат.

Tool guide

Compress Image to a Target File Size in KB

Weight limits show up everywhere: a government portal wants a scan under a couple hundred kilobytes, a mail server rejects the attachment, a product photo drags your LCP score down. Here you name the ceiling in kilobytes and the page searches for the quality setting that fits, optionally capping width, height or scale on the way. Every pass runs inside your own tab. See also: cut the pixel dimensions down first, switch the JPG to WebP to save bandwidth, strip EXIF and GPS tags from the file.

How to use it

  1. Pick a file in the upload block or drag it onto that zone — JPEG, PNG, WebP, GIF and SVG are all accepted.
  2. Hit one of the presets, labelled Min KB (smallest), Balance, Quality and For web, to set quality and format in one move.
  3. Type your ceiling into the Target KB field, where 200 is suggested, and the quality slider is searched automatically to meet it.
  4. Cap the geometry with Max W, Max H or Scale % when you need more: fewer pixels saves far more bytes than lower quality does.
  5. Leave Format on Auto: WebP/JPEG, or force WebP, JPEG or PNG when the destination demands a specific type.
  6. Compare the before and after weight, then save with Download compressed, copy with Copy, or start over with Reset.

FAQ

How do I get a photo under 200 KB for an upload form?

Load the file, type 200 into the target field and force JPEG, since many institutional forms still reject WebP. If the search drops quality below 50 and the text smears, add a Max W of about 1600 — cutting resolution costs less visible detail than crushing quality does.

What does lossless compression actually mean here?

Only PNG is truly lossless, and the saving there comes from re-encoding — usually 10 to 20 percent, no more. JPEG and WebP are lossy by design. The default quality of 78 is normally indistinguishable on screen, while anything under 60 starts showing blocking in flat areas and halos around lettering.

Why did my PNG barely shrink, or even grow?

PNG stores pixels losslessly, so photographs compress badly in it and a re-encode can add bytes. If you do not need transparency, switch the format to JPEG or WebP and a photo will drop several times over. Only WebP and PNG keep an alpha channel; JPEG fills transparency with black.

Why can it not reach the target size I asked for?

The search bottoms out near quality 5 on the Quality ratio slider. If the file is still too big, the problem is pixel count: a 4000×3000 shot simply will not fit into 50 KB and still look like anything. Set Max W or Scale % to shrink the dimensions and the target usually becomes reachable.

Which output format should I pick for a website?

Auto: WebP/JPEG is the sensible default — WebP is roughly a quarter smaller than JPEG at matching quality. Choose JPEG for email, older CMS uploads and anywhere .webp is refused. Keep PNG for screenshots, logos and anything with transparency. GIF and SVG are accepted as input, but the output is always raster: an animated GIF collapses to its first frame and an SVG is rasterised at the chosen size.

Can I compress several images in one go?

One per pass — there is no batch queue on the page. Settings persist between files though, so a run of similar product shots goes quickly: drop the next file in and press the download button. You only need the reset control when you want the defaults back.

Is there a maximum input file size?

No hard cap is coded in; tab memory is the real ceiling. The browser expands the picture into an uncompressed canvas, so a 50 megapixel shot occupies roughly 200 MB of RAM. Desktop browsers cope, a budget phone may reload the tab — start with Scale % there.

Examples

Document scan under an upload cap
Before: scan.jpg — 3.4 MB, 4032×3024, the form refuses anything over 300 KB
After: Target 300 KB with Max W 1600 and JPEG output → 287 KB, the text stays legible
Catalogue product shot
Before: product.png — 2.1 MB, 2000×2000, opaque background stored as PNG
After: The For web preset with Auto: WebP/JPEG and Max W 1200 → roughly 140 KB of WebP
Profile avatar
Before: selfie.jpg — 5.8 MB straight off a phone camera
After: Scale 20% at quality 78 → about 90 KB and 806×605 pixels