ImagesRuns in your browser

Resize an Image Online

Set a new width and height, preserve the source aspect ratio when needed, and download the result.

  • Width and height
  • Preserve aspect ratio
  • AVIF / WebP / JPEG / PNG
Online tool

Try the tool

Add your data, choose the settings, and get the result.

New dimensions

Result

The result will appear after processing the file.

Your data stays here

Text and selected files are processed in the current browser and are not sent to a server to produce the result.

Reviewed: 2026-07-17
01

How to use it

  1. 1

    Choose an image.

  2. 2

    Enter new dimensions and configure aspect-ratio preservation.

  3. 3

    Select a format, resize, and download the file.

02

What the tool can do

  • Integer-pixel width and height changes.
  • Automatic calculation of the second dimension when preserving proportions.
  • AVIF, WebP, JPEG, or PNG output.
03

Common use cases

  • Preparing an image for an exact layout size.
  • Creating a smaller copy for publishing.
  • Calculating height from a target width.
04

How it works inside

Scaling is performed with Canvas drawImage.

Upscaling creates more pixels but cannot add original detail.

05

Questions and answers

Can I ignore the aspect ratio?

Yes. Disable aspect-ratio preservation and enter both dimensions manually.

Does it enhance image quality?

No. It only scales and re-encodes the image.