Resize Images by Pixels, Percent or Social Preset

Resize images by exact pixels, percent or social media preset with aspect ratio lock, contain, cover or stretch fit, batch and ZIP. Runs in your browser.

Runs in your browser. Nothing is uploaded.

Images & PDF

Image Resizer

Images and size

Up to 100 files · Max 50MB each

Resized images are written fresh by your browser, so EXIF data (camera, date, GPS) is not copied. Photo orientation is applied to the pixels.

Resized files

Choose images, set a size and press Resize. Each result shows its new pixel size and file size.

Example

Input
photo.jpg (4032 x 3024 px), pixels mode, width 1200, aspect ratio locked
Result
photo-1200x900.jpg: 1200 x 900 px. The height follows the original shape, so nothing is stretched.

Pixels, percent or preset

In pixels mode you enter a width, a height or both. With "Keep aspect ratio" on, each image is scaled to fit inside that box without distortion, so a batch of photos with different shapes all end up no larger than the box. Typing a width fills in the height from the first image, and the line under the form tells you the exact result for it before you run anything. With the lock off you get exactly the width and height you entered, and the fit mode decides what happens when the shape differs.

Percent mode scales every image by the same factor, from 5 to 400 percent. Presets cover common targets such as an Instagram square, a story, an Open Graph link image of 1200 x 630, an X header or a YouTube thumbnail. Platforms change their recommended sizes now and then, so confirm the numbers with the platform when exact dimensions matter.

Contain, cover and stretch

When the target shape is different from the picture, there are three honest choices. Contain keeps the whole image and pads the empty space with a colour or with transparency. Cover fills the target completely and crops the edges that do not fit, which is what most social posts want. Stretch fills the target by distorting the image and is only useful when you know the proportions are close.

Smoothing controls how pixels are blended while scaling. Best quality uses stepwise reduction for large size drops, which avoids the jagged look a single big reduction can give. Fast is quicker with less polish, and the no smoothing option keeps hard pixel edges, which suits pixel art and icons you scale up by whole numbers.

Limits and what is written

Images are read and written by your browser, one at a time, so a batch will not freeze the page and you can download a ZIP at the end. The output can be at most 16,384 pixels on its longest side and 64 megapixels in total; the tool refuses larger requests with a message because a canvas that big can crash a tab, especially on phones. Inputs can be up to 50 MB each, in PNG, JPEG, WebP, GIF, BMP or AVIF, up to 100 files per run.

The EXIF orientation of a photo is applied before resizing, so portrait photos from a phone keep the right way up. The result is written again from pixels, so EXIF data such as GPS is not copied into it. Enlarging a small image does not add detail, it only makes the same information bigger and softer, so resize down whenever you can.

Frequently asked questions

How do I resize an image without stretching it?

Use pixels mode with Keep aspect ratio turned on. Enter a width or a height and the other side follows the picture, or use a preset with the cover or contain fit.

What is the difference between contain and cover?

Contain shows the whole image and pads the extra space. Cover fills the target size and crops the parts that do not fit.

Can I resize many images at once?

Yes, up to 100 at a time. They are processed one after another and can be downloaded as a ZIP.

Does resizing keep the EXIF location data?

No. The output is drawn from pixels, so EXIF and GPS data are not copied. The photo orientation is applied to the pixels.

Is there a maximum output size?

Yes: 16,384 pixels on a side and 64 megapixels in total, to keep browsers from running out of memory.

Related tools