Image Compressor

Compress JPG, PNG, and WebP images right in your browser, by quality or down to a target size like 50 KB. No upload, no signup.

Works entirely in your browser. Your images never leave your device.

Click, tap, or drop an image here

JPG, PNG, or WebP, up to 20 MB

How do you want to compress?
Smaller fileBetter quality

Need a JPG? Use the Image Converter.

About This Image Compressor

This free online image compressor lets you reduce the file size of JPG, PNG, and WebP images, with little visible loss in quality at sensible settings. Whether you're preparing photos for a website, sending images over WhatsApp, or uploading a picture to a form with a strict size limit, this tool gets the job done in seconds, right in your browser, with no upload and no signup.

Most image compression tools upload your files to a server, process them, and send them back. This tool works differently. Everything happens on your device using JavaScript. That means your images never leave your computer or phone, a big advantage for anyone handling private photos, client work, or sensitive documents.

How to Use

  1. Click or tap the upload area, or drop an image on it, to choose a file from your device
  2. Choose how to compress: by quality (70% is a good starting point), or to a target size such as 50 KB or 100 KB
  3. Optionally convert to WebP, which is usually smaller than JPG or PNG
  4. Click "Compress Image"
  5. Compare the original and compressed versions side by side, then download the result

Why Use This Tool?

Compress an Image to 20 KB, 50 KB, or 100 KB

Many portals, job applications, and admission forms limit the size of a photo or document image, often to 100 KB, 50 KB, or even 20 KB. To meet such a limit:

  1. Choose "To a target size" and pick the size the form asks for.
  2. Click "Compress Image" and check the result panel.
  3. If the tool says it could not reach the size, try a larger target, switch the format to WebP if the form accepts it, or shrink the image first with the Image Resizer.
  4. Check that the image format (JPG, PNG) and the dimensions still match what the form requires.

Very small targets such as 20 KB usually mean the picture has to be scaled down as well, because quality alone cannot shrink a large photo that far.

Real Use Cases

1. Preparing Images for a Website

Large images are one of the most common reasons websites load slowly. Compressing images before uploading them to WordPress, Shopify, or a custom site is one of the easiest speed wins available. Page speed is one of the signals search engines look at, and faster pages also keep visitors around longer.

2. Meeting Upload Limits on Forms

Government portals, job applications, and university admission forms often set strict image size limits. Use the target size mode to fit them without desktop software.

3. Sending Photos on WhatsApp, Discord, or Email

Modern phone photos are often several megabytes, which makes them slow to send and sometimes too large for chat apps or email attachments. Compressing them first keeps them shareable.

4. Reducing Storage on Your Device

If your phone is running out of space, compressing photos you want to keep can free up room. How much you save depends on the photo and the quality you choose, and the tool shows the exact saving for each image.

5. Faster E-commerce Product Photos

If you run a small online store, compressing product images speeds up category pages and product detail pages, both of which affect how quickly shoppers can browse.

A Worked Example

Say a college portal accepts photos up to 100 KB and your phone photo is several megabytes:

  1. Drop the photo on the upload area.
  2. Choose "To a target size" and select 100 KB.
  3. Click "Compress Image".
  4. Read the result: the original size, the new size, the percentage saved, and the dimensions before and after.
  5. Download the file and upload it to the portal.

The exact numbers depend on your photo, which is why the tool shows them for every image instead of promising a fixed saving.

Understanding Compression Quality

In quality mode the slider runs from 10% to 100%. As a rough guide for photos:

For most photos, 70–80% is a good balance. Start there and adjust based on how the result looks. The quality slider applies to JPG and WebP.

Supported Formats

Frequently Asked Questions

Are my images uploaded to a server?

No. All compression happens in your browser using JavaScript. Your images never leave your device.

What quality setting should I use?

For most web images, 70–80% is a good balance between file size and quality. For photos you plan to print, use 90% or higher.

How do I compress an image to 50 KB, 20 KB, or 100 KB?

Choose "To a target size", pick the size you need, and click Compress Image. The tool lowers the quality, and scales the image down if it has to, until the file fits. If it cannot reach the size, it tells you. In that case try a larger target, choose WebP, or shrink the image with the Image Resizer first. Always check the exact format and size your form asks for.

Does compression affect image dimensions?

In quality mode the width and height stay the same. In target-size mode the image may be scaled down if lowering the quality alone cannot reach the size. The result panel shows the dimensions before and after.

Why did my PNG barely shrink?

PNG is a lossless format, so the quality slider does not make a PNG smaller. Convert it to WebP with the format option, or use a target size, which can also scale the image down. Photos usually belong in JPG or WebP rather than PNG.

Does compression reduce image quality?

Yes, a little, because JPG and WebP compression discards detail. At 70% or higher most people can't see a difference. Below 60%, artifacts such as blurry patches and banding start to show. Always work from the original file, because compressing an already compressed image loses more quality each time.

Can I compress multiple images at once?

This tool compresses one image at a time. For bulk work, open multiple browser tabs and process images in parallel.

Does it remove location (GPS) data from photos?

The compressed image is re-encoded in your browser, which normally drops metadata such as GPS location and camera details. If this matters to you, check the downloaded file before you share it.

Does it support HEIC or GIF images?

No. It supports JPG, PNG, and WebP only. iPhone photos in HEIC format need to be saved or shared as JPG first, for example by setting Settings > Camera > Formats > Most Compatible.

Is this tool free?

Yes. It is free, needs no signup, and has no limits.

Related Tools

Related Guides