Skip to content

Image Compressor

Make JPG, PNG and WebP images smaller for websites, email and uploads. Compress automatically, pick a quality or set a target file size, then compare before and after.

Runs in your browser. Your data is not uploaded.How our tools work

No image to hand? (CC0)

Presets

No presets saved yet
Compression

Good visual quality at a much smaller size (80% quality). Dimensions are kept unless you set a maximum under Advanced settings.

JPG stays JPG. PNG and other formats become WebP, which is smaller and keeps transparency.

Advanced settings: resize and metadata
Resize while compressing

Images larger than these limits are scaled down to fit. The aspect ratio is always kept and images are never enlarged. Leave both empty to keep the original dimensions. For example, 1920 × 1080 suits most websites.

Metadata

Compressed images are saved without metadata: camera details, GPS location and editing history are removed, which makes files smaller and safer to share. Photo rotation is applied first, so images stay the right way up. This tool doesn’t copy metadata into the new file, so there is no option to keep it. When the original is kept because compression wouldn’t make it smaller, it is unchanged, metadata included.

How do I compress an image?

Choose or drop your images, keep Auto mode, and download the smaller files. Auto keeps JPGs as JPG, saves other formats as WebP where your browser supports it, and keeps an original JPG, PNG or WebP when it can’t be made smaller. For a hard limit such as 200 KB, switch to Target size.

  1. Choose how to compress: Auto for a good balance without any settings, Quality to set the level yourself, or Target size to stay under a limit such as 100 KB.
  2. Optionally pick an output format, or set a maximum width and height under Advanced settings. Shrinking a 4000-pixel phone photo to 1920 pixels often saves more than lowering quality.
  3. Select, drop or paste your images. Up to 20 are compressed one after another, and each result appears as soon as it’s ready.
  4. Use Compare to check the original against the compressed image, then download each image or all of them in one ZIP file.
Image Compressor in Auto mode with a 4032 × 3024 px JPG photo: 3.7 MB compressed to 2.0 MB, saved 1.7 MB, 46% smaller, with Compare and Download buttons.
The 12-megapixel test photo in Auto mode: 3.7 MB down to 2.0 MB, 46% smaller, at the same 4032 × 3024 pixels.

Key features

  • Auto, quality or target size

    Let Auto choose, set the quality yourself, or give a maximum file size. Target size finds the highest quality that fits and tells you when a limit can’t be reached.

  • Before-and-after comparison

    Drag the divider to compare the original with the compressed image, fitted to the screen or at actual pixels, before you download.

  • Real sizes, no estimates

    Every result shows the actual file size, the percentage saved, the dimensions before and after, and the output format.

  • Automatic format choice

    JPGs stay JPG. PNG and other formats are saved as WebP where your browser supports it, which is usually far smaller and keeps transparency.

  • Keeps the original when it’s smaller

    If a JPG, PNG or WebP can’t be made smaller and you haven’t asked for a new format or size, the original is kept and the tool tells you why. GIF, BMP, AVIF and HEIC files are always re-encoded, because browsers can’t save those formats.

  • Batch processing and ZIP download

    Compress up to 20 images at once, remove any you don’t need, and download them one by one or together as a ZIP file.

  • Removes metadata, fixes rotation

    Camera details and GPS location are removed from compressed images, and rotation from phone cameras is applied so photos stay the right way up.

Common uses

  • Speed up a website or online shop by shrinking product photos
  • Get images under a portal’s size limit, such as 200 KB or 1 MB
  • Remove GPS location and camera details before sharing photos

Supported formats and limits

Input
JPG, PNG, WebP, GIF (first frame), BMP, AVIF. HEIC where your browser supports it
Output
JPG, WebP or PNG. Browsers can’t save AVIF, GIF, BMP or HEIC
Target sizes
50 KB, 100 KB, 200 KB, 500 KB, 1 MB, or any size from 1 KB to 100 MB
Maximum file size
40 MB per image
Images per batch
Up to 20

How much smaller? A measured example

We ran a 12-megapixel photo taken on an iPhone 14 (4032 × 3024 pixels, 3.7 MB) through the tools in Chrome with their default settings. Lowering the quality alone roughly halved it; the big savings came from fewer pixels.

  • Automatic mode: 2.0 MB at the full 4032 × 3024 pixels, 46% smaller
  • Saved as WebP (JPG to WebP, 85%): 1.86 MB at full size, 50% smaller
  • Resized to 1600 × 1200 at 90% (Image Resizer): 548 KB, 86% smaller
  • Compress Image to 100KB: 97.6 KB at 953 × 715 pixels and 70% quality

What is image compression?

Image compression makes an image file smaller by storing its pixels more efficiently. Lossless compression, used by PNG, keeps every pixel exactly. Lossy compression, used by JPG and usually by WebP, also discards fine detail that the eye barely notices, which saves far more space.

The quality setting controls how much of that detail is kept. Between 75% and 85% the difference is hard to see, while the file can be several times smaller than the original. The same quality number doesn’t produce the same size in every format, which is why every result shows the real size.

PNG is lossless, so its quality can’t be lowered: a PNG only gets smaller when its dimensions are reduced. For photos saved as PNG, converting to WebP or JPG is usually the biggest saving. For graphics with text or sharp edges, PNG or high-quality WebP keeps the edges crisp.

Target size mode tries the highest quality first and, if the file is too big, searches for the highest quality that still fits. If even the lowest usable quality is too big, it can reduce the dimensions step by step, but only if you allow it. Every size it reports is the size of the actual file.

Frequently Asked Questions

Are my images uploaded to a server?

No. Compression runs entirely in your web browser using your device’s processor. Your images never leave your device, and closing the page discards them.

What quality setting should I use?

For photos, 75–85% usually looks the same as the original on screen. Go down to about 70% when file size matters; below that, compression artefacts start to show, and below about 50% the image looks blocky. Use 90–95% for print or images people zoom into. Auto mode uses 80%.

Can I compress an image to an exact file size?

Yes. Choose Target size and pick 50 KB, 100 KB, 200 KB, 500 KB, 1 MB or your own size. The tool finds the highest quality that stays at or under the limit. If that isn’t possible at the original dimensions, it tells you, and you can allow it to reduce the dimensions. For a single photo for an application form, the Compress Image to 50KB and 100KB tools do this automatically and reduce the dimensions only as far as needed.

Why is my compressed file not much smaller?

Images that were already compressed, such as photos from social media, have little left to remove. Reducing the maximum width or height is then the most effective way to save space.

Does compression change the image dimensions?

Only if you set a maximum width or height, or allow smaller dimensions in Target size mode. The aspect ratio is always kept. Extremely large images that exceed your browser’s limits are also reduced, and the result says so.

Is EXIF and GPS data removed?

Yes, from every compressed image. This tool doesn’t copy metadata into the new file, so there is no option to keep it. Only when the original is kept, because compression couldn’t make it smaller, is the file unchanged.

Can I save images as AVIF?

Not yet. Browsers can open AVIF images but can’t create them, so the tool offers JPG, WebP and PNG. WebP opens in every modern browser and is usually much smaller than JPG.

Is there a limit on how many images I can compress?

You can compress up to 20 images at a time, each up to 40 MB. Remove images or start over to compress more. There is no daily limit.

Sources

Last updated:

Related guides & tutorials