Image Resizer
Image Resizer scales PNG, JPG and WebP images to exact pixel dimensions or social presets, with an aspect-ratio lock, locally in your browser.
High-quality bilinear canvas resampling preserves crisp edges.
About this tool
HTML5 Canvas configures imageSmoothingQuality = 'high', draws your source image onto the target pixel grid, and exports a crisp PNG blob locally. Resize Open Graph and blog thumbnails to 1200×630.
How to use the image resizer
- Press Choose image and pick a picture from your device.
- Leave Lock aspect ratio ticked so the height follows the width, or untick it to set both sizes.
- Enter a width or height in pixels, or press a preset such as 1080 by 1080 or 1200 by 630.
- Check the resized preview, then press Download PNG to save it.
Why resizing needs a ratio
Changing only the width of a picture without changing the height stretches it. Locking the aspect ratio keeps the proportion, so a 4000 by 3000 photo that is resized to 1200 wide becomes 1200 by 900. The tool uses bilinear resampling on a canvas, which keeps edges smooth when the picture gets smaller.
Make an image smaller than its original size for a clean result. Enlarging a picture cannot add real detail, so a small photo stretched to a large size will look soft.
A worked example
A social post needs a 1200 by 630 image. Resizing a 3000 by 2000 photo with the ratio locked gives 1200 by 800, and the preset then fits the frame. Use Crop Image afterwards to remove the extra 170 pixels from the height.
- Make a 1080 by 1080 square for a profile or a feed post.
- Shrink a large product photo to 800 pixels wide for a web page.
Who uses an image resizer
- Social media managers preparing images for each platform's size.
- Web developers creating images at the widths a responsive page needs.
- Shop owners making product photos the same size.
- Teachers and students preparing slides and posters.
- Anyone who needs a picture at an exact size.
Tips and common mistakes
- Do not enlarge a small image much. It will look soft, however the tool resizes it.
- Resize from the original file, not from an earlier resized copy, to keep the best quality.
- Presets set the size, not the crop. Use the crop tool if the proportion of the picture does not match.
- PNG files for photographs can be large. Compress them after resizing.
- The resizing happens in your browser, and the file is not uploaded.
Frequently asked questions
Aspect Ratio Calculator
Aspect Ratio Calculator simplifies ratios using the GCD, scales pixel dimensions proportionally and copies CSS aspect-ratio rules, in your browser.
Box Shadow Generator
Box Shadow Generator designs CSS shadows visually with X/Y offset, blur, spread, opacity and inset controls, locally in your browser.
Color Converter
Color Converter translates colors between HEX, RGB, HSL and CSS OKLCH with a live swatch preview and RGB sliders, locally in your browser.
No matching tools. Clear the filter to see all.