Resize an image to pixel dimensions

Enter the output width and height in pixels. The image is drawn into those dimensions, so choose proportional values if its shape should stay the same. Check dimensions and file bytes separately.

Drop files here or click to choose one or more — PNG, JPG, JPEG, WEBP, GIF, BMP

Processed entirely in your browser using a Web Worker. Nothing is uploaded.

How to use

  1. Select an image.
  2. Type the target width and height, in pixels.
  3. Click Resize Image.
  4. Download the resized result.

Accepted formats

JPG, PNG, WebP, GIF and BMP all work as input.

Generate a sample test file: PNG · JPG · WebP.

Features

  • Set exact target width and height in pixels
  • Works for both shrinking and enlarging an image
  • PNG input stays PNG, keeping transparency intact

What happens to your file

EXIF metadata is not carried over to the resized output.

Known limitations

  • Width and height are set independently — there's no aspect-ratio lock, so an unbalanced pair of values will stretch the image.
  • Enlarging an image beyond its original size will look softer, since pixels are being interpolated, not invented.
  • No preset sizes — every dimension is typed in manually.

Check the result before uploading

Compare the downloaded width and height with your pixel limit. To meet a byte cap as well, compress the resized image and measure the output again.

  • Fitting a photo to an exact pixel size required by a form
  • Shrinking a large camera photo before uploading it
  • Producing a consistent thumbnail size for a batch of images

Compress the resized image · Generate a JPEG upload fixture · Generate a PNG fixture

Questions

Is my file uploaded anywhere?

No. Resize Image runs entirely in your browser using a Web Worker — the file never leaves your device.

What file types does this accept?

Resize Image accepts PNG, JPG, JPEG, WEBP, GIF, BMP files.

Does resizing keep the original aspect ratio?

Not automatically — width and height are independent fields, so mismatched values will stretch the image. Calculate a proportional pair yourself if you want to keep the ratio.

Will enlarging a small image make it blurry?

Some softness is expected — the tool can't add detail that wasn't in the original, so scaling up trades sharpness for size.

Will resizing preserve the image aspect ratio automatically?

The worker draws the image into the width and height you enter. Choose proportional dimensions to avoid stretching; then check the output dimensions and byte size.

Having trouble with this tool? Report an issue →