Image Compressor

Shrink JPEG, PNG and WebP files with quality and color settings you control.

Files stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Compress controls

Drop your images here

or choose them from your device

JPEG, PNG or WebP images. All images in one run use the same settings.

    80

    50–100% for JPEG and WebP. PNG ignores this setting; use PNG colors instead.

    Keep the original pixel dimensions. Turn this off to apply the maximum longest side below.

    More options

    Used when the output is PNG. 256 colors makes a smaller file and can change colors and smooth shading. Full color keeps the PNG lossless but usually stays about the same size.

    0 keeps the original pixel size. Images are never enlarged.

    How to use Image Compressor

    1. Select your files in the Images field.
    2. Set Quality for JPEG and WebP output.
    3. Choose an Output format, or leave it on Keep the original format.
    4. PNG output ignores Quality. To shrink a PNG, open More options and set PNG colors to 256 or fewer; Full color (lossless) keeps every color but rarely saves space.
    5. Select Compress, then download the ZIP.

    Example: Image Compressor

    Re-encode a PNG photo as a smaller JPEG.

    You add
    One 320 by 240 PNG photo, Quality 70, Output format JPEG.
    You get
    One JPEG at 320 by 240 pixels, named after the source image with -compressed added. The result reports the size before and after.

    Options

    Quality
    Used for JPEG and WebP output only, where it is lossy. PNG ignores it.
    PNG colors
    Its default of 256 colors switches a PNG to palette quantization, which is what actually shrinks it and can change colors and smooth shading. Full color (lossless) keeps every color.
    Output format
    Keep the original format writes each file back as it was. JPEG and WebP use lossy compression. Compare the file size and visible detail for your own images.
    Maximum longest side (pixels)
    Zero keeps the original pixel size. A number such as 1600 scales the longest edge down to that many pixels, and images are never enlarged.

    Supported inputs and limits

    Batch sizeUp to 20 images per run
    Per image64 MiB each, 40 megapixels each
    Output formatJPEG and WebP lossy; PNG palettes up to 16 megapixels
    Up to 20 images per run, 64 MiB each, 128 MiB in total and 40 megapixels per image. JPEG and WebP output is lossy at the quality you choose, so detail is discarded. PNG output is lossy when PNG colors is 256 or fewer, which is the default; Full color (lossless) keeps every color but rarely changes the file size. Reducing PNG colors is capped at 16 megapixels of output because the quantizer holds several full-size copies in memory, so a larger PNG needs a Maximum longest side first. Re-encoding writes a new file without the original camera and location tags.

    Where your input is processed

    This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

    Why a lossless PNG re-encode rarely shrinks a file

    PNG is already a compressed, lossless format. Its rows are filtered and then compressed with the DEFLATE algorithm, so encoding the same pixels again with the same method lands on roughly the same bytes and can even add a few. The setting that really changes PNG size is the number of distinct colors: at 256 or fewer the image is rebuilt as a palette image, where each pixel is an index into a color table instead of a full color. Gradients and photographs can show banding afterwards, which is why Full color is the safe option.

    PNG specification, W3C

    Questions about Image Compressor

    Why is my PNG the same size after compressing it?

    At Full color (lossless) the same pixels are compressed the same way, so the file lands on roughly the same number of bytes. Lower PNG colors to 256 or fewer, or set Maximum longest side, to get a real reduction.

    Should I choose JPEG or WebP?

    Both are lossy at the quality you set. Compare the outputs at your chosen settings. JPEG may work in older software that cannot open WebP.

    Does compressing remove the location data in my photo?

    Yes. A re-encoded file is written fresh without the original EXIF block, so camera details and GPS coordinates do not survive. Keep the original if you need them.

    Why did my large PNG refuse to reduce colors?

    Palette reduction is limited to 16 megapixels of output so the browser tab stays responsive. Set Maximum longest side to 4000 pixels, which brings a 20 megapixel image back inside the limit.

    Project manager: Tony Hines · Content updated 4 October 2026 · Report a problem