About the Image Resizer
Resize an image to an exact width and height in pixels, or scale a photo to 25%, 50% or 75% of its original size, without it looking stretched. It covers the usual jobs, like an Instagram post, a YouTube thumbnail or a website banner, and the job portals and forms that only accept a photo at specific pixel dimensions.
With the aspect ratio locked, type one side and the other follows. Pick a size with a different shape, such as a square from a landscape photo, and you decide whether to crop to fill, fit inside with white edges, or stretch. It accepts JPG, PNG, WebP, GIF, BMP and AVIF images up to 50 MB.
How the resizer calculates the new size
As soon as the image loads, its original width and height are filled in. With the lock on, changing the width recalculates the height from the original aspect ratio, and changing the height recalculates the width, rounded to whole pixels. The percentage buttons multiply both sides by the same factor, so the shape never changes.
Next, the picture is redrawn on a canvas of the new size using the browser's high-quality smoothing. When shrinking, that averages neighbouring pixels, so edges stay clean instead of jagged. Each side can be anything from 1 to 12,000 pixels.
If the new size has a different shape from the original (its width-to-height ratio differs by more than 0.01), you choose how it fits. Crop to fill scales the picture until it covers the whole frame and trims the overflow equally from both sides. Fit inside scales it until it just fits and fills the empty bands with white. Stretch draws it straight into the frame and distorts it.
ratio = original width ÷ original height
locked: new height = round(new width ÷ ratio)
new width = round(new height × ratio)
percent: new size = original size × 0.25 / 0.5 / 0.75
crop to fill: scale = max(new W ÷ orig W, new H ÷ orig H)
fit inside: scale = min(new W ÷ orig W, new H ÷ orig H)The result is saved in the same format as the original, or as JPG, PNG or WebP if you choose one. JPG and WebP are saved at 90% quality, and the file name gets the new size added, for example holiday-1080x810.jpg.
Assumptions and limits
- One image at a time. To change many pictures at once, use a batch tool, or resize them here one after another.
- Enlarging adds pixels but not detail. Blow a small picture up a lot and it will look soft.
- GIF, BMP and AVIF originals are saved as PNG when the format is left on Same as original, because browsers can only write JPG, PNG and WebP. An animated GIF keeps only its first frame.
- Fit inside always fills the empty bands with white, even for PNG output. Choose Crop to fill if you want no edges at all.
- Resizing changes the pixel dimensions, not the print size in inches, and it doesn't aim for a file size in KB. To hit a KB limit, resize first and then compress.
- EXIF details such as the camera model and GPS location aren't copied into the resized file.
Worked examples
Resize a phone photo to 1080 pixels wide
A 12-megapixel phone photo is 4032 × 3024 pixels. Keep the lock on and type 1080 in the width box: the height becomes 810. With about 7% as many pixels left, the file ends up a small part of its original size.
ratio = 4032 ÷ 3024 = 1.333 height = round(1080 ÷ 1.333) = 810 pixels: 12,192,768 → 874,800 (about 7%)
Change a landscape photo into an Instagram story
Click Instagram story to set 1080 × 1920. The shape is now tall instead of wide, so the fit options appear. Crop to fill scales the 4032 × 3024 photo to 2560 × 1920 and trims 740 pixels from each side, keeping the middle. Fit inside scales it to 1080 × 810 and adds white bands of 555 pixels above and below.
crop: scale = max(1080/4032, 1920/3024) = 0.635 → 2560 × 1920, trim (2560 − 1080) ÷ 2 = 740 px per side fit: scale = min(1080/4032, 1920/3024) = 0.268 → 1080 × 810, bands (1920 − 810) ÷ 2 = 555 px
Halve a screenshot for a document
A 2880 × 1800 screenshot from a high-resolution laptop screen looks huge when pasted into a report. Click 50% to get 1440 × 900 with the same shape, and keep PNG so the text stays crisp. Before you save, the download button tells you the new file size.
Built-in size presets
Presets set the exact size and unlock the aspect ratio; check the fit option if your photo has a different shape.
| Preset | Width × height (px) | Shape | Typical use |
|---|---|---|---|
| Instagram post | 1080 × 1080 | 1:1 square | Feed posts and profile grids |
| Instagram story | 1080 × 1920 | 9:16 tall | Stories, Reels covers, phone wallpapers |
| Facebook cover | 820 × 312 | About 2.6:1 wide | Page and profile cover banners |
| YouTube thumbnail | 1280 × 720 | 16:9 wide | Video thumbnails, slides |
| Full HD | 1920 × 1080 | 16:9 wide | Desktop wallpapers, presentations, website heroes |
| 4K | 3840 × 2160 | 16:9 wide | Large screens and TVs |
How to use the Image Resizer
- Choose an image. Drop or pick a JPG, PNG, WebP, GIF, BMP or AVIF up to 50 MB; its original size in pixels is shown under the preview.
- Set the new size. Type a width or height with the lock on, click 25%, 50% or 75%, or pick a preset, and if the shape changes choose crop, fit or stretch.
- Resize and download. Optionally change the format, press Resize to the size shown, then press Download to save the file with its new dimensions in the name.
Frequently asked questions
How do I resize an image without stretching it?
Keep the lock icon on so the height follows the width, or use the percentage buttons. If you need a size with a different shape, pick Crop to fill (trims the edges) or Fit inside (adds white bands); only Stretch to the exact size distorts the picture.
How do I change an image to a specific size like 600 × 600 pixels?
Click the lock icon to unlock the aspect ratio, type 600 in both boxes and choose how a non-square photo should fit. Crop to fill gives a full square taken from the centre, which suits profile photos; Fit inside shows the whole photo on a white square.
Will resizing reduce the image quality?
Not when you shrink it. The browser's high-quality smoothing blends pixels instead of dropping them, so the picture stays sharp at its new size. Detail too fine to see at the smaller size is gone, though, so keep the original. Enlarging is different: it can't invent detail, and small images come out soft.
Does resizing make the file size smaller?
Usually, yes, because fewer pixels need storing: halving both sides leaves a quarter of the pixels. The exact KB depends on the format and content. If a form asks for a maximum file size rather than dimensions, resize here and then use a compressor to reach the limit.
What is the largest size I can resize an image to?
Each side can be up to 12,000 pixels, and the original file can be up to 50 MB. Canvases that big need a lot of memory. On an older phone a size near the limit may fail, while a computer usually copes.
Is my photo uploaded to resize it?
No. Your browser opens the image, redraws it and creates the resized file on this device. Private documents and ID photos can be resized without being sent anywhere.
This tool runs entirely in your browser. What you enter or upload stays on your device and is never sent to our servers.