Skip to main content
Image ToolsCompression

Image Compressor

Shrink JPG, PNG and WebP images by adjusting the quality, with an instant before-and-after size comparison. Files never leave your device.

By Ahmed BilalUpdated Formula and official sources shown below

Drop an image here

JPG, PNG, WebP, GIF or BMP · up to 25 MB · processed in your browser

Overview

About the Image Compressor

Large images slow down websites, fill up storage and bounce off email and upload limits. This compressor re-encodes your image at a quality level you choose and shows exactly how much smaller the new file is. For photos, a quality between 60% and 80% usually cuts the file size dramatically with little visible difference. Compression runs locally in your browser, so your images are never uploaded.

Step by step

How to use the Image Compressor

  1. Drop in a JPG, PNG or WebP image.
  2. Move the quality slider. Start around 70% for photos.
  3. Click "Compress image" and compare the original and new sizes.
  4. If the result looks good, download it. If not, raise the quality and try again.

Lossy vs. lossless compression

JPG and WebP are lossy formats: they discard fine detail that the eye barely notices, which is why they can be much smaller. PNG is lossless, which keeps every pixel but produces larger files. That is why re-saving a PNG as PNG saves very little — converting a photo from PNG to WebP or JPG usually saves far more.

Tips for the smallest files

Combine these for the best results:

  • Resize first: a 4000-pixel photo shown 1200 pixels wide on a website wastes most of its data.
  • Use WebP for websites — it is supported by all modern browsers and is typically smaller than JPG at the same quality.
  • Keep PNG for logos, screenshots and graphics with sharp edges or transparency.
FAQ

Frequently asked questions

Are my files uploaded to a server?

No. Everything happens inside your browser on your own device. Your files are never uploaded, so nobody else can see them, and nothing is kept after you close the page.

Why did my file get bigger?

This can happen if the original was already highly compressed, or if you chose a higher quality than the original. Lower the quality or switch to WebP.

What quality setting should I use?

70–80% is a good balance for photos on websites and in email. Use 85–90% if the image will be printed or zoomed.

Is there a file size limit?

Images up to 25 MB are supported. Very large images can use a lot of memory on older phones.

About the author: Ahmed Bilal

Ahmed Bilal is the founder of VolexTool and builds and maintains every calculator on the site. Tax rates and thresholds are taken directly from official sources such as GOV.UK, HMRC, the Canada Revenue Agency and the Australian Taxation Office, the formula is shown on every page, and each update must pass more than 600 automated checks before it goes live. Ahmed is not a tax adviser: for decisions about your own situation, speak to a qualified accountant or financial adviser.