Image Resizer

Set image dimensions and an optional JPEG file-size limit together. Keep the whole image or add borders for an exact canvas.

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.

Meet image upload requirements

For a 600 × 600 JPEG under 200 KB, enter 600 for width and height, choose Pad to exact dimensions, select JPEG and enter 200 as the maximum file size. A 1200 × 800 photo becomes a 600 × 400 image centered on a white 600 × 600 canvas. The final file is checked after encoding; a size limit is not a promise about visual quality or acceptance by another website.

Padding keeps the whole image. If the receiving service forbids borders or requires a specific crop, use Image Crop first. We do not check faces, identity-photo rules, DPI or the receiving site's other requirements.

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.