Mr. Tools

How to

How to Use Image Compression

Make images smaller and keep the format, or save them as JPEG or WebP. If you have a limit such as 600 KB, enter it and the tool picks the highest quality that fits. Images are processed in your browser and never uploaded.

Image Compression thumbnailImage Compression thumbnail
Steps
4 steps
Guide
With screenshots
Content
Notes and FAQ

Use Cases

When to use it

  • Reduce images before uploading to a CMS or blog
  • Shrink image files before submitting a form
  • Compare total size reduction across several images
  • Optimize SVG or GIF without changing format
  • Tune quality while checking the visual result
  • Meet upload file size limits
  • Upload iPhone photos or screenshots as JPEG under a size limit

Capabilities

What this tool can do

  • Batch-compress multiple images
  • Compress to a maximum file size
  • Keep the original format, or save as PNG, JPEG, or WebP
  • Adjust quality
  • Preview before and after compression
  • Compare file-by-file and total size reduction
  • Download individual results or all files at once

Steps

Steps

The order of operations and checkpoints are listed so you can proceed while looking at the screen.

STEP 1

Add your images

Click Add images or drag files onto the page. You can add up to 20 at once, and the settings on the left apply to all of them.

The settings panel with the add images area outlined in red

Checkpoints

  • The format is in the supported list
  • Your images appear under Uploaded images

Where to look on screen

01
Add images

Click to choose files, or drag images here. You can select several at once.

The add images area outlined in red
02
Supported formats

These are the formats you can compress. AVIF appears only if your browser can write it.

The supported formats list outlined in red
03
Uploaded images

Your added images. Click one to compare it before and after in the area above.

The uploaded images list outlined in red

STEP 2

Choose how to reduce the size

If a form or website sets a size limit, use Set a maximum file size. Otherwise, use Quality. If you are not sure, try the default of 80 first.

The maximum file size field outlined in red

Checkpoints

  • You entered the limit, if there is one
  • You checked the quality, if there is no limit

Where to look on screen

01
Output format

Choose Keep original format, PNG, JPEG, or WebP. Turning a PNG screenshot or photo into JPEG lets quality lower its size. Transparent areas are filled with white. SVG and GIF are always kept in their own format.

JPEG selected under Output format, outlined in red
02
Set a maximum file size

Turn this on and enter a limit in KB. The tool picks the highest quality that fits, and the quality slider is not used.

The maximum file size setting outlined in red
03
Quality

Lower numbers make files smaller and fine detail rougher. This works on JPEG and WebP. PNG size does not change with quality.

The quality slider outlined in red
04
Use original when compression increases size

If compressing would make an image bigger, the tool keeps the original image content. For JPEG, PNG, and WebP, metadata such as location is still removed.

The use original setting outlined in red

STEP 3

Compress and check the result

Click Compress to see the images before and after, side by side. Check more than the file size: make sure text and fine detail still look right.

The result screen with the compressed image outlined in red

Checkpoints

  • Within target appears, if you set a limit
  • You checked fine detail at 100%

Where to look on screen

01
View options

Fit shows the whole image, and 100% shows actual pixels. Use 100% to check text and fine patterns.

The Fit and 100% buttons outlined in red
02
Size and reduction

The sizes appear under the images, with the status and reduction below them. If you set a limit, the chosen quality is shown too.

The status and reduction outlined in red
03
If you miss the target

Over target appears with the reason and what to try next. See "If you miss the target" further down this page.

The message for a missed target outlined in red

STEP 4

Save your images

Save one image or several at once. Saved files have "-compressed" added to the name, and your originals are not changed.

The result screen with Copy image and Download outlined in red

Checkpoints

  • The saved file fits your limit
  • You compressed again after changing a setting

Where to look on screen

01
Save or copy one image

Saves the image you are viewing. Copy image lets you paste it somewhere right away.

The Copy image and Download buttons outlined in red
02
Save several

Saves the images you selected in the list. Two or more are saved as a ZIP.

The button for saving several images outlined in red

How quality changes file size and appearance

We made a photo-like test image (4032 × 3024, JPEG, 2.59 MB) and compressed it at different quality settings.

Results for the test image
QualityCompressed sizeReduction
80860.9 KB67.5%
60434.5 KB83.6%
40302.9 KB88.6%
20186.0 KB93.0%
Part of the image compressed at quality 80, enlarged 2×
Quality 80 (860.9 KB)
Part of the image compressed at quality 40, enlarged 2×
Quality 40 (302.9 KB)
Part of the image compressed at quality 20, enlarged 2×
Quality 20 (186.0 KB)

Each image shows the same spot enlarged 2×. Going from quality 80 to 60 cut the size roughly in half. The fine grain visible at 80 is gone at 40, and square blocks start to appear at 20.

What quality does a size limit give you?

We tried different limits on the same test image.

Quality chosen for each limit
LimitQuality chosenSize shown on screen
1000 KB83968.0 KB
600 KB70582.8 KB
300 KB38292.5 KB

The size on screen looks a little smaller than the limit because the two use different units. The limit counts 1 KB as 1000 bytes, and the screen counts it as 1024 bytes. This way, a "600 KB" limit is met whichever unit the form uses.

If you miss the target

If lowering the quality is not enough, you will see Over target. You can still save the smallest result. What to try next depends on the format.

FormatWhyWhat to try
PNGQuality does not reduce PNG sizeFor photos, choose JPEG under Output format, then compress
JPEG, WebPToo large even at the lowest qualityMake the image smaller with Batch image crop and resize, then compress
SVG, GIFQuality cannot be adjustedOnly extra data is removed. If it is still over the limit, consider another format

Notes

Notes

Important points are grouped with reasons so you can make decisions before using the tool.

Format

You can choose the output format

By default, images keep their format. If the upload form asks for JPEG, choose JPEG under Output format. PNG and iPhone HEIC can be compressed as JPEG directly.

Dimensions

Width and height do not change

This tool reduces the file size only. To change the pixel dimensions, use Batch image crop and resize.

Privacy

Your images stay on your device

Compression runs in your browser, and your original files are not changed.

FAQ

Questions about Image Compression

Questions that make decisions easier before use are summarized first.

Are image files sent externally?

No. Image compression runs in the browser, and files are not sent externally.

Can I choose the output format?

Yes. Choose Keep original format, PNG, JPEG, or WebP (AVIF only in browsers that can save it). Choose JPEG if the upload form asks for JPEG. PNG size cannot be lowered with quality, so choose JPEG or WebP to make files smaller. SVG and GIF are always kept in their own format.

Can I compress multiple images at once?

Yes. You can select multiple images and check file-by-file results and total reduction.

Can compression increase file size?

It can happen for formats such as PNG or GIF. By default, the original file is kept when compression would make it larger.

Can it compress SVG and GIF?

Yes. SVG stays vector-based, and GIF is optimized without intentionally removing animation.

Can I compress to a limit like 600 KB?

Yes. Turn on Set a maximum file size and enter a number, and the tool picks the highest quality that fits. PNG, SVG, and GIF cannot be adjusted with quality, so if they miss the limit, the tool explains why and what to try next.

Can it compress HEIC / HEIF?

Yes. You can add iPhone HEIC / HEIF photos as they are. Many upload forms do not accept HEIC, so they are compressed as JPEG.

Find by task

Guides that use this tool

Step-by-step articles for specific problems, with results from running the tool ourselves.

Next tools

Tools you can use next

Pass the result straight on, without choosing the file again.

Next guides

Related guides

Related guides are listed next so you can continue without getting lost.