SajinbaroResize & compress images

Crop an image

Choose an image, drag the area to keep on the preview or type its coordinates, then press “Crop” to see the real output resolution and file size before you download.

Or drop it here. One JPEG, PNG or WebP image · up to 20 MB · 20 megapixels · 8,192 px on the long side. Your image never leaves this device.

Result

Choose an image to compare the original and the result here.

How it works

  • The area is set in pixel coordinates of the upright image (camera rotation, EXIF, already applied). X and Y are measured from the top-left corner; width and height are the size to keep.
  • Coordinates are whole pixels and cannot go outside the image. A zero size or numbers that go past the edge are explained so you know what to fix.
  • Choosing a ratio (1:1, 4:3, 3:4, 16:9) selects the largest centred area at that ratio, and dragging a corner keeps it. Typed numbers are used exactly as entered.
  • The kept pixels are copied as they are, without scaling. To change the size, crop first and then use Resize.

Does cropping reduce quality?

The kept pixels are copied unchanged, so saving as PNG loses nothing. JPEG and WebP are re-saved at 92% quality, which can change the image very slightly.

Is my image uploaded to a server?

No. The image is opened and saved again only inside this browser. It is never sent to a server, and the work pages carry no ads or third-party analytics. When you close the page, the image and the result are cleared from memory.

Is camera information such as location (EXIF) removed?

The image is redrawn and saved through the browser's canvas, so the original camera information is usually not carried into the result. This has not been confirmed for every browser and file, so removal is not guaranteed. If the photo contains sensitive information, check the result with another tool.

Sources and rules

  • Canvas toBlob (MDN): How the browser saves an image in a chosen format and quality. If a format is not supported, the real output format is checked and you are told.
  • createImageBitmap (MDN): How the image is opened. Rotation information (EXIF orientation) is applied where the browser supports it.