Image Resizer

Resize images to pixel dimensions or add borders for an exact canvas. Export JPG, PNG or WebP.

Processed on this page. No uploads. Your input is not saved.

This tool needs JavaScript and a modern browser with local image processing support.

Which resize mode should I use?

Fit keeps the original proportions and stays inside your width and height. A 1200 × 800 image fitted into 600 × 600 becomes 600 × 400. Pad produces a 600 × 600 canvas with the whole image centered. Neither mode crops your image.

Formats and limits

PNG and WebP preserve transparency. JPEG replaces transparency with white. Quality applies to JPEG/WebP only. Output is limited to 16 megapixels and 8192 pixels per side. Re-encoding removes original metadata and may change colors or detail. Animated images, GIF, HEIC and SVG are not supported. Your original stays unchanged.

Fit a picture into a fixed-size layout

Enter the width and height, then choose whether to fit inside the bounds or pad to an exact canvas. Select an output format and check the exported dimensions.

Example and expected result

For a 1200 × 630 banner, a 1600 × 900 photo fits at 1120 × 630. Padding adds 40 pixels on each side to reach the exact canvas. To fill the banner without borders, use the cropper and remove part of the image.