Set an exact width and height in pixels. Keep the aspect ratio locked and the other side follows, so nothing stretches.
Supports JPG, PNG, WEBP
Your file never leaves your device
This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential files too. How we handle data
Type the width and height you want and download. That's the whole job. Every site wants something different: a 1080 × 1080 Instagram post, a 1584 × 396 LinkedIn banner, a 600-pixel-wide image for an email newsletter, or a passport photo upload that insists on 600 × 600. Guessing in a photo editor rarely gets you the exact number, and this does.
No. Resizing happens in your browser with the HTML canvas, so the image never leaves your device and there's no waiting on an upload. PNGs stay PNG. JPGs and WEBPs are saved as high-quality JPGs.
Resizing changes the pixel dimensions. Compressing keeps the dimensions and makes the file lighter. If a site rejects your photo for being "too large", check whether it means pixels or megabytes. For megabytes, use the Image Compressor after resizing. Need a different format too? Try the Image Converter, or browse all our free image tools. If the form gives a size in KB, like 20 to 50 KB, Resize Image to KB sets the pixels and the file size together.