Image Resizer

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

HEIC photos load an additional local decoder on first use; large originals can take longer to process.

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.

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

How to use

Fit a picture into a fixed-size layout

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

Step by step

  1. Provide the source using: Resize an image to the dimensions you need.
  2. Set: Width (px) / Height (px) / How to fit / Allow enlargement / Output format / Maximum file size (optional) / Encoding quality. Use the reference below to choose the options that fit your task.
  3. Choose: Resize image. Inspect the result before copying, downloading or using it elsewhere.
  4. 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.

Choosing the settings

OptionWhat changes
How to fitFit 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.
Output formatPNG 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. HEIC inputs are decoded locally and re-encoded to the chosen format. Re-encoding removes original metadata and may change colors or detail. Animated images, GIF and SVG are not supported. Your original stays unchanged.
Maximum file size (optional)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.

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.

If it is not working

  • 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.
  • Inspect the exported file at its actual pixel size, especially text, edges and transparent areas. A preview that looks good when reduced can still have visible defects in the downloaded image.
  • If an image is rejected, check its decoded dimensions as well as its file size. Export a supported still image from the original app and retry with fewer pixels; renaming an extension does not convert the file.

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. HEIC inputs are decoded locally and re-encoded to the chosen format. Re-encoding removes original metadata and may change colors or detail. Animated images, GIF 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.