Image Compressor

Choose a target such as 500KB or 1MB and automatically optimize quality and dimensions.

Drop an image here

Drag and drop or use the button below

JPG, PNG, WEBP · Up to 40MB · Up to 40 megapixels
Your image stays in this browser and is not uploaded to a server.

Just three simple steps

  1. 1

    Select one JPG, PNG, or WEBP image.

  2. 2

    Choose 500KB, 1MB, 2MB, or enter a custom target size.

  3. 3

    Review the actual size and quality, then download the optimized image.

Supported formats

Supports JPG, PNG, and WEBP with both automatic target-size compression and manual quality controls.

Processing limits

Up to 40MB · Up to 40 megapixels · Animated images are not supported

Meet a file-size limit without repeated trial and error

When an application form, marketplace, or email requires a file under 500KB or 1MB, enter that limit directly. Toolit preserves dimensions where possible, adjusts quality first, and resizes only when the quality range is not enough.

Unlike a one-pass quality slider, target-size mode checks the encoded result repeatedly to find a good file under your limit. The entire process runs in your browser, and the selected image is never uploaded.

Automatic KB and MB targets

Choose 500KB, 1MB, or 2MB, or enter the exact limit required by a form.

Quality-first optimization

The tool keeps the original dimensions first and reduces them only when quality adjustment is not enough.

Metadata is removed

The newly encoded result does not retain extra metadata such as location or camera information.

Helpful answers before you start

Can I compress an image under exactly 500KB or 1MB?

Target-size mode automatically searches for a result slightly below your limit. The exact byte count varies by image and browser encoder, but the result is optimized to stay under the selected limit.

How does target-size compression work?

For JPG and WEBP, the tool first searches for the highest usable quality at the original dimensions. It reduces the dimensions only when the lowest allowed quality still exceeds the target.

What image quality percentage should I use?

Target-size mode calculates quality automatically. In manual mode, start around 80% for a WEBP or JPG photo and inspect the preview.

Should I choose WEBP, JPG, or PNG?

Choose WEBP for smaller web and messaging images, JPG for broad compatibility, and PNG when you need transparency or crisp edges in logos and graphics.

Why is the quality control disabled for PNG?

PNG is lossless and does not use a quality percentage like JPG or WEBP. Target-size mode reduces dimensions while preserving transparency; for photos, WEBP usually reaches the target with better visual quality.

Can the compressed result be larger than the original?

Yes. Re-encoding an already optimized file at higher quality or as PNG can make it larger. Try WEBP, a smaller maximum dimension, or a lower quality setting.

Will a transparent background be preserved?

WEBP and PNG preserve transparency. JPG does not support transparency, so transparent areas are saved with a white background.

Does the result keep photo location data?

No. The browser saves the visible pixels as a new image, so EXIF details such as location, camera model, and capture date are not copied to the result.

Should I compress an already compressed result again?

You can, but repeated JPG or WEBP compression can soften text and edges. When you have a target size, restart from the original and reach the target in one pass.