Image Resizer
Resize images to exact pixel dimensions with an optional aspect ratio lock, entirely in your browser.
Image Resizer tool
Example
Input: A 4000 x 3000 JPG, Width 2000, Height left at 0 (auto), Maintain Aspect Ratio on, Output Format JPEG
Result: A 2000 x 1500 JPEG - the same 4:3 shape at half the width and height
With the aspect ratio locked, the missing height is calculated as 2000 / 4000 x 3000 = 1500. Entering both sides fits the image inside that box instead.
- Upload an image by clicking the drop zone or dragging a file onto it.
- Enter the desired width and height in pixels, or set one of them and leave the other at 0.
- Toggle Maintain Aspect Ratio to keep or override the original proportions.
- Select the output format (PNG, JPEG, or WebP) and quality level, then click Reprocess.
- Preview the resized image and click download to save it.
Resizing an Image to Exact Pixel Dimensions
The Image Resizer changes the width and height of a photo or graphic to the exact pixel size you need. Enter a width, a height, or both, choose PNG, JPEG or WebP, and download the result.
With Maintain Aspect Ratio on, which is the default, you only need one number. Type a width of 1200 and leave height at 0, and the height is worked out from the original proportions. A 4032 x 3024 phone photo becomes 1200 x 900. If you enter both numbers with the lock on, the image is scaled to fit inside that box without distortion. Turn the lock off to force an exact size, which stretches the image if the proportions differ.
Making an image smaller is safe. Making it larger adds no detail, so enlarged photos look soft. Each side can be up to 8,192 pixels, and files up to 20 MB are accepted.
The output format affects file size. PNG is lossless and best for graphics and screenshots. JPEG and WebP are much smaller for photos, and the quality slider (85% by default) trades size for detail. JPEG has no transparency, so transparent areas become white. If your browser cannot write WebP, the tool saves PNG and says so. The image is redrawn in your browser, so the result also drops metadata such as camera details and GPS location.
To find the right proportions first, use the Aspect Ratio Calculator. To cut out part of a picture instead of scaling it, use the Image Cropper.
Frequently Asked Questions
Related Tools
Aspect Ratio Calculator
Calculate and convert aspect ratios for images, videos, and screens. Find missing dimensions instantly.
Image and MediaImage Compressor
Compress images client-side with an adjustable quality slider. Compare before and after file sizes instantly.
Image and MediaImage Format Converter
Convert images between JPG, PNG, WebP, and BMP formats entirely in your browser using the Canvas API.
Image and MediaImage Cropper
Crop images visually with draggable handles and preset aspect ratios. Preview and download the result instantly.
Image and Media