Skip to main content

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.

You need a lighter copy of a picture before you upload it. Move the quality slider in this browser, starting at 80, and download the smaller file when the new encode actually wins. The slider runs from 1 to 100. JPEG and WebP use that number divided by 100 as the canvas quality, so 80 means 0.80, and both formats stay in their own type. PNG stays a PNG. High slider values stay near lossless. Mid values quantize the palette so the file can shrink. The lowest values also scale the image down, to 0.75 of each side at the bottom of the slider. If the candidate is the same size or larger than the working image, you keep the original, so a try that fails to shrink the file still leaves you with the lighter copy. Everything on this page runs locally. JPG, PNG, WebP, HEIC, HEIF, GIF, BMP, TIF, TIFF, AVIF, and SVG are accepted. HEIC and HEIF are decoded to PNG, then compressed as PNG. A GIF contributes its first frame only, and the download is a PNG. BMP, TIFF, AVIF, and SVG are decoded to PNG before the slider runs. A typed kilobyte target lives on the image resizer, for JPEG and WebP. This page is the quality slider, and you judge the preview at the size you will publish. Text and flat logos show damage sooner than a photo of a sky, so stop while the picture still looks right.

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. 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. 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. 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.

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.

Frequently asked questions