- Home
- Tools
- Image Tools
- Image Resizer
Image Resizer
Change the size of a picture in pixels or percent.
JPEG, PNG, WebP, GIF, AVIF, BMP or SVG. The pictures stay on your device.
JPEG, PNG and WebP keep their format. Other pictures (GIF, BMP, AVIF, SVG) are saved as PNG.
How the resizing works
Your browser does the resizing. The pictures are not uploaded.
Three ways to set a size
Exact size takes a width, a height or both. With "Keep the proportions" ticked, one of the two is enough. A 4000 × 3000 photo given a width of 1920 becomes 1920 × 1440, because 1920 ÷ 4000 = 0.48 and 3000 × 0.48 = 1440. Untick it and the picture is stretched to whatever you type, which is rarely what a photo needs.
Percentage scales both sides by the same factor. 50% means half the width and half the height, so a quarter of the pixels.
Fit within makes each picture as large as fits inside a box, without changing its shape. It is the mode for a batch of mixed landscape and portrait photos: with 1920 in both fields, a 4000 × 3000 photo becomes 1920 × 1440 and a 3000 × 4000 one becomes 1440 × 1920. Leave a field empty to limit only the other side.
Making a picture smaller
Shrinking is done in steps. The picture is halved, and halved again, until it is at most twice the size you asked for. The last step goes straight to the target. Every step blends neighboring pixels, with the browser's smoothing at its highest setting.
The reason for the detour: in one jump from 4000 to 500 pixels, a browser may look at only a few of the original pixels for each new one. Fine patterns such as fabric, hair or roof tiles then come out jagged or with moiré. Halving first lets every pixel count.
Making a picture larger
Enlarging is off until you tick "Allow enlarging", for a reason. The extra pixels have to be made up from the ones that are there, so the result is bigger and smoother, not sharper. A 640 × 480 picture doubled to 1280 × 960 still holds the detail of 640 × 480. That is fine for an upload form that demands a minimum size, and no help for printing a small photo large.
What changes in the file
A picture that needs no change at all is handed back as the original file. Every other result is drawn and saved anew, which has consequences:
- What the camera stored with the photo is gone: the date, the camera model, the GPS position. A photo that was stored sideways with a note to rotate it comes out upright, with the rotation applied.
- JPEG and WebP are compressed again, and every round loses a little. Resize from the original, not from an earlier copy. The quality slider sets how much is given up; at 90 the difference is hard to see.
- JPEG has no transparency. Transparent areas get the background color you pick, white unless you change it. PNG and WebP keep them.
- Animations become a still picture of their first frame.
- Only JPEG, PNG and WebP are written. With "Original" selected, a GIF, BMP, AVIF or SVG file is saved as PNG.
A result can have about 16.8 million pixels at most, 4096 × 4096 for instance. That is as much as the strictest browsers can draw.
If the aim is a smaller file and the pixel size can stay, the Image Compressor is the better tool.