Skip to content

Resize an image to exact dimensions

Scale an image to the size you actually need, in pixels. Give a width, a height, or both — and when the target shape does not match the original, pick whether the image should fit inside the box, fill it and crop, or stretch to match.

Drop an image here

or paste one straight from your clipboard

JPEG, PNG, WebP, GIF, BMP, TIFF · up to 50 MB

How to resize an image

  1. 1Upload the image you want to resize.
  2. 2Enter a width, a height, or both. Leave one blank to scale by the other and keep the aspect ratio.
  3. 3Choose a fit: contain fits inside the box, cover fills it and crops the overflow, fill stretches to the exact size.
  4. 4Pick an output format and quality, then run the resize and download the result.

What this tool does

One side is enough

Give only a width or only a height and the other is worked out from the original aspect ratio, which is what you want for “make this 800px wide”.

Three ways to handle a shape change

Contain never crops or distorts. Cover fills the target box and trims what hangs over, centred on the middle of the image. Fill stretches to the exact numbers and will distort if the ratio differs.

Downscaling done properly

Resizing uses libvips’ thumbnail pipeline, which shrinks during decode rather than loading a huge image and squashing it, so large photos resize quickly and cleanly.

Resize and re-encode in one pass

The output format and quality are part of the same job, so you can go from a 6000px TIFF to an 800px WebP without a second round trip.

Supported formats and limits

Accepts
JPEG, PNG, WebP, GIF, BMP, TIFF
Outputs
JPEG, PNG, WebP
Maximum size
50 MB per file

Files are uploaded to storage and processed on our servers, not in your browser. Uploads and the files produced from them are deleted 24 hours after upload, and their download links are signed and expire with them. There is no account to create and nothing is watermarked.

When people use it

  • Cutting a camera photo down to a sensible size for a web page or email
  • Producing avatars or thumbnails at a fixed square size with cover
  • Meeting an upload limit that specifies maximum pixel dimensions
  • Making a hero image match a design’s exact width

Questions

Can I resize without distorting the image?

Yes. Enter one dimension and leave the other blank, or use the contain fit with both — neither will stretch the image. Only the fill fit distorts, and only when the target ratio differs from the original.

What is the difference between contain, cover and fill?

Contain fits the whole image inside the width and height you gave, so one side may come out smaller than asked. Cover fills the box exactly and crops whatever does not fit. Fill forces both dimensions and squashes the image if the aspect ratio does not match.

Can I enlarge a small image?

You can ask for dimensions larger than the original, but upscaling cannot add detail that was never captured — the result will look soft. Sizes up to 12000px per side are accepted.

Is the image processed in my browser?

No. The file is uploaded to storage and processed on our servers with libvips, then handed back as a signed download. That is what lets the same tools handle formats a browser cannot encode.

How large a file can I upload?

Up to 50 MB per image. Anything larger is rejected before the upload starts, so you are not left waiting on a transfer that cannot succeed.

What happens to the file after I download it?

Uploads and the files produced from them are deleted 24 hours after upload, along with their database records. Download links are signed and stop working when the file goes.