Media tool · free · runs in your browser

Image Resizer

Choose a photo, set the largest width and height you want, and download the smaller copy. The image is decoded and re-encoded on your device, so it is never uploaded anywhere.

JPG, PNG, WebP, GIF, BMP or AVIF up to 40 MB and 100 megapixels.

What this image resizer does

The resizer makes a smaller copy of a photo or graphic so it fits inside a maximum width and height. Use it before emailing photos, uploading to a form with a size limit, adding images to a website, or posting on a platform that recompresses large files. The work happens on your device: the browser decodes the image, scales it on a canvas and saves it again. Nothing is uploaded, which makes it safe for ID scans, documents and private photos.

How to resize an image

  1. Choose an image. JPG, PNG, WebP, GIF, BMP and AVIF files are accepted, up to 40 MB.
  2. Set the maximum width and height in pixels. Leave one empty to limit only the other side.
  3. Pick the output format. Keep original format saves JPG as JPG, PNG as PNG and WebP as WebP; other formats are saved as PNG.
  4. For JPEG and WebP, set the quality. 85 is a good default.
  5. Download the result. A preview, the new dimensions and the file size before and after are shown.

How the new size is worked out

The image is scaled by one factor for both sides, so it never looks stretched:

scale = min(1, max width ÷ width, max height ÷ height) new width = round(width × scale) new height = round(height × scale)

The 1 in the formula means the image is never enlarged. If it already fits, it is only re-encoded. For large reductions the image is halved in steps before the final resize, which keeps fine detail such as text and hair sharper than one big jump.

Choosing a format

FormatBest forNotes
JPEGPhotosLossy; no transparency, so transparent areas turn white
PNGScreenshots, logos, line artLossless and supports transparency; large for photos
WebPPhotos and graphics on the webUsually smaller than JPEG at similar quality; supports transparency

The quality setting applies to JPEG and WebP only. Around 80 to 85, most people cannot see a difference from the original at normal viewing size. Below about 70, blocky artifacts appear around edges and in smooth areas such as skies.

Worked examples

A phone photo for email

A 12-megapixel photo of 4032 × 3024 pixels with a 1600 × 1600 limit is scaled by 1600 ÷ 4032 = 0.397 and becomes 1600 × 1200. That is about 16% of the original pixel count, and saved as JPEG at quality 85 the file is usually a fraction of the original's size.

A portrait for a profile

A 1080 × 1920 portrait with a maximum width of 1200 and no height limit stays 1080 × 1920, because it already fits. Set the height limit to 800 instead and it becomes 450 × 800.

A logo with a transparent background

A 2000 × 2000 PNG logo resized to 512 × 512 should stay PNG or WebP. Saved as JPEG, its transparent background would turn white.

Tips and common mistakes

Limits and privacy

Images larger than 100 megapixels are refused to keep the tab stable, and the maximum output size is 16,000 pixels per side. Animated GIFs keep only their first frame. HEIC photos open only in browsers that can decode them, mainly Safari. Some browsers cannot save WebP; the tool then saves PNG and tells you. The image is processed only in your browser and the page makes no network requests.

Frequently asked questions

Is my photo uploaded to a server?

No. The browser decodes the file, draws it on a canvas at the new size and saves the result as a download. The page makes no network requests, so the photo stays on your device.

Does resizing keep the aspect ratio?

Yes. The image is scaled by the smaller of the two ratios so it fits inside the box you set. A 4032 × 3024 photo with a 1600 × 1600 limit becomes 1600 × 1200.

Will it enlarge a small image?

No. If the image already fits, it keeps its size and is only re-encoded. Enlarging adds no detail and makes files bigger.

Why is my PNG bigger after resizing?

PNG is lossless, so photos saved as PNG are large. Choose JPEG or WebP for photos, and keep PNG for screenshots, logos and images with transparency.

What quality setting should I use?

80 to 85 is a good default for JPEG and WebP. Below about 70, artifacts appear around edges and in smooth gradients.

What happens to transparency when I save as JPEG?

JPEG has no transparency, so transparent areas are filled with white. Keep PNG or WebP if you need a transparent background.

Is the location data in my photo removed?

Yes. Re-encoding through the canvas does not copy EXIF metadata, so GPS position, camera model and capture time are not in the resized file.

Why does my iPhone HEIC photo not open?

Most browsers outside Safari cannot decode HEIC. Export the photo as JPEG on the phone first, or set the camera to Most Compatible.