Image Resizer
Most resizing jobs come down to one of two things: an exact pixel size a form, template or listing demands, or a general size reduction before you send or upload a photo. The Image Resizer handles both, changing an image's width and height while leaving its format alone.
Choose Resize by Pixels when you need an exact width or height, or Resize by Percentage when you just want it a fraction of its current size. Aspect ratio stays locked by default so nothing distorts; unlock it only if you deliberately want a different shape.
Runs in your browser. Image Resizer processes your input on your own device. Nothing you enter or upload is sent to a server.
Did this tool help you? ☕
WebzTools is free to use. If this tool saved you some time, you can support the project with a coffee and help us keep improving the tools.
(opens in a new tab)How to use the Image Resizer
- Drop a JPG, PNG or WebP image onto the upload area, or click it to choose a file.
- Pick Resize by Pixels or Resize by Percentage.
- Enter the width, height or percentage you want. With aspect ratio locked, the other dimension updates automatically.
- Optional: an image within 0.1% of a standard shape such as 16:9 is recognised automatically. To choose a shape yourself, use Target aspect ratio. If your image is a different shape, pick Crop to fill or Add padding.
- Select Resize Image, check the result, then Download Resized Image.
Supported formats: JPG, JPEG, PNG and WebP input. The output keeps the input format: JPEG stays JPEG, PNG stays PNG, WebP stays WebP.
Worked examples
Scale down by percentage
Input
4000 × 3000 at 50%
Output
2000 × 1500
Exact width, aspect ratio locked
Input
1920 × 1080, width set to 1280
Output
Height follows automatically to 720, giving 1280 × 720
Exact 16:9 from a photo that is slightly off 16:9
Input
1672 × 941, width set to 2560. The tool recognises 16:9 on upload
Output
Height becomes exactly 1440, giving 2560 × 1440. Choosing Original image ratio instead would give 2560 × 1441
Aspect ratio unlocked
Input
800 × 600, width set to 800, height set to 800
Output
800 × 800, with proportions stretched. The tool warns you before this happens
Downsizing versus upscaling
Shrinking an image to smaller dimensions is the safe direction: the tool is simply keeping a subset of the pixel data that was already there, and the result usually still looks sharp.
Enlarging an image past its original size works differently. There is no extra detail to recover, so the canvas spreads the existing pixels across more of them, which softens edges and fine texture rather than adding real resolution.
Resizing or compressing?
These solve different problems. Resizing changes how many pixels wide and tall an image is, which is what this tool does. Compressing keeps the pixel dimensions exactly as they are and re-encodes the file at a lower quality to shrink its file size, which is what the JPEG Compressor does.
If a form or listing demands specific dimensions, use the Image Resizer. If the dimensions are already right and you just need a smaller file, use the JPEG Compressor instead, or the Image Compressor for a batch of JPG, PNG and WebP files that must keep their formats.
Output limits and what gets kept
- Requested output dimensions are capped at 8192 pixels per side, a limit that keeps the resize comfortably within what a browser canvas can reliably handle. An original image larger than that can still be resized down; the cap only applies to what you ask for as output.
- Re-encoding through a canvas does not keep EXIF or other metadata from the original file, so camera settings and location data are not carried over to the resized download.
Things worth knowing
- Enlarging an image above its original size cannot add real detail; it will look softer, not sharper.
- Unlocking the aspect ratio and setting width and height independently stretches or squashes the image. The tool warns you, but the choice is yours.
- A standard Target aspect ratio only applies while Maintain Aspect Ratio is on. It is selected automatically only when your image is within 0.1% of 16:9, 9:16, 1:1, 4:3 or 3:2; any other image keeps its own proportions until you choose a ratio. When your image is a different shape from the chosen ratio, it is cropped or padded to fit, never stretched. Crop to fill removes the trimmed edges for good.
- Output dimensions are capped at 8192 pixels per side, and very large images are also limited by your device's available memory.
- Re-encoding through a canvas does not carry over EXIF or other metadata from the original file.
Frequently asked questions
How do I resize an image without stretching it?
Keep Maintain Aspect Ratio turned on, which is the default. Type a width or a height and the other side is calculated from the original image's proportions, so nothing gets squashed.
How do I resize an image to exactly 16:9, such as 2560 × 1440?
Upload the image and enter the width. If the image is within 0.1% of 16:9, such as a 1672 × 941 photo, the tool recognises it, selects 16:9 under Target aspect ratio and says so, so 2560 gives 1440 and 2048 gives 1152. For any other image, choose 16:9 yourself under Target aspect ratio. Choosing Original image ratio keeps the photo's exact proportions instead, so that 1672 × 941 photo at width 2560 comes out 1441 high, because it is a hair off true 16:9. 9:16, 1:1, 4:3 and 3:2 work the same way.
What happens if my image is not the shape I choose?
The tool never stretches it. Crop to fill trims the edges, centred, so the new frame is full, and the page tells you how much it trims. Add padding keeps the whole image and adds bars instead: transparent for PNG and WebP, white for JPEG. For a close match, such as a photo a pixel or two off 16:9, Crop to fill is pre-selected because it removes almost nothing. For a larger difference, Add padding is pre-selected so no content is cut unless you choose it.
Can I resize a JPG, PNG or WebP?
Yes, all three. The output keeps the input format: a JPG stays a JPG, a PNG stays a PNG and a WebP stays a WebP.
Does resizing reduce image quality?
Shrinking an image is usually clean, since you are keeping less pixel data from the same photo. Enlarging it is the trade-off to watch: the tool can only spread the existing pixels across a bigger canvas, which looks softer than a photo actually taken at that size.
Can resizing make a small or blurry image sharper?
No. Resizing cannot invent detail that was never captured. A low-resolution or blurry photo enlarged to a bigger size comes out bigger, not sharper.
What is the difference between resizing and compressing?
Resizing changes an image's pixel dimensions, which is what this tool does. Compressing keeps the dimensions the same and re-encodes the file at a lower quality to shrink its file size, which is what the JPEG Compressor does. Use whichever matches the limit you are actually up against.
Is my image uploaded?
No. The resize happens in your browser using a canvas element; the file is never sent to a server.
Is transparency preserved?
Yes, for PNG and WebP, both of which support an alpha channel. JPEG has no transparency to begin with, so that is unaffected.
What happens to my image's metadata?
It is not carried over. Producing the resized file means re-encoding the image through a canvas, which strips EXIF and other metadata such as camera settings and GPS location.
Related tools
JPEG Compressor
Compress images to a target size or by quality
Image Compressor
Compress JPG, PNG and WebP in batches, keeping each format
Aspect Ratio Calculator
Find a ratio, resize without stretching, compare Fit and Fill
Image to PDF
Convert images to PDF documents
Background Remover
Remove image backgrounds with AI
SVG to PNG
Convert SVG images to PNG format
Favicon Generator
Build a complete favicon pack from one image
Image Converter
Convert JPG, PNG and WebP images to each other