Image Resizer
Resize images to exact pixels or percentages.
About this tool
Choose an image, enter the width and height you want in pixels and press Process. The picture is redrawn at exactly that size. It happens in your browser, so the photo is not uploaded.
How to use
How it works
The image is drawn onto a canvas of the size you give and saved in its original type (JPEG stays JPEG at quality 0.92). The two sizes are independent, so if the ratio differs from the original the picture is stretched or squeezed. Choose a pair that keeps the original ratio to avoid distortion.
new height = new width × (original height ÷ original width)
Worked example
A 4000 × 3000 photo to 800 × 600
- Input
- 4000 × 3000, target 800 × 600
- Output
- 800 × 600 image
- Walkthrough
- Both sizes are the original divided by 5, so the 4:3 ratio is kept and the picture is not distorted.
Limitations
- No lock to the aspect ratio: you must calculate the matching height yourself.
- JPEG, PNG and WebP keep their format and file extension; other input types are saved as PNG.
- Very large target sizes may hit your browser's canvas limit.
Questions
How do I resize an image to a specific size?
How do I keep the proportions?
Are my images uploaded?
Does it change the file type?
Features
- Exact pixel dimensions
- Keeps image type
- Private, in-browser
Guides
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Responsive images and art direction
Chrome for Developers
Art direction and crop choices before you compress for the web.
Watch on YouTubeHow are Images Compressed? JPEG In Depth
Branch Education
JPEG mechanics behind smaller web and social exports.
Watch on YouTube
- Responsive images
web.dev
srcset and sizes patterns next to resize workflows.
- Photo metadata standards
IPTC
What EXIF/IPTC fields mean when stripping or viewing metadata.