⚡ Image · Client-side · No data sent to server

Image Resizer

Resize PNG and JPEG images to exact pixel dimensions in your browser. Lock the aspect ratio, preview the result, and download. Your images are never uploaded.

100% private. Your image is decoded and redrawn entirely in your browser with the native Canvas API. Images are never uploaded, sent, or logged. The output keeps the original format: PNG stays PNG, JPEG stays JPEG.

About the Image Resizer

The Image Resizer changes a PNG or JPEG image to exact pixel dimensions, right in your browser. Load an image to see its original size, set a new width and height, and download the result. Lock the aspect ratio to keep proportions, or unlock it to set width and height independently. Everything runs on your device with the native Canvas API, so your images are never uploaded.

How it works

  1. Drop an image onto the panel or click to pick a PNG or JPEG file. The tool reads its original width and height.
  2. Enter a new width or height. With the aspect ratio locked, the other field updates so the image keeps its proportions; unlock it to set both values yourself.
  3. Click Resize image to draw it to a canvas at the new size and build a preview.
  4. Check the preview, then click Download to save the resized image in its original format.

Features

  • Drag and drop or file picker for PNG and JPEG images.
  • Shows the original dimensions as soon as the image loads.
  • Lock aspect ratio toggle: change one dimension and the other follows.
  • Keeps the original format, so a PNG stays a PNG and a JPEG stays a JPEG.
  • Preview and one-click download, all in your browser.

Frequently asked questions

Are my images uploaded anywhere?

No. The image is decoded and redrawn entirely in your browser with the Canvas API. Nothing is sent to a server or logged.

What does the lock aspect ratio toggle do?

When locked, changing the width updates the height to match the original proportions, and changing the height updates the width. Unlock it to set the width and height to any values, which can stretch or squash the image.

What format will the downloaded image be?

The same format as the source. A PNG is saved as PNG and keeps transparency. A JPEG is saved as JPEG; since JPEG has no transparency, any transparent areas are filled with white.

Can I make an image larger than the original?

Yes. Enter dimensions bigger than the original and the image is scaled up. Enlarging past the original size can look soft, because no extra detail can be added.

Which file types are supported?

PNG and JPEG. These are the two formats the tool reads and writes, which keeps the output predictable and lossless for PNG.