Image Resizer & Cropper.
Resize, crop and re-encode PNG, JPEG and WebP images to exact pixel sizes in your browser.
Runs in your browserAbout Image Resizer & Cropper
Image Resizer & Cropper changes the pixel dimensions of a photo or graphic without uploading it anywhere. Drop a PNG, JPEG, WebP or GIF file, type a width, a height or both, and download the result. If you give only one side, the other is calculated from the original aspect ratio, so a 4000×3000 photo resized to a width of 1200 becomes 1200×900. When you set both sides, the fit option decides what happens to the shape: cover fills the whole frame and trims the edges (ideal for a 1200×630 social preview), contain fits the whole picture inside the frame and pads the rest with the background colour, and stretch distorts the image to the exact size. The optional crop fields cut a rectangle out of the original, measured in its own pixels, before any resizing happens. Large reductions are done in halving steps, which avoids the jagged, shimmering edges you get when a browser shrinks an image ten times in a single pass. A common mistake is exporting a photo as PNG: the file gets several times bigger than a JPEG or WebP of the same picture, so pick JPEG or WebP for photos and keep PNG for screenshots, logos and anything with transparency. Another is saving a transparent logo as JPEG, which has no alpha channel; the transparent areas are filled with the background colour, white by default. Orientation from the camera's EXIF data is applied before resizing. Everything runs locally with the browser's own canvas, so the original file never leaves your device.
How to Use
- Drop an image or choose a file.
- Enter the target width and/or height, pick a fit mode and, if needed, a crop rectangle and output format.
- Download the resized image and check the details panel for the final size.
Frequently Asked Questions
Will resizing keep the aspect ratio?
Yes, if you fill in only the width or only the height. With both filled in, cover and contain keep the proportions (by cropping or padding) and stretch does not.
Is my image uploaded?
No. The image is decoded and resized by your browser's canvas. The page sends nothing to a server.
Does it keep EXIF metadata?
No. Re-encoding through a canvas drops EXIF, GPS and colour-profile metadata. The camera orientation is applied to the pixels first, so the picture still appears the right way up.
Why is my WebP output a PNG?
Some browsers, notably older Safari versions, cannot encode WebP from a canvas and fall back to PNG. The details panel shows the format you actually got.
Related Tools
Convert images between PNG, JPEG, WebP and AVIF with adjustable quality, right in your browser.
Compress PNG and JPEG images with adjustable quality.
Resize screenshots to the exact iPhone and iPad pixel sizes App Store Connect accepts, flattened and ready to upload.
Render SVG markup or an .svg file to a crisp PNG at any width or scale, with optional background.
Turn one 1024×1024 image into every iOS AppIcon size with Contents.json and Android mipmap icons, as a ZIP.
Turn a code snippet into a syntax-highlighted PNG or SVG with a window frame, for slides, docs and social posts.