How to Resize Images Correctly Without Distortion
This guide was prepared by the WebToolkit team and reviewed against the current behavior of the related tool.
Resizing an image changes its width and height in pixels. Done well, it produces a file that fits its purpose and loads quickly. Done carelessly, it stretches or squashes the picture and makes it look wrong. The key to resizing without distortion is understanding aspect ratio and choosing sensible dimensions for where the image will appear.
People resize images for many everyday reasons:
- Improving website performance
- Fitting email attachment limits
- Preparing images for social media
- Creating thumbnails
- Adding images to presentations
- Saving storage space
- Meeting a platform's upload requirements
Resizing versus compressing
- Resizing changes the pixel dimensions of the image.
- Compression changes how the image data is stored, without necessarily changing dimensions.
- Both can reduce file size, but they solve different problems.
- In practice, they often work best together: resize first, then compress.
For the encoding side of the process, see our guide on how to compress images without losing noticeable quality.
What is aspect ratio?
Aspect ratio is the proportion between an image's width and its height. It is usually written as two numbers, such as:
- 4:3, a traditional photo and screen shape
- 16:9, a widescreen shape
- 1:1, a perfect square
As long as you keep the same aspect ratio while resizing, the image scales evenly and does not distort. Changing the ratio is what causes stretching.
Why images become distorted
- Changing width and height independently so the proportions no longer match
- Forcing an image into a different shape than it was captured in
- Enlarging a small image far beyond its original size
- Relying on CSS display size instead of creating an appropriately sized source image
- Confusing cropping, which removes area, with stretching, which distorts area
Preserve aspect ratio
There are a few reliable ways to resize without distortion:
- Lock the proportions so width and height scale together.
- Change one dimension and let the other be calculated to match.
- Use a fit or contain behavior that scales the image inside the target size without stretching.
- Crop instead of stretch when you genuinely need a different aspect ratio.
WebToolkit's Resize Image tool has a Keep aspect ratio control that is enabled by default, so entering one dimension keeps the image in proportion. It also offers fit options, including a cover mode that fills the target size by cropping the edges when a different ratio is required.
Downscaling versus upscaling
- Downscaling, making an image smaller, usually retains acceptable quality.
- Upscaling, making an image larger, cannot create real detail that was never captured.
- Enlarging an image too far often makes it look soft or pixelated.
- Keep the original source so you can start from full resolution when you need a larger version.
The Resize Image tool uses standard resampling and has an allow-upscaling option that is off by default. It does not reconstruct missing detail, so treat upscaling as a last resort rather than a way to add quality.
Choose dimensions based on use
- Match the image to the size it will actually be displayed.
- Avoid uploading a very large image to fill a small card or thumbnail.
- Allow some extra resolution for high-density screens where sharpness matters.
- Check the destination platform's current requirements, since these change over time.
Resize before compression
A dependable workflow keeps quality high while reducing file size:
- Crop first if you need a different composition or aspect ratio.
- Resize to useful dimensions for the intended display.
- Compress to reduce the remaining file size.
- Export to the appropriate format for the destination.
- Inspect the final image at its real display size.
How to resize an image with WebToolkit
- Upload one or more supported images (PNG, JPG, JPEG, or WebP).
- Choose a mode: enter custom width and height, scale by percentage, or pick a preset size.
- Keep the Keep aspect ratio option enabled to avoid stretching.
- Choose a fit option if you are changing the shape, such as cover to crop or contain to fit inside.
- Process the images and download them individually or as a ZIP.
Current limits
You can resize up to 20 images at once, with a limit of 25 MB per file. Images are uploaded, processed on the server, and the temporary files are deleted automatically after processing.
Resize your images
Set exact dimensions, scale by percentage, or use a preset, all while keeping the aspect ratio.
Resizing for websites
- Match image dimensions to what the layout actually needs.
- Responsive designs may use several sizes for different screens.
- Smaller dimensions reduce how much data visitors download.
- Avoid shrinking a very large source only with HTML or CSS, since the full file still loads.
For web delivery, converting to a modern format can help too. See PNG vs WebP and the PNG to WebP Converter or JPG to WebP Converter.
Resizing for email and documents
- Keep text and important detail readable at the smaller size.
- Reduce file size so attachments send reliably.
- Avoid unnecessarily large dimensions that bloat a document.
Common mistakes
- Turning off the aspect-ratio lock without meaning to, which stretches the image
- Enlarging an image far beyond its original size
- Resizing the same file repeatedly
- Overwriting the original instead of keeping a copy
- Ignoring transparency and losing it after a format change
- Using the wrong format for the content after resizing
- Confusing cropping with resizing
Quality-check checklist
- Confirm the aspect ratio looks natural, with no stretching
- Inspect faces and text for softness
- View the image at 100% to judge real detail
- Confirm the final width and height
- Compare the new file size against the original
- Preview at the intended display size
- Keep the original file
Frequently asked questions
How do I resize an image without stretching it?
Keep the aspect ratio locked so width and height scale together. If you need a different shape, crop the image instead of stretching it.
What does aspect ratio mean?
Aspect ratio is the proportion between width and height, such as 4:3 or 16:9. Keeping it constant while resizing prevents distortion.
Does resizing reduce image quality?
Downscaling usually keeps acceptable quality. Upscaling cannot add real detail and can make an image look soft, so resizing quality depends on the direction and amount.
Should I resize or compress first?
Resizing to appropriate dimensions first removes unnecessary pixels, and compressing afterward reduces the remaining data. Doing both in that order is usually most effective.
Can I enlarge a small image without losing quality?
Not really. Enlarging cannot recreate detail that was never captured, so an upscaled image often looks softer. Start from the highest-resolution original you have.
Is cropping the same as resizing?
No. Cropping removes part of the image to change its composition or shape, while resizing scales the whole image to new dimensions.
Which image format should I use after resizing?
Use JPG or WebP for photographs, and PNG or WebP when you need transparency or sharp graphics. The best choice depends on the content and where it will be used.
Conclusion
To resize without distortion, keep the aspect ratio locked, downscale rather than over-enlarge, and choose dimensions that match where the image will appear. Crop first if you need a different shape, resize next, then compress, and always keep your original.
Still deciding on a format before you resize? Compare options in JPG vs PNG.