Resize Image
Resize images to exact pixels, a percentage, or a longest side. Works on batches, keeps the aspect ratio, and runs in your browser without uploading anything.
Overview
How to resize an image
Add one image or a batch, choose how to size them, and download the results. You can set a width and height in pixels, scale by a percentage, or set the longest side so portrait and landscape photos come out consistent. The aspect ratio stays locked unless you unlock it, and images are never enlarged unless you turn that on. Each file keeps its format by default (PNG stays PNG, JPG stays JPG), or you can save everything as JPG, PNG or WebP. Resizing uses a Lanczos filter in linear light, which avoids the dark edges and dull colours a plain canvas resize can produce.
Use cases
When to resize an image
- 01
Bring camera photos down to 1920 px on the longest side before putting them on a website
- 02
Hit an exact size a form or marketplace asks for, such as 1200 × 1200 pixels
- 03
Halve a folder of screenshots so they fit in an email or a document
- 04
Make a set of product photos the same width without cropping any of them
Examples
Image resizing examples
4000 × 3000 photo, longest side 1920
ex 011920 × 1440
The longer side becomes 1920 and the other side follows the aspect ratio.
4000 × 3000 photo, 50%
ex 022000 × 1500
Half the width and half the height is a quarter of the pixels.
4000 × 3000 photo, 1000 × 1000 with the aspect ratio locked
ex 031000 × 750
The image is fitted inside the box you give. Unlock the ratio to get exactly 1000 × 1000, stretched.
800 × 600 image, longest side 1920, enlarging off
ex 04800 × 600
Images already smaller than the target are left at their size unless you allow enlarging.
FAQ
Image resizing: common questions
No. The images are decoded, resized and saved by code running in your browser. You can check in your browser's developer tools: no request carries your files.
Leave "Keep aspect ratio" on. Enter only a width or only a height and the other side is worked out for you. If you enter both, the image is fitted inside that box, so one side may come out smaller than you typed.
Choose Pixels, turn off "Keep aspect ratio" and enter both numbers. The image is stretched to that size, so it will look distorted if its shape is different. To get an exact size without distortion, crop the image to the right shape first with /crop-image, then resize it.
Yes. Add as many as you like and they are all resized with the same settings. Percent and Longest side are the most useful modes for a mixed batch, because they give sensible results for both portrait and landscape images. Download the results one at a time or together as a zip.
Enlarging is off by default, because making an image larger adds pixels without adding detail and the result looks soft. Turn on "Allow enlarging" if you need it anyway.
Making an image smaller discards pixels, so fine detail is lost, but the result usually looks sharp at its new size. JPG and WebP are also re-encoded at quality 85, which adds a small amount of compression. PNG output is lossless.
PNG, JPG, WebP, AVIF, GIF, BMP and TIFF. PNG, JPG, WebP and AVIF keep their format by default. GIF, BMP and TIFF are saved as PNG, and only the first frame of an animated GIF or the first page of a TIFF is used.
The image is turned upright according to its EXIF orientation, then saved without EXIF metadata. Camera details and GPS location are not carried into the resized file.
More
Tools that pair well
Crop Image
Crop an image to any area or a fixed aspect ratio such as 1:1, 4:3 or 16:9. Drag the crop box or type exact pixels. Runs in your browser without uploading anything.
Image Compressor
Compress PNG, JPG, and WebP images without changing format. Runs in your browser, so your images are never sent to a server.
Image Converter
Convert between PNG, JPG, WebP, AVIF, JPEG XL, TIFF, BMP, GIF, SVG, ICO, and HDR in your browser. Nothing is uploaded, and it is free for any number of files.
Last updated