Image Resizer
Resize a photo or graphic to an exact width and height in pixels, or by percentage, and save it as JPG, PNG or WebP. It all runs in your browser.
Your files stay on your device. Everything is processed in your browser; nothing is uploaded to a server.
JPG stays JPG, PNG stays PNG, WebP stays WebP; GIF, BMP and AVIF are saved as PNG.
What this image resizer does
Add one or more images, type the size you need, and download resized copies. With the aspect ratio locked, a 4,000 x 3,000 photo set to a width of 1,920 pixels becomes 1,920 x 1,440; scaled to 50% it becomes 2,000 x 1,500.
The image is resized by your browser on your own device. It is not uploaded anywhere, which makes the tool safe for personal photos and work documents, and quick, because there is no upload or download wait.
Key takeaways
- Pixel dimensions, not file size, decide how large an image looks on screen.
- Locking the aspect ratio keeps the shape: type one side and the other follows.
- Halving both sides leaves a quarter of the pixels, which usually means a much smaller file.
- Enlarging an image adds pixels but not detail, so it looks softer.
- Sizes are rounded to whole pixels, since an image cannot have part of a pixel.
How to use it
- Add images. JPG, PNG, WebP and GIF work in every current browser; BMP and AVIF work where your browser can open them. Up to 20 files, each up to 50 MB; they are processed one at a time.
- By pixels: type a width or a height. With Keep aspect ratio ticked, the other side is worked out for each image from its own shape, so a batch of portrait and landscape photos all keep their proportions. Untick it to set both sides freely, which stretches or squashes images of a different shape.
- By percentage: drag the slider or type a value. 50% halves both sides; values over 100% enlarge.
- Choose the output format. Same as original keeps JPG as JPG, PNG as PNG and WebP as WebP; GIF, BMP and AVIF are saved as PNG. For JPG and WebP, set the quality too.
- Download. Each file name gets the new size added, for example photo-1920x1440.jpg, so it does not overwrite the original. Download files one by one, or all at once with Download all (ZIP).
How the new size is worked out
New size by percentage = original size × p / 100
Each result is rounded to the nearest whole pixel, with a minimum of 1
p = scale in percent
Rounding is why a side can be off from the exact ratio by a fraction of a pixel. A 1,000 x 667 image resized to a width of 600 works out at 400.2 pixels high, so it is saved as 600 x 400. A 1,001 x 667 image at 50% becomes 501 x 334, because 500.5 and 333.5 both round up.
Common resize examples
| Original | Aspect ratio | New width | New size with ratio locked |
|---|---|---|---|
| 4,000 x 3,000 | 4:3 | 1,920 | 1,920 x 1,440 |
| 4,000 x 3,000 | 4:3 | 1,200 | 1,200 x 900 |
| 6,000 x 4,000 | 3:2 | 1,080 | 1,080 x 720 |
| 1,920 x 1,080 | 16:9 | 1,280 | 1,280 x 720 |
| 3,024 x 4,032 | 3:4 (portrait) | 1,080 | 1,080 x 1,440 |
Typing a height instead works the same way: 4,000 x 3,000 set to a height of 1,080 gives a width of 1,440.
Percentages and pixel counts
A percentage applies to both the width and the height, so the number of pixels changes by the square of the scale. Halving the sides of a 12-megapixel photo leaves a quarter of its pixels. That is why a modest reduction in dimensions often cuts the file size much more than you might expect.
| Scale | New size from 4,000 x 3,000 | Megapixels | Share of original pixels |
|---|---|---|---|
| 10% | 400 x 300 | 0.12 | 1% |
| 25% | 1,000 x 750 | 0.75 | 6.25% |
| 50% | 2,000 x 1,500 | 3.00 | 25% |
| 75% | 3,000 x 2,250 | 6.75 | 56.25% |
| 150% | 6,000 x 4,500 | 27.00 | 225% |
| 200% | 8,000 x 6,000 | 48.00 | 400% |
Choosing the output format
| Format | Use it for | Notes |
|---|---|---|
| JPG | Photos | Smallest widely supported format for photos; no transparency (transparent areas turn white) |
| PNG | Screenshots, logos, graphics with text | Lossless and keeps transparency, but photos saved as PNG are large |
| WebP | Images for websites | Smaller than JPG and PNG for most images, keeps transparency |
JPG files are written with mozjpeg and WebP files with libwebp, run in your browser as WebAssembly; PNG uses the browser's own encoder. The quality setting for JPG and WebP defaults to 90 here, which keeps a resized photo looking sharp. If file size matters too, lower it, or run the result through the Image Compressor.
Why resizing happens in your browser
The tool decodes your image, draws it at the new size on a canvas with high-quality smoothing and saves the canvas as a new file, all inside the browser tab. Nothing is uploaded. The new file contains only pixels, so EXIF metadata such as camera details and GPS location is not carried over.
The limit is your device's memory. While it is being processed, an image takes about 4 bytes per pixel, regardless of how small the file is on disk: a 4,000 x 3,000 photo needs about 45.8 MB and a 6,000 x 4,000 photo about 91.6 MB. Computers handle that easily; an older phone may struggle with very large images or very large output sizes, and browsers cap the size of a canvas, so the tool limits each side to 16,384 pixels.
Frequently Asked Questions
Are my photos uploaded?
No. The image is resized by your browser on your own device, and nothing is sent to a server.
How do I resize without stretching the image?
Leave Keep aspect ratio ticked and type only the width or the height. The other side is calculated from the original proportions, so a 4,000 x 3,000 photo set to 1,920 wide becomes 1,920 x 1,440.
What size should I use for the web?
Match the largest size the image will be shown at, and allow up to twice that width if it should look sharp on high-density (Retina) screens. Check the requirements of the site you are uploading to; many publish recommended sizes.
Does resizing reduce the file size?
Usually, and often by a lot, because the number of pixels falls with the square of the scale: 50% keeps a quarter of the pixels. The final size also depends on the format and quality you choose.
Can I make an image bigger?
Yes, with a percentage over 100% or a larger pixel size, but the browser can only blend the existing pixels, so the result looks softer. It cannot invent detail that was not there.
Why is the height one pixel different from what I expected?
Sizes are rounded to whole pixels. A 1,000 x 667 image at 600 wide works out at 400.2 pixels high, so it is saved as 600 x 400.
What happens to animated GIFs?
Only the first frame is resized, and it is saved as a still image.