How to use the image resizer
- Choose a JPG, PNG or WebP image. Its original dimensions and file size appear under the file field, and the width and height boxes are filled in for you.
- Pick Pixels to type an exact size, or Percentage to scale the whole image up or down.
- In pixel mode, leave Keep aspect ratio ticked and change either the width or the height. The other side updates automatically so the picture is not stretched. Untick it if you need an exact box size, such as a square avatar.
- Choose the output format. Same as original keeps the format of your file; you can also save as JPEG, PNG or WebP.
- Press Resize. You will see the old and new dimensions, both file sizes and a preview, followed by a Download button.
Your files stay on your device
The image is decoded, resized and saved by your own browser using the canvas feature built into every modern browser. It is never uploaded to our server, so the tool is safe for private photos and works even on a slow connection once the page has loaded.
How the new size is calculated
With the aspect ratio locked, the side you did not type is found with a simple proportion and rounded to the nearest whole pixel:
New height = Original height × New width ÷ Original width
In percentage mode both sides are multiplied by the percentage and rounded the same way.
Worked examples
- A 4,000 × 3,000 px photo resized to a width of 1,200 px becomes 1,200 × 900 px, because 3,000 × 1,200 ÷ 4,000 = 900.
- A 1,920 × 1,080 px screenshot scaled to 50% becomes 960 × 540 px.
Limits
- Files up to 25 MB.
- Up to 12,000 px on each side and 100 megapixels in total, for both the original and the result.
- Percentage from 1% to 400%.
Very large images need a lot of memory. If your browser cannot create the result, it will say so; choose a smaller size and try again.
Good to know
- Making an image smaller keeps it sharp. Making it larger cannot add detail that was not there, so enlarged images look softer.
- JPEG has no transparency. If you save a transparent PNG or WebP as JPEG, the transparent areas become white.
- JPEG and WebP results are saved at high quality (92). To make a file smaller still, use an image compressor after resizing.
- The saved file does not keep the original metadata, such as camera details or GPS location. That is often a privacy bonus when sharing photos.