Resize JPEG, PNG, or WebP images to exact pixel dimensions in your browser.
Ready to use · Runs in your browser · No signup
How to use the Image Resizer
Resize a supported image to exact width and height values while optionally locking the original aspect ratio. Processing stays in your browser.
Resize an image to exact pixel dimensions or scale one dimension while preserving its aspect ratio. Processing stays in browser memory, and safety bounds protect the page from unreasonable decoded pixel sizes.
The selected image is decoded and processed in the browser. Keep the original until the downloaded output has been opened and checked on the target device.
Choose a JPEG, PNG, or WebP image and confirm its detected dimensions.
Enter the output width and height, choose a format and quality when applicable, then create the resized image.
Download the generated file after reviewing its output dimensions and file size.
Last reviewed for accuracy:
Worked examples
Prepare a smaller website image
Scenario: A 4000 × 3000 photo is resized to 1200 pixels wide with aspect ratio locked.
Result: The output dimensions are 1200 × 900 pixels.
The scale factor is 1200 ÷ 4000 = 0.3, so the original 3000-pixel height becomes 900 pixels.
Create a square thumbnail
Scenario: A 1600 × 900 image must fit 400 × 400 without distortion.
Result: Crop it to a square first, then resize the square crop to 400 × 400.
Directly forcing both dimensions would change the original 16:9 aspect ratio and stretch the subject.
How the result is produced
The browser decodes the source, draws it to a bounded canvas at the requested dimensions, and encodes a new file. Locked aspect ratio applies the same scale factor to width and height; unlocked dimensions can stretch the image.
Scale factor = new width ÷ original width
Locked height = original height × scale factor
Pixel dimensions and file size are related but not interchangeable
Resize, crop, or compress?
These operations solve different problems. Resize changes pixel dimensions, crop removes outer content, and compression changes encoding choices to target file size. A workflow may need more than one step.
Resize for display dimensions.
Crop for framing and aspect ratio.
Compress for transfer size after dimensions are appropriate.
Limitations and common mistakes
Upscaling adds pixels but cannot recreate detail missing from the original.
Browser codec support, memory, file-size, pixel-count, and output-dimension limits apply.
Common questions
Does resizing upload my image?
No. Fieldlet decodes, resizes, and exports the image locally in your browser.
Why can file size increase after resizing?
File size depends on pixel count, source format, output format, image detail, and quality settings, not dimensions alone.
Why did the resized file become larger?
Dimensions are only one factor. Output format, quality, metadata, and image complexity can make a smaller-dimension file equal to or larger than the original.