Fit, fill or stretch
When you set only a width or only a height, the other side follows the image's proportions. When you set both and the image has a different shape, choose how it meets the box:
- Fit inside keeps the whole image and its proportions; one side comes out smaller than the box.
- Crop to fill makes exactly the size you asked for and keeps proportions by trimming the edges, keeping the centre. Use it for profile pictures, thumbnails and passport photos.
- Stretch makes exactly the size by squashing or stretching the image. Rarely what you want for photos.
How to use the Image Resizer
- Choose, drop or paste images, or press Sample.
- Enter a width and/or height in pixels, pick a preset, or switch to Percent.
- If you set both sides, choose Fit inside, Crop to fill or Stretch.
- Download each image, or all of them as a ZIP.
Examples
Half size
sample-photo.jpg: 1600 × 1067 JPEG. 50%.JPEG, 800 × 534, 29,899 bytes1067 × 0.5 = 533.5, rounded to 534.
A width of 1200, height automatic
The same photo. Width 1200, height empty.JPEG, 1200 × 800, 80,797 bytesA square Instagram post
The same photo. 1080 × 1080, Crop to fill.JPEG, 1080 × 1080, 122,902 bytesThe centre square (1067 × 1067) is kept and scaled to 1080. With Fit inside the result would be 1080 × 720.
A 35 × 45 mm passport photo
The same photo. 413 × 531, Crop to fill.JPEG, 413 × 531, 16,768 bytes35 × 45 mm at 300 dpi. Check your country's rules for head size and background.
Quality
Images are resampled with a Lanczos filter, which keeps downsized images sharp without jagged edges. Making an image larger than its original can't add detail: it gets bigger, not sharper.
Options
- Width and height
- In pixels. Leave one empty to keep proportions. Up to 16,384 pixels a side.
- Percent
- Scale both sides by the same percentage, up to 1000%.
- Fit
- When both sides are set: Fit inside, Crop to fill (from the centre) or Stretch.
- Format and quality
- Keep the original format or convert; quality applies to JPEG, WebP and AVIF (85 by default).
Limitations
- Images up to 50 megapixels; phones may run out of memory sooner.
- Crop to fill keeps the centre; to choose the area yourself, use an image cropper first.
- Animated GIF and WebP images keep only their first frame.
- Metadata (EXIF, GPS) isn't kept.
Frequently asked questions
How do I resize without losing quality?
Downsizing always discards pixels, but the Lanczos filter keeps edges sharp. Save as PNG or use quality 90 or higher to avoid adding compression artefacts. Enlarging can't add detail.
How do I resize an image to 1080 × 1080 without cutting it?
Choose Fit inside: the whole image fits within 1080 × 1080. A non-square image will then be narrower or shorter than 1080 on one side; to fill the square you must crop or add borders.
What size is a passport photo in pixels?
At 300 dpi, a 2 × 2 inch US photo is 600 × 600 pixels and a 35 × 45 mm photo, used in the UK, EU, India and many other countries, is 413 × 531 pixels. Online applications may ask for other sizes; follow their instructions.
Can I resize many images at once?
Yes. All images get the same settings; download them one by one or as a ZIP.
Are my images uploaded?
No. Images are decoded, resized and encoded in your browser, and never leave your device.