Skip to content
ToolsOnDuty - free online tools
Image Tools

Image Compressor

Shrink an image's file size with an adjustable quality slider and see how much you save.

Free browser toolRuns in your browserNo sign-up
Size optimizer

Balance clarity and file size

Compare original and compressed sizes as you tune quality, then save only when the result is right.

Browser basedFiles stay private
  1. 1Choose an image
  2. 2Tune quality
  3. 3Compare and export
Drop an image here, or click to choose
PNG, JPG, WebP, GIF and more. Nothing is uploaded.

Best support: PNG, JPG and WebP. Browser-readable GIF and SVG files can be processed, but animated images export as a single frame. HEIC support depends on your browser.

Export: Optimized JPG or WebP at the original pixel dimensions.No upload, account or watermark added by ToolsOnDuty.

About the Image Compressor

Large images slow pages down and fill up storage. This compressor reduces an image's file size by re-encoding it at a quality you choose.

Move the quality slider and instantly see the new file size and how much you have saved, then download when it looks right. WebP usually gives the smallest files at the same quality.

Compression runs entirely in your browser, so your image stays private on your device.

Key features

  • Adjustable quality slider
  • Automatic quality search for a target file size
  • JPG or WebP output
  • Live original vs compressed size and savings
  • Preview before download
  • Private, in-browser processing

How to use

  1. 1Drop or choose an image.
  2. 2Drag the quality slider, use a quality preset, or enter a target size.
  3. 3Compare the preview and compressed size before saving.
  4. 4Download the compressed image.

Examples

Compress a photo
Input: JPEG photo at 65% quality
Output: Smaller JPEG with before-and-after file sizes

Actual savings depend on the source image and its existing compression.

Frequently asked questions

What quality should I use?
Around 70 to 80 percent is a good balance for photos: much smaller files with little visible difference. Lower values save more but can look blocky.
Why is WebP smaller than JPG?
WebP uses more modern compression, so it usually produces smaller files at the same visual quality. It is supported by all current browsers.
Why can the compressed file be larger than the original?
The original may already be highly optimized, especially if it is WebP. Converting it to high-quality JPG or re-encoding it at a higher quality can increase the size. The tool highlights this result so you can lower quality, keep WebP or retain the original file.
Why can a target size be impossible?
Quality reduction has a practical limit. If the image is still too large at minimum quality, reduce its pixel dimensions with the Image Resizer and compress it again.
Is my image uploaded?
No. Compression happens locally in your browser and nothing is sent to a server.

Open a related tool to prepare your files or refine the finished result.