Image Compressor

Make JPG, PNG, WebP, and HEIC images smaller. Pick a quality, or set an exact limit like 100 KB or 50 KB for an upload form, and compress one image or a whole batch. It all runs in your browser, so your images are never uploaded.

Drag and drop images here, or

JPG, PNG, WebP, and HEIC, up to 50 MB each. Add one or many. Nothing is uploaded.

JPG and WebP quality
80%

80% is a good balance for photos. Go lower for smaller files, higher if you see blocky patches.

PNG colors

Fewer colors make smaller PNGs. 256 keeps most images looking the same.

Save as
Resize (longest side)

What is image compression?

Image compression makes an image file smaller. Lossy compression, used by JPG and WebP, throws away fine detail that is hard to see. The lower the quality setting, the more it removes and the smaller the file. Lossless compression, used by PNG, packs the same pixels more tightly without changing any of them.

PNG files can also be shrunk by reducing the number of colors. Most graphics and screenshots look the same with 256 colors, and the file often drops to a fraction of its size. Making the image smaller in pixels saves the most of all, since there is simply less to store.

This compressor uses all three. It re-saves each image at the quality you choose, reduces PNG colors, and resizes only when you ask it to or when a size limit cannot be met any other way.

Why use our image compressor

  • ·Free. No signup, no watermark, no limit on how many images.
  • ·No upload. Images are compressed on your device, which also makes it fast.
  • ·Exact size limits. Type any size in KB and the tool fits each image under it, resizing only if it has to.
  • ·Never bigger. When the format stays the same and an image cannot get smaller, you get the original back.
  • ·See the difference. Drag a before and after slider over the image to check the quality before you download.

How to compress an image

  1. 1

    Add your images

    Drag JPG, PNG, WebP, or HEIC images onto the box, or click to pick them. Add one image or a whole batch. Nothing is uploaded.

  2. 2

    Choose how much to compress

    Set the quality with the slider, or switch to "Compress to a file size" and pick a limit such as 100 KB or 50 KB. You can also change the format and shrink the pixel size.

  3. 3

    Check the result

    Each row shows the old and new file size and how much you saved. Click the eye icon, then drag the divider across the image to see the original and the compressed version side by side.

  4. 4

    Download

    Download each image on its own, or get them all in one ZIP file. Your original files are not changed.

How to compress an image to 100KB, 50KB, or 20KB

Upload forms often set a size limit, and a phone photo of several megabytes is far over it. Switch to "Compress to a file size (KB)", pick 20, 50, 100, 200, or 500 KB, or type the exact number the form asks for. Every image you add is made to fit.

The tool first tries to fit the image at high quality. If it is still too big, it lowers the quality. If even a low quality is not enough, it makes the image smaller in pixels and tries again, aiming for a quality around 70% rather than a blocky low one. The row under each file shows the quality and pixel size it ended up with.

Tips for small limits

  • ·Crop first. For a photo or signature upload, cut away the empty background before compressing. Every pixel you remove leaves more room for detail in the part that matters.
  • ·Check the pixel size rules too. Some forms also ask for a minimum or exact width and height. If the result is too small, try a larger KB limit or crop more tightly.
  • ·Save as JPG for forms. Most forms accept JPG. WebP gives smaller files but is not accepted everywhere, and a PNG photo is hard to get under a small limit.

Image compressor options

  • ·Quality. From 10% to 100% for JPG and WebP. The default of 80% saves a lot of space on most photos with little visible change.
  • ·Compress to a file size. Set a limit in KB instead of a quality, and the tool finds the best quality and size that fit.
  • ·PNG colors. 256 down to 16 colors, or lossless. Fewer colors means a smaller PNG. Transparency is kept at every setting.
  • ·Save as. Keep each image's own format, or turn everything into JPG, WebP, or PNG. HEIC, GIF, BMP, and AVIF images are saved as JPG when you keep the format. Animated GIFs become a still image of their first frame.
  • ·Resize. Limit the longest side to 3840, 2560, 1920, 1280, 1024, or 800 pixels. A 4000 pixel phone photo shown on a website rarely needs more than 1920.

JPG vs PNG vs WebP: which format makes the smallest file?

FormatBest forTransparencyGood to know
JPGPhotosNoAccepted almost everywhere, including upload forms
WebPPhotos and graphics on websitesYesUsually smaller than JPG at the same quality, but some forms and older apps reject it
PNGScreenshots, logos, text, and graphicsYesKeeps sharp edges, but photos saved as PNG stay large

Google's own comparison found WebP photos 25 to 34% smaller than JPGs of the same quality. If a photo is stuck as a large PNG, saving it as JPG or WebP will usually shrink it far more than any PNG setting.

Why an image will not compress much

  • ·It is already compressed. Images saved by websites and chat apps have often been compressed once already. Re-saving at a similar quality saves little, so lower the quality or resize.
  • ·It is a photo saved as PNG. PNG cannot store photos efficiently. Change Save as to JPG for a much smaller file.
  • ·It has fine detail or noise. Grass, gravel, and grainy low-light shots carry more detail than smooth skies or walls, and they compress less at the same quality.
  • ·It is very small to begin with. A tiny file may already be as small as it can get. The tool then hands back the original instead of a bigger copy.

When to compress an image

  • ·Filling in an online form. Job portals, exam registrations, visa forms, and government sites often reject photos and scans over a set size. Compress to that limit and upload.
  • ·Building or running a website. Large images are one of the most common reasons pages load slowly. Smaller files load faster, especially on mobile data.
  • ·Sending images by email or chat. Phone photos are often several megabytes each. Compressed copies fit more in one email and send faster.
  • ·Saving storage space. Compress folders of screenshots or old photos you want to keep, but do not need at full camera quality.

Frequently asked questions

How do I compress an image to 100KB?
Add the image, switch to "Compress to a file size (KB)", and pick 100 KB (or type any size). The tool lowers the quality until the file fits. If that is not enough, it also makes the image smaller in pixels. Then download the result. The same works for 50 KB, 20 KB, or any other limit.
How do I reduce image size without losing quality?
For photos, a JPG quality of 80% to 90% usually looks the same as the original while still saving a lot of space. Check with the before and after slider, zoomed to 100%. For PNG graphics, 256 colors often looks identical. If you need zero change at all, pick "Lossless" under PNG colors, but the savings will be much smaller.
What quality setting should I use?
80% is a good starting point for photos. Drop to 60% to 70% for images that only need to look good on a phone screen. Go above 90% for images you will print or edit later. Below about 50% you will start to see blocky patches and smeared detail.
Why is my compressed image bigger than the original?
This happens when you change the format, for example saving a small, already compressed JPG as WebP or PNG. When the format and pixel size stay the same, the tool never gives you a bigger file. If it cannot make the image smaller, it keeps the original and says so.
Is 100 KB 100,000 bytes or 102,400 bytes?
It depends on who you ask. Windows counts 1 KB as 1,024 bytes, while macOS and many websites count 1,000 bytes. This tool aims under 1,000 bytes per KB, so a 100 KB target comes out under 100,000 bytes and passes the limit either way.
Can I compress a PNG and keep the transparent background?
Yes. Keep the format as PNG or WebP and transparency is kept. Saving as JPG fills transparent areas with white, because JPG cannot store transparency.
Does compressing remove the location and other metadata?
Yes, for every image the tool compresses. The new file holds only the picture, without EXIF data such as GPS location, camera model, or date taken. The one exception is when the original is already smaller and is handed back unchanged, in which case its metadata stays.
Can I compress iPhone HEIC photos?
Yes. HEIC photos are opened in your browser and saved as JPG by default, or as WebP or PNG if you choose. HEIC is already very efficient, so the JPG can end up a similar size or larger unless you lower the quality or set a size limit.
Can I compress many images at once?
Yes. Add as many images as you like. They are compressed one after another with the same settings, and you can download them all together in a ZIP file.
Are my images uploaded to a server?
No. Everything happens in your browser on your own device, so your images are never sent anywhere or stored.