Skip to content

Menu

Image Resize Tool

Resize images to exact dimensions

Runs entirely in your browserImage & MediaFree, no sign-up
Loading tool

01What is Image Resize Tool?

You need an image at an exact size: a 1200 x 630 social card, a 150 px thumbnail or a phone photo small enough for a README. This tool does that without opening an editor, and it gives you control over what happens when the shapes don't match. Drop an image or click the upload area. The tool reads its natural width and height and fills them into the Width (px) and Height (px) fields, which accept 1 to 10,000. With Lock aspect ratio ticked, editing one side recalculates the other from the original proportions. Eight presets fill in common boxes: Thumbnail 150x150, Small 320x240, Medium 640x480, HD 1280x720, Full HD 1920x1080, OG Image 1200x630, Instagram 1080x1080 and Twitter 1200x675. Clicking a preset turns the lock off, because a preset is a target box rather than a new shape. The If ratio differs setting decides how your image meets that box. Fit inside, the default, scales the image until it fits entirely within the box, so one side can end up smaller. Crop to fill outputs exactly the box size, scaling the image to cover it and trimming equal amounts from both edges. Stretch to exact size simply distorts the image to the box. A worked example helps. Take a 4000 x 3000 photo and the OG Image preset. Fit inside gives you 840 x 630, since 630 is the limiting side. Crop to fill gives exactly 1200 x 630, drawing from a 4000 x 2100 band that skips 450 px at the top and the bottom. A summary line above the presets shows original size, output size and scale percentage, so you see this before downloading. Output can be PNG, JPEG or WebP. For JPEG and WebP a Quality slider from 10 to 100 appears, starting at 92. JPEG has no transparency, so the tool paints a white background first. Download Resized draws the image onto an HTML canvas in one pass and saves it as resized-WIDTHxHEIGHT with the right extension. If your browser can't encode the format you picked, which can happen with WebP in some browsers, a notice tells you and the file keeps the real type. The image is decoded and redrawn by your own browser, so the photo stays on your device. The limits are those of canvas resizing. It uses one pass with the browser's default smoothing, keeps no EXIF metadata, and cannot pick a focal point for cropping.

Developers and bloggers who need a screenshot or photo at an exact pixel size, such as an OG card or thumbnail, without opening an image editor. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Image Resize Tool

  1. Drop an image or click the upload area to choose a file.
  2. Click a preset, or type Width (px) and Height (px) with Lock aspect ratio on to keep proportions.
  3. Under If ratio differs, choose Fit inside, Crop to fill or Stretch to exact size.
  4. Pick PNG, JPEG or WebP, and set Quality for JPEG or WebP.
  5. Check the Original to Output summary line, then click Download Resized.

03Worked examples

Input: 4000 x 3000 image, OG Image 1200 x 630, Fit inside
Result: Output 840 x 630
The ratio is kept, so the output is narrower than the 1200 px box.
Input: 4000 x 3000 image, 1200 x 630, Crop to fill
Result: Output 1200 x 630, source region x=0 y=450, 4000 x 2100
450 px is dropped from the top and from the bottom before scaling.
Input: 4000 x 3000 image, Instagram 1080 x 1080, Crop to fill
Result: Output 1080 x 1080, source region x=500 y=0, 3000 x 3000
Input: 800 x 600 image, Full HD 1920 x 1080, Fit inside
Result: Output 1440 x 1080
Fit inside scales up a small image until one side touches the box.
Input: 3024 x 4032 portrait, Twitter 1200 x 675, Fit inside
Result: Output 506 x 675
A tall photo in a wide box ends up narrow.
Input: 1920 x 1080 image, OG Image 1200 x 630, Stretch to exact size
Result: Output 1200 x 630, full source drawn
16:9 squeezed into roughly 1.9:1, so the picture is slightly distorted.

04Common use cases

  • Shrinking a 4000-pixel phone photo before attaching it to a GitHub issue or README
  • Making a 1200 x 630 Open Graph card from a 4:3 photo with Crop to fill
  • Turning a large PNG screenshot into a lighter WebP for a documentation site
  • Producing 1080 x 1080 square product images from mixed wide shots
  • Scaling a portrait phone photo to fit inside a 1200 x 675 Twitter box without cropping the subject
  • Stripping camera EXIF, including GPS, as a side effect of re-encoding through canvas

05Tips

  • Crop to fill always cuts from the centre. If your subject sits near an edge, crop it first and then resize with Fit inside.
  • Fit inside also upscales. An 800 x 600 image in the Full HD box comes out at 1440 x 1080, which will look soft.
  • Big reductions in one canvas pass can look jagged. Halving in two or three steps, feeding each download back in, often looks smoother.
  • JPEG turns transparent areas white. Use PNG or WebP for logos and icons with transparent backgrounds.
  • Re-encoding through canvas drops EXIF, so the download no longer carries camera data or GPS.

06Related concepts

Aspect ratio, object-fit contain and cover, HTML canvas, WebP, JPEG quality, Open Graph image.

Frequently Asked Questions

What is Image Resize Tool?

Image Resize Tool is a free, browser-based developer tool on AIDToolStack. Resize images to exact dimensions It requires no installation or sign-up and works entirely in your browser.

Is Image Resize Tool free to use?

Yes. No sign-up, no fees and no usage cap.

Does Image Resize Tool store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe