Image Resizer
Resize an image to exact pixel dimensions in your browser, with aspect ratio locking and JPEG/PNG export.
How it works
The image is drawn onto an in-browser canvas at the width and height you choose, then re-encoded as JPEG (quality 0.9) or PNG. With aspect ratio locked, changing the width automatically recalculates the height from the original image's proportions, so the picture is never stretched or squashed. Nothing is uploaded — the resize happens entirely on your device.
Example
A 4000×3000 photo with width set to 1200px and aspect locked automatically fills in a height of 900px, keeping the original 4:3 proportions while shrinking both the dimensions and the file size for faster uploads.
Frequently asked questions
Will resizing make my photo blurry?
Shrinking rarely causes visible quality loss; enlarging a small image beyond its original size can look soft since no new detail is created.
JPEG or PNG — which should I pick?
JPEG is smaller and best for photos; PNG preserves transparency and sharp edges, which matters for logos and screenshots but produces larger files.
What happens if I turn off aspect lock?
You can set width and height independently, which will stretch or squash the image if the new ratio doesn't match the original.
Are my photos uploaded to a server?
No — resizing runs entirely in your browser using the canvas API; your image never leaves your device.
Related tools
Shrink JPG, PNG or WebP file sizes right in your browser — photos never get uploaded.
QR Code GeneratorCreate a QR code for any link or text and download it as a PNG — free, instant and private.
Base64 Encoder / DecoderEncode text to Base64 or decode Base64 back to text — Unicode-safe, entirely in your browser.