Image Resizing & Cropping

Resize Image

Set a new width and height. The original proportions are kept by default; turn off the aspect ratio lock to change each side separately.

Images are processed entirely in your browser and are never uploaded to a server.

or drag an image here

Process one image at a time. Supports JPG/JPEG, PNG, static WebP, BMP your browser can open, and SVG with no unsafe content. GIF and animated WebP are not supported.
Keeps the original proportions by default. Turn off to set each side separately.
The original format is available only if your browser can save it.

Original Preview

Choose an image to see the original preview

Result Preview

The result appears after processing

Bitmap files can be up to 100 MiB; files over 50 MiB trigger a high-memory-use notice. Original and output images are limited to 40 million pixels, with each side no longer than 16,384 pixels. SVG files must use UTF-8 and be no larger than 2 MiB.

About This Tool

Resize Image helps you prepare pictures at the pixel dimensions needed for websites, documents, or upload forms. The downloaded image uses your new dimensions. The results show its width, height, aspect ratio, and horizontal and vertical scale compared with the original.

How to Use

  1. Choose or drag in an image, then check its orientation, file size, and pixel dimensions.
  2. Enter a new width or height. Lock Aspect Ratio is on by default, so the other dimension is calculated automatically.
  3. Turn off the aspect ratio lock if you want to change each side separately. Choose an output format; JPG offers a background color, and JPG/WebP offer quality settings.
  4. Click Resize, review the result, and download it. Reset Size restores the original dimensions; Clear removes the image and result.

Supported Formats

  • Input: JPG/JPEG, PNG, static WebP, and BMP images your browser can open, plus SVG files checked for unsafe content. GIF and animated WebP are not supported.
  • Output: PNG, JPG, or WebP if your browser supports it. The original format is used when possible; inputs such as BMP and SVG are saved as PNG when their original format cannot be exported.

Image Processing Notes

  • With the aspect ratio locked, the other dimension follows the original proportions and is rounded to the nearest whole pixel.
  • Turning off the lock lets you change the proportions. For example, resizing 1920×1080 to 1920×500 can make the picture look squashed or stretched.
  • Width and height must be whole numbers greater than zero. After changing settings or a failed attempt, process the image again before downloading the updated result.
  • Reducing an image removes pixels. Enlarging it creates additional pixels using smoothing, but cannot restore detail missing from the original.
  • PNG and WebP can preserve transparency. JPG blends transparent and partially transparent areas with your selected background color, which is white by default. The checkerboard appears only in the preview.
  • Downloaded images usually do not retain the original EXIF, GPS, or other metadata. Phone photos are corrected using their EXIF orientation before dimensions are calculated and the image is processed.

Bitmap files can be up to 100 MiB; files over 50 MiB trigger a high-memory-use notice. Original and output images are limited to 40 million pixels, with each side no longer than 16,384 pixels. SVG files must use UTF-8 and be no larger than 2 MiB.

Privacy

Images are processed entirely in your browser and are never uploaded to a server.

Your files are never sent to a server, and images are not saved automatically. Download any results you want to keep before clearing or leaving the page, and keep your original files.

FAQ

Will resizing affect image quality?

Resizing and saving can change pixels and compression. Reducing dimensions removes some pixels; JPG/WebP quality settings also affect detail and file size. Check the preview before downloading.

How do I keep the original proportions?

Leave Lock Aspect Ratio on and change only the width or height. The other side is rounded to the nearest whole pixel. For example, setting a 1920×1080 image to 1280 pixels wide produces 1280×720.

Will enlarging an image make it sharper?

It does not add real detail. Enlarging uses smoothing to create more pixels, so a blurry original cannot recover detail that was never there.

Are my images uploaded to a server?

No. Opening, previewing, processing, and downloading your image all happen in your current browser. Your image is never uploaded or sent to an online image processing service.

Back to the Developer Tools Directory