🖼️ Image Resizer

Resize any image to exact pixel dimensions or a percentage of the original. Everything runs locally in your browser — the image is never uploaded anywhere.

How the new size is worked out

The picture is decoded and redrawn at the target size on a canvas in this page; it is never uploaded. With the aspect lock ticked, typing into one box fills the other from the original ratio:

ratio  = original width / original height
height = round(width / ratio)     width = round(height × ratio)

A 4000×3000 photo has a ratio of 1.3333, so a width of 1200 gives a height of 900. In percentage mode only the first box is read and the figure is applied to both dimensions - 25% of that photo is 1000×750, whatever the height box says.

Scaling quality

The download is always a PNG, so a resized JPEG photo comes back lossless but far larger than it needs to be - send it through the Image Compressor afterwards. EXIF, including the camera and any GPS tag, is dropped by the canvas.

Frequently asked questions

How do I resize an image without losing quality?

Shrinking is safe here: pixels are averaged down and written to a lossless PNG, with no re-compression. Growing an image cannot restore detail that was never captured, so keep upscaling modest.

Why does the height box do nothing in percentage mode?

Percentage mode reads the first field only and scales width and height by that one number, which keeps the proportions intact. Switch to Pixels if you need to set the two dimensions independently.

How do I resize an image to a specific file size?

Dimensions are all this tool controls. Resize to the pixel size you need here, then use the Image Compressor and lower its quality slider until the reported file size is under your limit.