Resizing images to exact dimensions without stretching them
Resizing down is free and lossless in perceived quality. Resizing up cannot invent detail. Know which you are doing.
Resizing and compressing get confused constantly, and they are different operations. Compression keeps the dimensions and reduces the data used to describe them. Resizing changes the dimensions. For web images you almost always want both, in that order: resize to the size it will display at, then compress.
The asymmetry worth knowing: making an image smaller is essentially free, because you are discarding data you did not need. Making it larger cannot work well, because the detail was never captured. Upscaling a 300 pixel logo to 1200 pixels gives you a blurry 1200 pixel logo. ToolHub keeps aspect ratio locked by default, which prevents the most common mistake.
Resize Image: the facts that matter
| Formats | JPG, PNG, WebP and common types |
| Aspect ratio | Locked by default |
| Downscaling | Effectively lossless in appearance |
| Upscaling | Cannot add detail that was not captured |
| Order of operations | Resize, then compress |
How to do it, step by step
- 1Find the dimensions you actually need. Check the platform requirement rather than guessing.
- 2Open the image resizer in ToolHub.
- 3Keep aspect ratio locked unless you specifically want to crop. Unlocking it stretches faces and text.
- 4Enter the target width. Height follows automatically.
- 5Compress afterwards for a second saving on top of the resize.
Three things worth knowing
- Resize to display size, then compress. This combination fixes most image weight problems.
- Never upscale for print. Get a higher resolution source instead.
- Keep one high resolution master and generate sizes from it, rather than resizing a resized copy.
Common problems, solved
Where to run it
This tool is part of the ToolHub tool library, a library of over 1,000 browser-based tools covering PDF, image, video, audio, text and developer work. Everything runs in the browser and none of it needs an account.
ToolHub is built by codaiman.com, an AI-first software company in Ahmedabad. Related to this page: ToolHub over 1,000 browser-based tools for pdf, image, video, audio, text and developer work. no sign-up required.
Resize Image, in the browser: no install, no sign-up, no upload queue. Part of the ToolHub library from CodeAiMan.
Open ToolHubRelated tools
Compress Image
Most images can lose 60 to 70 percent of their size with no visible difference. Here is where the line actually is.
Read guideCrop Image
Cropping is how you hit a required aspect ratio without stretching. Here are the ratios that actually matter.
Read guideConvert Image to WebP
WebP beats JPG and PNG at the same visual quality. Support is no longer the issue it was, but there are still two cases to avoid it.
Read guide