OpenGPT.in

Image Resizer

Resize an image to any size, in your browser.

Runs in your browser Runs entirely in your browser. Nothing you put in it ever leaves your device.

Drop an image here, or choose one. It is resized on your device and never uploaded.

JPEG, PNG, WebP, AVIF, GIF or BMP, up to 25 MB.

Ready. Images are processed on your device.

Was this useful?


About this tool

Set a width, a height or a percentage and get the image back at that size. The aspect ratio is kept unless you turn it off, and there are presets for the sizes people usually need — favicons, app icons, profile pictures and social previews. The resizing is done by your browser, so even a 25 MB photograph never leaves your device.

How to use it

  1. Drop an image onto the page, or choose one.
  2. Type a width or a height — the other follows, keeping the proportions.
  3. Or pick a preset, or drag the percentage slider.
  4. Download the result. The preview is the actual output, so what you see is what you get.

Supported input

  • JPEG, PNG, WebP, AVIF, GIF and BMP in
  • WebP, JPEG or PNG out, or keep the original format
  • Files up to 25 MB

Privacy

Runs entirely in your browser. Nothing you put in it ever leaves your device. Everything happens in JavaScript on this page, so the tool keeps working even if you go offline after it has loaded — which is the simplest way to see for yourself that nothing is being sent. Read the full privacy information.

Questions

Will enlarging an image make it sharper?

No. Enlarging makes the existing pixels bigger; it cannot add detail that was never captured. Scaling down discards information cleanly, which is why it looks fine — scaling up is always a compromise, whatever tool you use.

Why does the height change when I type a width?

Because the aspect ratio is locked by default, so the image is not stretched. Untick “Keep the aspect ratio” if you genuinely want to distort it, or use a preset that names both dimensions.

Which preset should I use for a favicon?

The 32×32 one covers the browser tab. If you also want an icon for a phone home screen or a PWA, use 512×512 as well — a single large square scales down better than a small one scales up.

Is the file uploaded to be resized?

No. Your browser decodes the image, redraws it at the new size on a canvas and re-encodes it, all on this page. Disconnect from the network after the page loads and everything still works.

The file got bigger after resizing. Why?

Usually because the format changed — a photograph saved as PNG is much larger than the same photograph as JPEG or WebP. Keep the original format, or pick WebP, and check the size shown under the preview.