Stretch an image wider or taller, online and free
An image stretcher changes the width and the height of a picture independently, so you can pull it wider, make it taller, or squash it on purpose. People use one to repair a photo that was saved with the wrong proportions, to make a picture fill an exact box, or just for a funny effect. This free online tool does it for any JPG, PNG, WebP, HEIC, or GIF in your browser, with no app to install, no account, and nothing uploaded.
Below you will find how to stretch a photo horizontally or vertically, when stretching is the right move, the arithmetic for stretching by a percentage or to a new aspect ratio, how it works on an iPhone or Android phone, and what to expect from the quality. The tool is ready to use as soon as you add a picture.
What an image stretcher does
A normal resize keeps the proportions, so the picture gets bigger or smaller but keeps its shape. Stretching breaks that link. Change only the width and the picture gets wider while the height stays put. Change only the height and it gets taller. The tool starts with Lock aspect ratio switched off, so each side moves on its own, and the Width and Height boxes begin at the picture's own size.
If you want to scale without changing the shape, switch the lock on and the other side follows automatically.
How to stretch a photo horizontally or vertically
Which side you change decides the direction of the stretch. Leave the other side alone and the picture is pulled in one direction only.
| To get | Change | Effect on the picture |
|---|---|---|
| A wider picture | Increase Width, keep Height | Everything looks broader and shorter |
| A taller picture | Increase Height, keep Width | Everything looks narrower and longer |
| A squashed, flat picture | Decrease Height, keep Width | Everything looks wide and low |
| A thin, squeezed picture | Decrease Width, keep Height | Everything looks tall and slim |
You can also change both sides at once, by different amounts, which is how you turn a landscape picture into a square or a portrait one.
When stretching makes sense
- Fixing a squeezed or widened picture. Video frames, screenshots, and old scans are sometimes saved with the wrong proportions. Stretching one side back restores the right shape.
- Filling an exact box. A banner, a background, or a texture that must be exactly a certain width and height can be stretched to match when slight distortion does not matter.
- Creative effects. Tall and skinny, short and wide, or flattened: stretched pictures are a classic ingredient of memes, posters, and abstract backgrounds.
- Matching a widescreen shape. A 4:3 picture stretched wider becomes 16:9. This is quick, but the people in it will look wider than they are, so use it only when that is acceptable.
- Stretching a wallpaper or pattern. Abstract images, gradients, and textures hide distortion well, so they can be pulled to a new shape without anyone noticing.
The arithmetic of stretching
You enter pixels, but it is often easier to think in percentages. To stretch by a percentage, multiply the side by a factor.
| Goal | What to change | Example |
|---|---|---|
| Make it 25% wider | Multiply the width by 1.25 | 1200 px becomes 1500 px |
| Make it 50% taller | Multiply the height by 1.5 | 800 px becomes 1200 px |
| Turn 4:3 into 16:9 | Multiply the width by 1.333 | 1200 × 900 becomes 1600 × 900 |
| Undo a 25% widening | Multiply the width by 0.8 | 1500 px becomes 1200 px |
To undo a stretch, divide by the same factor, which is the same as multiplying by its reciprocal. If you stretched by 1.25 you undo it with 0.8.
Stretching to a new aspect ratio
Sometimes you know the shape you want rather than a percentage. An aspect ratio is width divided by height, so to reach a target ratio, keep one side and work out the other: the new width is the height multiplied by the ratio, and the new height is the width divided by the ratio.
- To 16:9. Multiply the height by 16 and divide by 9 to get the width. A picture 900 pixels tall becomes 1600 pixels wide.
- To 4:3. Multiply the height by 4 and divide by 3. A picture 900 pixels tall becomes 1200 pixels wide.
- To a square. Make both sides equal. A 1600 × 900 picture becomes 1600 × 1600 if you stretch the height, or 900 × 900 if you squeeze the width.
Stretching to a new ratio always distorts the picture a little, and the bigger the change in shape, the more obvious it is.
Stretching a photo on an iPhone or Android phone
You do not need an app. Open this page in your phone's browser, tap the upload area, and choose a picture from your photo library or take one with the camera. HEIC photos from an iPhone work as well as JPG, PNG, WebP, and GIF.
Enter the new width and height, tap Resize Image, then Download Image. The finished file goes to your downloads, from where you can save it to your photo library or share it. Very large pictures take longer on a phone than on a computer, because everything is processed on the device.
Stretch, squish, squash, and elongate
People use many words for the same operation. Stretching a picture, elongating it, and pulling it wider or taller all mean making one side larger than the shape allows. Squishing, squashing, and flattening mean making one side smaller, which is the same thing seen from the other direction.
That means you do not need a separate tool to squish an image. Enter a smaller Width or Height and the picture is compressed along that side.
Stretch compared with Crop and Fit
Stretching is one of three ways to fill a box with a picture whose shape does not match. The other two never distort it.
- Stretch. Uses every pixel of the picture and forces it into the box, changing its shape. That is the only thing this page does.
- Crop. Fills the box and trims whatever overflows, with no distortion. It loses part of the picture.
- Fit. Keeps the whole picture and fills the leftover space with a color. It adds borders but changes nothing in the picture.
If you need Crop or Fit, use Resize Image, which offers all three modes.
Quality and file format when you stretch
Pulling a picture wider or taller than its original size means spreading the same pixels over a larger area, which softens detail. Small stretches look fine. A large one will look blurry, and no tool can add detail that was never captured. If you can, start from the largest version of the picture you have.
Choose the output format to suit the picture. JPG is the best choice for photographs, PNG keeps transparency and sharp edges on graphics, and WebP gives a smaller file than either for use on the web. The quality slider applies to JPG and WebP. If the result is heavier than you want, Compress Image makes it lighter.
Step by step
- Add your image by dropping it on the upload area or browsing for it. JPG, PNG, WebP, HEIC, and GIF files up to 50 MB work, including photos straight from a phone.
- Change Width or Height, or both. They start at the picture's own size, and the new size you want goes in the boxes.
- Switch Lock aspect ratio on if you want the picture to keep its shape instead.
- Choose an Output format (use PNG to keep transparency), then click Resize Image.
- Compare the Original and Resized previews, then click Download Image.
Frequently asked questions
How do I stretch an image horizontally only?
Make the Width larger and leave the Height as it is. With Lock aspect ratio switched off, which is the starting state, only the side you edit changes.
How do I stretch an image vertically?
Make the Height larger and leave the Width alone. The picture becomes taller and looks narrower. To stretch it both ways, change both boxes.
How do I stretch an image without distorting it?
Stretching always changes the shape of the picture, so it distorts by definition. To make a picture bigger without changing its shape, switch Lock aspect ratio on, or use the Resize Image page, which also offers Crop and Fit.
How can I undo a stretched image?
Divide the stretched side by the factor you used. A picture widened by 25 percent, a factor of 1.25, is restored by multiplying its width by 0.8. Starting again from the original file gives a better result than stretching a stretched copy.
How do I squish an image?
Enter a smaller Width or Height than the picture has now. The side you reduce is compressed while the other stays the same, which flattens or slims the picture.
Does it work on PNG images with transparency?
Yes. Choose PNG as the output format and the transparent areas are kept. JPG has no transparency, so transparent areas turn white.
Can I stretch a photo on my iPhone?
Yes. Open this page in your phone's browser, choose a photo from your library, enter the new width and height, and download the result. HEIC photos are supported, and nothing is uploaded.
Is my picture uploaded anywhere?
No. The picture is decoded, stretched, and saved entirely in your browser, so it never leaves your device. You can use files up to 50 MB and an output size of up to 10,000 pixels on either side.