SajinbaroResize & compress images

Resize an image

Choose an image and enter a width or height in pixels — the other side is filled in to keep the aspect ratio. Press “Resize” to see the real output size, then 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

  • Keeping the aspect ratio: new height = new width × original height ÷ original width (rounded to whole pixels).
  • Example: a 1000×500 image resized to a width of 500 becomes 500×250.
  • Making an image larger than the original is blocked by default. Enlarging does not improve quality and may only increase the file size.
  • One JPEG, PNG or WebP image at a time, up to 20 MB, 20 megapixels and 8,192 px on the long side.

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.