Image Resizer
Resize images to exact pixel dimensions, with an optional aspect-ratio lock.
Drop an image here, or click to browse
JPG · PNG · WebP · GIF — processed on your device
Runs in your browser. Nothing you open or type here is uploaded.
How to use
- Drop a JPG, PNG, WebP or GIF image into the workspace, or click to choose one.
- Enter the target width and height in pixels. Turn on the aspect-ratio lock so changing one value adjusts the other in proportion.
- Pick an output format: JPG, PNG or WebP.
- Download the resized image.
Details
The tool redraws your image at the exact pixel dimensions you enter, using the browser's Canvas API. With the aspect-ratio lock on, typing a width calculates the matching height, and the other way round, so the picture is never stretched. Without the lock, width and height are applied independently, which can distort the image. The output format is your choice of JPG, PNG or WebP, whatever the input was. Resizing is the standard way to fit an image to a fixed slot: an avatar box, a banner, a form field with set dimensions.
- Downscaling keeps detail well, thanks to the browser's high-quality smoothing.
- Upscaling beyond the original size cannot add detail that is not there. The result is a larger, softer image.
- If you need a smaller file but the same dimensions, compress the image instead of resizing it.
Common questions
Are my images uploaded?
No. Resizing happens entirely in your browser via the Canvas API.
Will resizing reduce quality?
Downscaling with the browser's high-quality smoothing preserves detail well. Upscaling beyond the original size can't add detail that isn't there.