Skip to content
Initurn

Resize an image to exact pixels

Files never leave your device. All processing happens in your browser.

New size
×

Fill in one side and the other follows. Unlock to stretch the image to exact dimensions.

How to convert Image to Resized

  1. 1

    Drop in the image you need at a specific size.

  2. 2

    Type a width, a height, or both with the ratio unlocked.

  3. 3

    Download at exactly the dimensions you asked for.

Most resizing happens because something else specified a number. An application form wants 200×230. A marketplace wants 1000 pixels on the long edge. A print template wants 1200. This page exists to hit those numbers exactly rather than approximately.

The aspect ratio lock

Leave it on and fill in one dimension: the other is calculated from your image so the proportions are preserved. This is what you want almost always, because it is the only way the result does not look subtly wrong.

Unlock it and fill in both, and the image is stretched to fit whatever you asked for. Use this only when something genuinely demands exact dimensions that do not match your image’s proportions — and be aware that faces are extremely unforgiving of it. A 5% horizontal stretch is invisible on a landscape and immediately obvious on a portrait.

Shrinking is safe, enlarging is not

Making an image smaller discards information, and browsers do that well — the result is sharp and clean. Making it larger cannot invent detail that was never captured. The extra pixels are interpolated from their neighbours, which produces a softer, slightly plasticky version of the original rather than a bigger sharp one.

  • If you need a larger image, go back to the original source if one exists. A camera file, a vector, or an untouched download will always beat an upscale.
  • Enlarging by more than about 200% rarely produces something usable.
  • Screenshots enlarge particularly badly, because their sharp edges and text turn into soft mush.
  • If the source is an SVG, do not upscale a PNG of it — render the SVG at the size you need instead.

Resize last, not first

If you are doing several things to an image, the order changes the result. Crop first, so you are not resizing parts you intend to throw away. Rotate before resizing if a quarter turn is involved, since it swaps width and height and will otherwise leave you with the dimensions transposed. Resize next. Compress last of all, so the encoder is working on the final pixel grid rather than on something that gets rescaled afterwards — rescaling compressed pixels enlarges the artifacts along with everything else.

Why the output is PNG

Resizing is an editing step, and PNG is lossless, so the resize itself introduces no compression damage. If you then want a smaller file, convert or compress afterwards. Doing it the other way round — compressing and then resizing — means the artifacts from the first step get baked in and scaled along with everything else.

One practical consequence: PNG files of photographs are large. If you are resizing a photo for the web, follow this with a compression step rather than uploading the PNG directly.

The resize happens in this tab using your browser’s own high-quality scaler, on your own device, with nothing uploaded at any point.

Questions about Image to Resized

Do I have to fill in both width and height?

No. With the aspect ratio locked, fill in one and the other is calculated from your image so the proportions stay correct. Fill in both only if you have unlocked the ratio and genuinely want the image stretched.

Why does my photo look stretched?

The aspect ratio lock was off and the dimensions you gave do not match your image’s proportions. Re-enable the lock and specify only one dimension, or crop the image to the right shape first.

Can I make a small image bigger without losing quality?

Not really. Enlarging interpolates new pixels from existing ones, which produces a softer image rather than more detail. Going back to the original source is always better than upscaling.

Why is the output a PNG rather than a JPG?

Because resizing is an editing step and PNG adds no compression damage to it. Compress or convert afterwards if you need a smaller file — doing it in that order avoids baking artifacts in before the resize.

The file got much bigger. Is that right?

Yes, if your source was a JPG. PNG is lossless and far less efficient on photographs. Follow up with a compression tool if the file size matters.

How do I resize to a specific file size instead?

Use one of the compression tools. They search for the quality setting that lands under a byte target, and reduce dimensions themselves only if quality alone cannot get there.