Image Compressor

Reduce the file size of a JPG, PNG or WebP image in your browser while keeping it looking good.

How to use

  1. Choose an image.
  2. Pick a quality level and an output format.
  3. Press Compress Image, compare the sizes and download the result.

Good to know

Output is JPG or WebP, so transparency is replaced with white. Already compressed or very small images may not shrink, and can even grow. Metadata such as camera data is removed.

How Can You Compress an Image Online Without Uploading It?

A free online image compressor makes a picture file smaller so it is easier to email, upload and load. This Image Compressor works inside your browser: choose an image, pick a quality level, choose JPG or WebP, and press Compress Image. The tool shows the original size, the new size and how much smaller (or larger) the result is. Your file is never uploaded.

What does the Image Compressor do and why is it useful?

Large image files cause everyday problems: email attachments that bounce, upload forms that reject anything over a limit, web pages that crawl on mobile data. Compression lowers the number of bytes in the file while keeping the picture recognisable. It is the quickest way to get under a size limit.

The tool takes one image, re-encodes it at the quality you select and reports the saving. The pixel dimensions stay exactly the same. Only the way the picture is stored changes. If you want fewer pixels as well, use the Image Resizer first and compress afterwards.

How does the compressor work under the hood?

The page loads your file, draws it onto a canvas at its original width and height, and asks the browser to export the canvas as a lossy JPG or WebP at a quality value. Lossy means some fine detail is discarded permanently to save space. The four choices map to these quality values:

ChoiceQualityTypical use
High80%Photos where detail matters
Balanced60%General web and email use
Small40%Tight size limits
Smallest20%Maximum shrinking, visible loss

Because the picture passes through a canvas, three side effects follow. Transparent areas become white. Metadata such as camera details, date and location tags is removed. The pixel dimensions are unchanged.

What does lossy compression actually remove?

Lossy encoders divide a picture into small blocks and simplify the colour and brightness changes inside each block. At high quality the simplification is gentle and hard to notice. At low quality the blocks become visible as flat patches, edges gain a fuzzy halo, and smooth gradients such as skies turn into steps. Text and thin lines suffer first, which is why screenshots with small writing often look worse than landscape photos at the same setting.

When is compression a poor choice?

Skip it for images that must stay exact: scans of signatures that a form will check, diagrams with fine lines, and any file you plan to edit further. In those cases a lossless format is safer. Also skip it when the file is already tiny. A 20 KB icon gains almost nothing, and the extra pass can only reduce quality.

How do you use the Image Compressor step by step?

  1. Click the file picker and choose an image.
  2. Select a quality: High 80%, Balanced 60%, Small 40% or Smallest 20%.
  3. Select the output format, JPG or WebP.
  4. Press the Compress Image button.
  5. Read the original size, the new size and the percentage change.
  6. If the result is acceptable, save it. If not, change the quality and press the button again.

Nothing is calculated until the button is pressed, so changing the options alone does not update the numbers.

What do compression examples look like?

The sizes below are illustrative figures to show the arithmetic. Real results depend on the picture, because a photo full of fine texture compresses differently from a smooth sky.

Example 1: a large photo at Balanced

Original 2400 KB, new size 640 KB. The saving is (2400 - 640) / 2400 = 73.3 percent. The picture is now about 3.75 times smaller (2400 / 640).

Example 2: a modest photo at High

Original 850 KB, new size 310 KB. Saving: (850 - 310) / 850 = 63.5 percent. High quality still removed more than half of the bytes because the original was lightly compressed.

Example 3: an already compressed image

Original 500 KB, new size 520 KB. The result is 4.0 percent larger, since (520 - 500) / 500 = 0.04. This happens when a file was already optimised, or when the original was a small, efficient PNG. In such a case keep the original.

Example 4: Smallest for a strict limit

Original 1800 KB, new size 420 KB. Saving: (1800 - 420) / 1800 = 76.7 percent. The file now fits under a 500 KB upload limit, at the price of visible softness and blocky patches in smooth areas.

Example 5: dimensions do not change

A 1920 x 1080 image has 2,073,600 pixels. After compression it still has 1920 x 1080 pixels, so the same 2,073,600. Only the storage became lighter. A resize would be needed to reduce the pixel count.

Example 6: converting the unit

If a form asks for under 1 MB and the tool shows 2400 KB, that is roughly 2.34 MB when 1 MB is taken as 1024 KB (2400 / 1024 = 2.34). Our Data Storage Converter handles these unit changes.

What tips give the best results?

  • Start with Balanced 60%. If the picture looks fine, you are done. If not, step up to High.
  • Go down one step at a time until the file meets the limit. Do not jump to Smallest unless needed.
  • Choose WebP when the destination supports it, since it often gives smaller files than JPG for the same look. Choose JPG when you need the widest compatibility.
  • Resize before compressing. A photo of 4000 pixels shown at 800 pixels wastes bytes on detail nobody sees.
  • Zoom into the result and check faces, text and edges before using it.
  • Keep the original file. Lossy compression cannot be undone.

How can you reach an exact size limit?

Many portals state a maximum such as 200 KB or 1 MB. A practical routine is to resize first so that the pixel dimensions match the way the picture will be shown, then compress at Balanced. Read the new size. If it is still above the limit, run the original again at Small, and only then at Smallest. Always start again from the original file rather than from a previous result, so the damage is not stacked. If even the Smallest setting is too large, the image has too many pixels, and a smaller width and height is the real fix.

What are the common mistakes?

  • Compressing repeatedly. Each lossy pass throws away more detail. Compress once from the original.
  • Using it on a transparent logo. Transparency becomes white, which can ruin a logo on a coloured page.
  • Expecting every file to shrink. Already compressed images may stay the same or grow.
  • Relying on metadata to survive. It is removed, so date and location tags will not be in the output.
  • Judging by the percentage alone. A 90 percent saving is no good if the picture looks damaged.

Who uses an image compressor?

  • People attaching photos to email or messages with size limits.
  • Applicants uploading documents and photos to portals with a maximum file size.
  • Bloggers and shop owners trimming images for faster pages.
  • Students preparing slides and reports that need to stay light.
  • Anyone freeing space on a phone or drive.

It pairs well with the Image Converter for format changes, the Percentage Calculator for checking a reduction, and other free tools on this site.

Is the Image Compressor private?

Yes. Compression happens locally in your browser. Your image is not uploaded, not stored and not shared. No account is needed and no history is kept. Because metadata is stripped from the output, the downloadable result also does not carry location or camera tags from the original.

What are the limitations?

  • Compression is lossy, so quality drops, most at the Smallest setting.
  • Output is JPG or WebP only.
  • Transparency becomes white.
  • Metadata is removed.
  • Pixel dimensions are not changed.
  • Images that are already compressed may not shrink and can even get larger.
  • One image at a time. Results appear only after you press the button, with no live updating.

Frequently asked questions

Does compression change the width and height?

No. The pixel dimensions stay the same. Use the resizer to change them.

Which quality should I pick?

Balanced 60% suits most uses. Choose High 80% for detail and Small or Smallest for strict limits.

Why did my file get bigger?

The original was probably already well compressed, or it was a compact PNG. Keep the original in that case.

Is the compression lossless?

No. It is lossy, meaning some detail is removed permanently.

What happens to transparency?

Transparent areas turn white in the output.

Is the photo location data kept?

No. Metadata is removed, which includes tags such as location and camera details.

JPG or WebP?

WebP is often smaller. JPG is the most widely supported.

Is my image sent to a server?

No. Everything runs in your browser.

Smaller files in one press

Choose a quality, press Compress Image and compare the sizes. A few seconds of testing usually finds the balance between a light file and a good looking picture.

Scroll to Top