Image Compressor, Resizer & Cropper

Compress, resize and crop JPG, PNG and WebP images right in your browser. Set a quality level or a target size in KB, pick exact dimensions, crop to a shape such as square or passport photo, and download the result. Your image never leaves your device.

Drop an image here, paste one, or click to choose JPG, PNG or WebP, up to 30 MB. The image never leaves your browser.

Compress, Resize and Crop Images Online

Large photos are slow to upload and often rejected by forms that ask for a file under 100 KB or 200 KB. This tool shrinks an image, changes its dimensions and crops it, all inside your browser.

You can choose a quality level yourself, or enter a target size in KB and let the tool find the highest quality that fits. The image is processed on your device and is never sent to a server.

Key features

How to use

  1. Drop an image on the box, paste one, or click to choose a file.
  2. Optional: drag on the image to select the area to keep, or pick a crop shape.
  3. Choose the format. JPEG and WebP are best for photos.
  4. Set the quality, or type a target size in KB.
  5. Change the width or height if you need a specific size.
  6. Check the preview and the new size, then press Download.

Use cases

In depth

Image size depends on three things: the number of pixels, the format and the compression level. A phone photo of 4000 by 3000 pixels has twelve million pixels, and most websites need far fewer. Halving the width and height cuts the pixel count to a quarter, which is usually the biggest saving you can make before touching quality.

JPEG and WebP are lossy: they discard detail that is hard to see in exchange for a smaller file. A quality near 75 to 85 is often a good balance for photos, with little visible difference from the original. Below about 50, blocky patches and colour banding appear. WebP usually gives a smaller file than JPEG at the same visual quality, but a few older apps and upload forms still accept only JPEG.

When you enter a target size, the tool tries qualities between 5 and 95 percent and keeps the highest one whose file fits. If even the lowest quality is too large, it scales the image down by about 15 percent and tries again. The result is the best match the browser encoder can produce, and it may land somewhat below the target rather than exactly on it.

Tips

Learn more

Read our guide: How to Compress an Image to 100 KB (or 50 KB, or 200 KB) Without Ruining It

Related tools

Frequently Asked Questions (FAQ)

No. The image is read and processed by your browser using a canvas. It is never sent to a server.

Type 100 in the target size box. The tool searches for the highest quality that stays under that size, and if the image is still too big it reduces the dimensions in small steps.

PNG is a lossless format, so quality does not apply. To make a PNG much smaller, switch the format to JPEG or WebP, or reduce its width and height.

JPEG cannot store transparency, so transparent areas turn white. Choose WebP or PNG to keep transparency.

This can happen when the original is already well compressed, or when you choose PNG. Lower the quality, switch to JPEG or WebP, or reduce the dimensions.

Files up to 30 MB are accepted, and the output can be up to 8000 pixels on each side. Very large images may be slow or fail on phones with little memory.

No. The image is redrawn on a canvas, so camera details and GPS location are removed from the result.

Choose a crop shape, then set the width and height. With proportions kept, the other value follows automatically. Cropping and resizing are separate steps, so the crop decides what is kept and the width and height decide the final size.

Choose the unit, set the resolution in DPI, then type the width and height. The tool turns the physical size into pixels: for example 2 inches at 300 DPI is 600 pixels. The DPI is also saved inside JPEG and PNG files.

No. DPI is a label that tells a printer how large to print the pixels. The image only gains detail if it has more pixels. For a sharp print at 300 DPI, the picture needs about 300 pixels for every inch of the printed size.

A 35 x 45 mm photo at 300 DPI is about 413 x 531 pixels. Pick the passport preset and the tool crops and sizes the image for you. Always check the rules of the specific application, because some ask for a different size or a file size limit.