How it works
The Image Resizer scales images to exact pixel dimensions or by percentage — entirely in your browser. Choose between maintaining the aspect ratio or stretching to exact dimensions, and download the resized image in the original format or converted to JPG, PNG, or WebP.
Image resizing is the most common image processing task. Profile photos need to be 400×400px for upload. Hero images need to be exactly 1200×630px for social sharing. Product thumbnails need to be 300×300px for a shop grid. Avatar images need to be within a file size limit. This tool handles all of these without installing Photoshop or paying for an online service.
How to use it: click or drag an image file into the upload area (JPG, PNG, WebP, GIF, SVG supported). Enter the target width and/or height. Toggle "Lock aspect ratio" to scale proportionally — enter one dimension and the other is calculated automatically. Select the output format and quality. Click Download to save the resized image.
Resize modes: - Scale to fit: resize while maintaining aspect ratio, result fits within the target dimensions - Crop to exact dimensions: resize and center-crop to exactly the specified width × height - Stretch: resize to exact dimensions without preserving aspect ratio - Scale by percentage: e.g., 50% reduces width and height by half
Quality setting: for JPG and WebP output, the quality slider (1–100) controls the compression level. 85 is a good default — visually similar to 100 but 60–70% smaller file size. PNG is lossless and ignores the quality setting.
Privacy: your images are processed entirely in the browser canvas API. No image data is uploaded to a server. Large images (20+ megapixels) may take 1–2 seconds to process — this is normal for client-side image processing.
Frequently Asked Questions
- JPG, PNG, WebP, GIF (first frame only), SVG, AVIF, HEIC (on Safari). Formats are accepted via drag-and-drop or the file picker. The output format can be selected independently of the input format.
- Upscaling (making an image larger) always reduces sharpness because pixels are interpolated — the tool uses bilinear interpolation which produces smooth but soft results. Downscaling generally maintains quality and reduces file size. For the best quality, always start with the largest available source image.
- Scale to fit maintains the aspect ratio and fits the result within your specified dimensions — one dimension may be smaller than specified. Crop to exact fills the exact dimensions by cropping the excess from the center. Use Scale to fit for thumbnails with consistent height. Use Crop to exact for hero images and card images with fixed dimensions.
- Currently the tool processes one image at a time. Drop an image, configure settings, download, then repeat for the next image. Batch processing for multiple images is a planned feature.