How this image resizer works
Drop in an image and the tool reads its natural dimensions straight into the width and height fields. Type a new width and, with the aspect-ratio lock on, the height updates automatically so nothing gets stretched — or switch to percentage mode and pick 25%, 50%, 75% or a custom scale. The image is then redrawn on a canvas at the target size and re-encoded to PNG, JPEG or WebP, all locally in your browser.
One detail sets this apart from a naive canvas resize: for large reductions (more than 2×), the tool downscales in successive halves before the final draw. Browsers use fast but simple interpolation, and shrinking a 4000px photo to 400px in one step produces visible aliasing and moiré. Stepping down in halves averages pixels more gently at each stage, so fine lines and text stay clean.
Resizing an image step by step
- Drop, paste or browse for an image — PNG, JPEG, WebP, GIF or SVG.
- Enter exact pixel dimensions, or switch to percentage mode.
- Pick an output format, and a quality level for JPEG or WebP.
- Click Resize image, check the preview and sizes, then download.
Getting the smallest possible file
Resolution is the biggest lever on file size — halving both dimensions cuts the pixel count by 75%, which usually shrinks the file far more than any quality slider. For web work, resize to roughly the pixels you will actually display (or 2× that for high-DPI screens), then squeeze the result further with the Image Compressor. If you need the image inline in HTML or CSS, the Image to Base64 Converter turns the resized file into a data URI.