Image Resizer
Upload an image, set a width and height in pixels, and resize it directly in your browser using canvas. You can lock the original aspect ratio so that changing one dimension automatically recalculates the other, or unlock it to stretch the image to an exact size. The file is never uploaded to any server.
How it works
- Select an image from your device using the file picker; the tool detects and displays its original dimensions.
- Enter the desired width and height in pixels in the corresponding fields.
- Use the lock button to lock or unlock the aspect ratio: with the ratio locked, changing the width automatically recalculates the height (and vice versa) to keep the original proportions.
- Press 'Resize' to generate the new image based on the given dimensions.
- Review the preview with the new size and file weight, and download the result with one click.
Use cases
- Fit a photo to the exact dimensions required by a form, profile, or template.
- Reduce an image's pixel dimensions so it loads faster on a web page.
- Prepare images with the exact dimensions required by an online store or social network.
- Enlarge a small image to a bigger size when the original high-resolution file isn't available.
Use cases
- Fit a photo to the exact dimensions required by a form, profile, or template.
- Reduce an image's pixel dimensions so it loads faster on a web page.
- Prepare images with the exact dimensions required by an online store or social network.
- Enlarge a small image to a bigger size when the original high-resolution file isn't available.
Common mistakes
- Unlocking the aspect ratio and entering a width and height that don't match the original proportions, without realizing the image will end up distorted.This tool always stretches the image to exactly the given width and height; if those values don't respect the original proportions, the result will look stretched or squashed. Keep the lock enabled if you want to avoid distortion.
- Enlarging a small image a lot, expecting it to gain sharpness or detail.Resizing upward only stretches the existing pixels; it can't invent detail the original image didn't have, so a heavily enlarged image will look blurry or pixelated.
- Entering 0 or leaving a field empty and not understanding why the 'Resize' button is disabled.Width and height must be numbers greater than 0 to generate the image; the button activates automatically as soon as both values are valid.
Frequently asked questions
No. Resizing happens entirely in your browser using canvas. The image is never sent to any server.
The image is stretched to exactly those dimensions, which can distort it (making it look wider or taller than natural). If you want to avoid this, keep the aspect ratio lock enabled.
It stays PNG if the original file was PNG, and JPEG is generated for any other input format. If you need a different specific format, convert it afterward with the Image Converter.
Yes, you can enter dimensions larger than the original, but keep in mind the tool only stretches the existing pixels: it doesn't add new detail, so the result may look blurry if the increase is very large.
Alternatives
Editors like Paint, Photoshop, or GIMP let you resize images with more options, such as different interpolation algorithms. This tool is handy for a quick, one-off resize, with the advantage that the image is processed in your browser and never uploaded to a server.