Image Compressor

Compress and optimize images to reduce file size

By

Everyday tools

Choose a JPG, PNG, or WebP image

The file stays in this browser. The download is a JPEG.

Runs in your browser. No signup required.

What this tool does, and when to use it

What the export actually is

The compressor draws your image on a canvas in the browser and saves a JPEG at the quality you set. JPG, PNG, and WebP can be the input when the browser can display them. The download is always a .jpg. JPEG has no transparency, so transparent pixels are flattened. Other file types are declined instead of being half-converted.

Quality runs from 10 to 100. A lower number usually makes a smaller photo, but not by a fixed percent. Icons, screenshots, and files that are already small can grow at a high quality, because JPEG is a poor fit for flat color. The result states whether the new file is smaller or larger than the original, and it names the quality that produced that preview.

When to use it

Use it when a form, email, or page rejects a large photo. Start at 80, compress, and compare the preview with the size. Drop toward 60 if you need fewer kilobytes and the picture still looks acceptable. Images wider than 1,920 pixels or taller than 1,080 are scaled down to fit inside that box. Smaller images keep their pixel size, and the page says so when it scales.

Nothing is uploaded. Moving the quality slider does not change the file until you compress again. If the JPEG is larger, keep the original.

Worked example

A 4,000×3,000 photo is scaled to fit 1,920×1,080 before the JPEG is written. At quality 80 you then compare the original byte size with the JPEG. A 40 KB PNG icon at quality 100 may come back larger. That is a reason to lower the quality or skip the download, not a failed upload.

Related on UtilGenie: QR Code Generator, Color Picker.

The fit is a scale, then a round to whole pixels

JPG, PNG, and WebP can be the input when the type or the file name says so. The download is always a JPEG named from the original with -compressed.jpg on the end. Team Photo.PNG becomes Team-Photo-compressed.jpg. Before the encode, any image wider than 1,920 or taller than 1,080 is scaled by the smaller of 1920 ÷ width and 1080 ÷ height. Each side is then rounded. A picture already inside that box is not enlarged.

A 4000 by 3000 photo uses 1080 ÷ 3000 = 0.36, so it is drawn at 1440 by 1080. A 2000 by 1000 photo uses 1920 ÷ 2000 = 0.96, so it is drawn at 1920 by 960. A 1000 by 2000 portrait uses 0.54 and is drawn at 540 by 1080. An 800 by 600 picture stays 800 by 600. A picture that is already 1920 by 1080 is not marked as scaled.

White first, then JPEG at quality divided by 100

The canvas is filled with #ffffff before the image is drawn, so clear pixels become white. JPEG has no alpha channel. The quality slider runs from 10 to 100 and starts at 80. That number is divided by 100 and passed to the JPEG encoder, so 80 means 0.8. Moving the slider does not rewrite the file. Compress again after you change it. The card says the preview is stale until you do.

The page compares byte sizes after the blob exists. It does not promise a percent. A small PNG or a flat icon can grow at a high quality, because JPEG is a poor fit for flat color. If the new file is larger, keep the original. The result names the quality that produced the preview.

Files the button will not compress

A GIF, a HEIC, or a file whose type and name are not JPG, PNG, or WebP is refused with the message to choose one of those three. A file the browser cannot decode sets an error and does not offer a download. The original object URL is released when you pick another file or leave the page.

This page changes pixels only for the 1920 by 1080 fit, and it always writes JPEG. The image resizer is the page for an exact width and height or a percent. The WebP converter is the page that turns a WebP into a PNG. Nothing here is uploaded.

How to compress an image with UtilGenie

Shrink JPG/PNG file size free in your browser—no signup.

  1. 1

    Open the image compressor.

  2. 2

    Click Choose image and pick a JPG, PNG, or WebP. The download will be a JPEG.

  3. 3

    Set JPEG quality. There is no separate target-size field. Images larger than 1920×1080 are scaled down.

  4. 4

    Click Compress image and wait until compression finishes in the browser.

  5. 5

    Click Download JPEG.

FAQ

How do I compress an image online for free?

Click Choose image, pick a JPG, PNG, or WebP, set JPEG quality, then click Compress image and Download JPEG. This page compresses an image. There is no separate target-size field.

Will compressing an image reduce quality?

Lossy compression (typical for JPG) trades some quality for size. Start with a moderate setting; increase compression only if the file must meet a size limit.

Is compress image the same as resize image?

No. Compress shrinks file size (optimize). Resize changes width/height. Use image-resizer for dimensions; keep compress language only on this page.

Can I compress PNG and JPG?

JPG, PNG, and WebP can be the input when the browser can display them. The download is always a JPEG, so transparency is flattened. HEIC belongs on the HEIC to JPG tool, and WebP to PNG or JPG belongs on the WebP converter.

Are my photos uploaded when I compress them?

UtilGenie’s compress image flow runs in the browser so files aren’t uploaded to UtilGenie servers for compression. No signup required.

What size is a 4000 by 3000 photo after the fit?

1440 by 1080. The tighter ratio is 1080 ÷ 3000 = 0.36, and both sides are multiplied by that and rounded. It is not stretched to 1920 by 1080.

Which pictures keep their pixel size?

Any picture that is not wider than 1,920 and not taller than 1,080. An 800 by 600 image stays 800 by 600. A picture that is already exactly 1920 by 1080 is not scaled.

What color replaces transparency?

White. The canvas is filled with #ffffff before the image is drawn, and the download is a JPEG, which has no alpha channel.