AyeCalc
All tools
Image tools

Free Image Resizer Online

Resize up to ten images without uploading them. Preserve each image's aspect ratio, prevent accidental upscaling, apply common width presets, choose an output format, and download individual files or one ZIP archive.

Batch resize up to 10Aspect-safe dimensionsLocal processing
Private batch image resizer

Resize images in your browser

Images stay local
Drop images here

JPEG, PNG, or WebP · up to 10 files, 100 MB each, and 50 megapixels

Core formulaoutput height = source height × output width ÷ source width

Aspect-locked resizing applies one scale factor to both dimensions; exact mode can change width and height independently.

01
Method

How the image resizer works

The browser decodes each selected image, calculates the requested output dimensions, draws the pixels onto a new canvas with high-quality smoothing, and encodes a metadata-free JPEG, PNG, or WebP file.

Formulaoutput height = source height × output width ÷ source width

Aspect-locked resizing applies one scale factor to both dimensions; exact mode can change width and height independently.

02
Worked example

Resize a 2400 × 1600 image to 1200 pixels wide

With the aspect ratio preserved, the scale factor is 0.5 and the output becomes 1200 × 800 pixels. Prevent-upscale mode leaves images smaller than the requested width at their original dimensions.

03
Output

Using the processed image

Keep the exported dimensions, format, transparency, and compression level appropriate for where the image will be used.

Canvas resize
canvas.width = outputWidth;
canvas.height = outputHeight;
context.drawImage(bitmap, 0, 0, outputWidth, outputHeight);
Aspect calculation
const outputHeight = Math.round(
  sourceHeight * outputWidth / sourceWidth
);
04
Practical guidance

Using the result accurately

Resize to the largest dimensions the final layout actually needs. Keep the aspect ratio locked for photographs and interface assets unless intentional distortion is required, and inspect text or fine detail after a large reduction.

Important limitation

Upscaling cannot restore missing detail. Browser encoders can produce slightly different file sizes, color output, and compression artifacts, and generated files do not retain EXIF, camera, location, or resolution metadata.

References: MDN CanvasRenderingContext2D drawImage().

Common questions

Image Resizer FAQ

Answers about the method, assumptions, and practical use.

Does AyeCalc upload images while resizing them?

No. Image decoding, resizing, and encoding happen inside the browser. The generated files remain local unless you choose to download or share them.

Can I resize several images at once?

Yes. Add up to ten JPEG, PNG, or WebP images and apply the same resize rules to the batch. Each successful result remains available even if another file fails.

What does prevent upscaling do?

It stops an image from being enlarged beyond its decoded dimensions, which avoids creating a larger file with no new source detail.

Will transparency be preserved?

PNG and WebP output can preserve transparent pixels. JPEG has no alpha channel, so transparent areas use the selected background color.