Image Compressor

Make photos smaller for email, chat or an upload form with a size limit. Set a quality, or type the size you need and let the tool find it.

  • Nothing is uploaded
  • No sign-up
  • No watermark

Drop images here, choose them, or paste with Ctrl+V

Choose images

JPG, PNG, WebP, HEIC, AVIF, GIF, BMP and TIFF.

Files stay on your device. Nothing is uploaded.

Compress by

1 KB here means 1,024 bytes, the way Windows and most upload forms count. Transparent areas become white in JPG.

Most size limits people run into are blunt: "maximum 200 KB", "attachments up to 25 MB", "photo must be under 1 MB". A phone photo is often 2 to 5 MB. You can bring it down in two ways, and this tool does both: lower the JPG or WebP quality, which removes detail you mostly cannot see, or reduce the number of pixels, which matters when the photo is much larger than it will ever be shown.

Quality mode

Pick a number, and every file is saved at that quality. This is the quick option when you just want "smaller" without a specific limit. 80 is the default because it usually cuts a phone photo's size dramatically while looking the same at normal viewing size. The tool shows the old size, new size and percentage saved for each file, so you can try another number and press Compress again if you want more or less.

Target size mode

Type the largest size you can accept in KB. The tool then searches for the highest quality that stays under it. It does this with a binary search: it first tries quality 95, and if that already fits, you are done. If not, it tries the lowest allowed quality, then the midpoint between the two, and keeps halving the gap. Each try is a real encode by your browser, and the whole search takes at most nine tries at a given size, usually under a few seconds per photo.

Sometimes no quality is low enough. A 48-megapixel photo cannot be squeezed into 50 KB at any sensible quality. With Allow smaller dimensions ticked, the tool sets itself a floor of quality 40, and if even that is too big, it shrinks the width and height and searches again. The note under the file tells you the final pixel size. Untick the box if a form requires exact dimensions; you will then get the smallest file possible at full size and a warning if it still misses the target.

Example: an exam or job application photo

Suppose a form asks for a photo "between 20 KB and 50 KB, JPG". Set Target size to 50. If the form also states dimensions, such as 3.5 × 4.5 cm at 200 DPI, work them out first: 3.5 ÷ 2.54 × 200 is about 276 pixels wide and 4.5 ÷ 2.54 × 200 is about 354 pixels tall. Resize to that with the image resizer, then compress here with dimension shrinking switched off.

How much smaller can it get?

The file size of a JPG depends far more on pixel count and detail than on anything else. Halving the width and height leaves a quarter of the pixels, and the file shrinks roughly in proportion at the same quality. That is why Set a maximum size is often the biggest win: a 4000 × 3000 photo viewed on a phone screen gains nothing from being wider than about 2000 pixels.

Common limitWhere you meet itSuggested settings
20–50 KBApplication photos and signaturesResize to the stated size first, then target
100–500 KBProfile pictures, document uploadsTarget size, shrinking allowed
1–2 MBForms that accept full photosQuality 85, or target with shrinking
Under 25 MB totalEmail attachments (Gmail's limit)Max width 2048, quality 80

Steps

  1. Choose Quality or Target size and set the number.
  2. Pick JPG for anything that has to open everywhere, WebP for your own website.
  3. Add the images. Each shows its result as soon as it is done.
  4. Download the files, or a ZIP of all of them. They keep their names with the new extension.

Good to know

Files are compressed from the decoded picture, so camera data, GPS location and colour profiles are not carried over, and photos are rotated upright. PNGs with transparency turn white behind the transparent parts when saved as JPG; WebP keeps the transparency. Screenshots full of text compress badly as JPG and may come out blurry around the letters; for those, try quality 90 or higher, or keep the PNG.

WebP output needs Chrome, Edge or Firefox; Safari can only save JPG. Every step runs inside your browser, with nothing uploaded, which also means there is no daily limit. To understand what the quality number does to a photo, read how image compression works.

Frequently asked questions

How do I get a photo under 100 KB?

Choose Target size, type 100 and leave Allow smaller dimensions ticked. The tool searches for the highest quality that fits, and reduces the pixel size only if quality alone cannot get there.

Why is my compressed image bigger than the original?

The original was already compressed harder than the setting you chose. Lower the quality, use a target size, or keep the original. The tool flags this case under the file.

Can I compress a PNG and keep it as PNG?

Not with this tool. PNG is lossless, so there is no quality setting to lower. Converting to JPG or WebP is what makes the big saving. For screenshots with text, check the result before you send it.

Does compression remove the photo's location?

Yes. The compressed copy is drawn fresh from the pixels, so EXIF data such as GPS location and camera details is not included.