All toolsBlog

Make files smaller

Convert

Edit PDFs

Photos for documents

Type what you need to do, a file type, or a size.

↑ ↓ to move · Enter to open · Esc to close

Compress an image to a target size

Type the limit the upload form gives you. By default the width and height stay exactly as they are and only quality and encoding change; you see the real final size before you download.

Loading tool…

How to compress an image to a size in KB

  1. Choose or drop your image. JPG, PNG, HEIC, WebP and other formats work, and you can add several at once.
  2. Type the maximum size from the upload form and pick KB or MB.
  3. If the form also gives a minimum, tick the minimum box and type that number too.
  4. Choose the pixel size: keep the original (default), type an exact size, or allow smaller. Then press Compress.
  5. Check the real size shown, then download the image or send it straight to another tool.

Common uses

  • Photos for job, exam and university application forms that cap uploads in KB.
  • ID scans and profile pictures for portals with a rule such as “between 20 KB and 50 KB”.
  • Email attachments and chat apps that refuse large photos.
  • Turning an iPhone HEIC photo into a small JPG in one step.

Settings and limits, honestly

  • Pixel size has three choices. “Keep original pixel size” (the default) never changes width × height: the tool searches for the highest quality that fits, down to JPEG quality 30, removes hidden data and saves a progressive JPEG with optimised encoding. “Exact pixel size” makes the size you type (crop to fill, or fit with a white border) and then compresses without changing it. “Allow smaller pixel size” also reduces width and height when that looks better than very low quality.
  • If the limit cannot be reached at the pixel size you kept, nothing is resized behind your back: the tool says “Can’t reach the limit at this size”, shows the smallest file it could make, and lets you allow a smaller pixel size or download that file anyway. The result always shows the original and final pixel size.
  • A size you type is treated as 1 KB = 1,000 bytes, so the result is under the limit whether the portal counts in 1,000s or 1,024s. Sizes on screen are shown the way your device shows them (1 KB = 1,024 bytes).
  • If a minimum size is set and the image is smaller even at top quality, an invisible comment block is added to reach it. The tool tells you when it does this.
  • PNG cannot be compressed by quality. For PNG the tool keeps the pixels and reduces the number of colours (and the dimensions only if you allow smaller), and says so when JPEG would clearly look better.
  • Location, camera details and other hidden data are removed. Rotation is kept correct.
  • If a target cannot be reached, you are told, shown the smallest size reached, and given a next step.
  • Very large files depend on your device. Phones with little memory may refuse files over about 80–200 MB; the tool tells you instead of failing silently.

Common limits

Questions and answers

Will the portal accept my file?

The file will be at or under the size you typed, in the format you chose. Portals also check other things, such as pixel dimensions or what the picture shows, and only the portal can confirm those.

Why is my result a little under the limit instead of right on it?

Image compression moves in steps, so landing on one precise byte count is not possible. The tool aims for the top 5% of your limit so quality is not wasted.

What if the form says "between 20 KB and 50 KB"?

Tick "The portal also has a minimum size" and type both numbers. The result will be inside the range.

Which output format should I choose?

JPG for photos — it gives the smallest file for the same look. PNG only if the form asks for it or the image is mostly sharp text and flat colour. WebP is smaller still, but many upload forms do not accept it.

Can I compress several images at once?

Yes. Add several images and each one is compressed to the size you typed. Download them one by one, or all together as a ZIP.

Does compressing change the pixel size?

Not by default. “Keep original pixel size” never changes width × height; if the limit cannot be reached that way, the tool says so and offers “Allow smaller pixel size” or the smallest file anyway. The result always shows the original and final pixel size.

Are my files uploaded anywhere?

No. The work is done by your own browser on your own device. The file is never sent to a server, so nobody else can see it. You can check this yourself: load the page, switch off your internet connection, and the tool still works.

Is there a limit on how many files I can process?

No. There is no sign-up, no daily limit and no watermark. The only limits are the memory and speed of your device.