image resizer

One image, resized.
To a number you choose, and nothing you did not ask for.

Give it a width, a height, both, or a percentage, and it rewrites your image at that size. It will not enlarge without saying so and it will not crop without saying so — the size about to be made is on screen before the run, and the bytes are measured after it. It runs on this page, using WebAssembly; the image never leaves your device.

Drop an image here

PNG, JPG, WebP or SVG · up to 8192px on the longest side

The size you want

Give one side and the other follows the shape of your file. Give both and you decide what happens to the difference. Nothing here promises a smaller file — what your image weighs at the size you picked is in the table below, measured after the run.

How to describe the size
pxpx

The other side follows, so the picture keeps its shape. Clearing this field leaves your file at the size it already is rather than shrinking it to nothing.

QualityOne setting for the lossy encoders, not one each — the sizes below are only comparable if they were all asked for the same thing.

What this run will make

Drop a file and the size it was measured at appears here, beside the size you ask for. Nothing is resized until there is something to measure.

What came out

  • PNG
  • JPEG
  • WebP

Nothing resized yet. Drop a file above and its measured size appears here, beside the size you ask for and what that costs in bytes.

What it looks like at that size

Drop a file above and it appears here, at full size.

Questions

Will it enlarge my image if I ask for a size larger than the original?

It will, and it says so before the run rather than afterwards. Enlarging cannot recover detail that was never in the file, so the warning is there to let you change your mind. The same notice appears when the width and height you gave mean part of the picture is cropped.

Why does it show three file sizes instead of one?

Because the format you save in usually moves the weight more than the pixel size does. The new size is measured as PNG, JPEG and WebP on your own file, so the choice is made against numbers rather than against a rule of thumb.