Image Compressor Hub
Image Compressor: shrink a photo in the browser
Shrink a photo in this browser. The quality slider starts at 80, JPEG and WebP keep their format, and a result that fails to get smaller leaves you with the original.
Loading image compressor…
Written by Safaat Rahman Siham, Founder & Developer at Convertify4u. Contact us.
Keep the format, and download the smaller file
Start at 80 and look at the preview. Move down only while the picture still looks right at the size you will publish. If a try fails to beat the working file, the download stays that working file, so you always have a copy that is at least as small as what you brought.
How it works
- 1
Add the image
JPG, PNG, WebP, HEIC, HEIF, GIF, BMP, TIF, TIFF, AVIF, and SVG are all accepted. JPEG, PNG, and WebP compress in their own format. The other types are decoded to PNG first, and a GIF uses its first frame only. The picture stays in this browser while you decide how far to move the slider.
- 2
Move the quality slider
It starts at 80 and runs from 1 to 100. For JPEG and WebP, the percent becomes the canvas quality, so 80 is 0.80. For PNG, high values stay near lossless, mid values quantize the palette, and the lowest values also scale down to 0.75 of each side. Watch the preview and stop while text and edges still look clean.
- 3
Download the lighter file
If the new encode is smaller, that is the file you save. If it is the same size or larger, you keep the working image. JPEG and WebP keep their type. PNG stays PNG, including a HEIC or GIF that was decoded to PNG along the way. For a hard kilobyte cap on JPEG or WebP, the image resizer has the optional target. This page is the slider.
Use cases
A photo that is heavier than the form allows
Start at 80 and step down while the subject still looks right. If a step fails to shrink the file, you still have the lighter working image to download.
A PNG screenshot with crisp type
Keep the slider high so the PNG stays near lossless. Mid values cut the palette and can shift flat colors, so check a line of text before you publish.
A HEIC or GIF you need as a still
HEIC becomes a PNG, then the PNG strategy runs. A GIF gives you its first frame as PNG. Convert to JPG first if the form asked for JPEG.
A smaller file that still looks right
The file barely moved
A JPEG that is already tight often fails to shrink at high quality, and you keep that working image. Lower the slider, or resize the pixel dimensions on the image resizer if the photo is far larger than it will be displayed.
You wanted an exact kilobyte size
This page uses the quality slider. A typed kilobyte target for JPEG or WebP lives on the image resizer. Set the pixels there, choose JPG or WebP, and enter the target.
Image tool ecosystem
Pair our image compressor with Convertify4u converters when you need to normalize HEIC assets or clean a backdrop before you compress image exports.
- Compress JPG
The same compressor, aimed at JPEG photographs.
- Compress PNG
PNG stays PNG, with palette reduction as the slider moves down.
- Image resizer
Change the pixel size first, or set a JPG or WebP target in kilobytes.
- HEIC to JPG
Make a JPEG at quality 0.92 before you compress it as a JPEG.
- Compress toward a file size
A page for the moment a form named kilobytes and you want to judge the slider against that number.
- Convertify4u and iLoveIMG
How this image toolkit compares when you are deciding where a photo should go.
- WebP to JPG
Turn a saved WebP photo into a JPG on white before you compress it.
- WebP to PNG
Keep a WebP logo’s transparency as a PNG, then compress that PNG if it is heavy.
Related guides
Specialized compression guides
Trust, speed & privacy
The work stays in your browser
Compression runs locally, from the preview through the download. The slider starts at 80 and runs from 1 to 100. You compare the result with the picture you opened and keep the file that is actually smaller.
You keep the smaller file
The new encode is saved only when it is smaller than the working image. When it ties or grows, the original working file is what you download. JPEG and WebP stay themselves. PNG stays PNG.