Image Resizer

Choose an image and set your target dimensions.

1. Set dimensions

Still JPEG, PNG, WebP · up to 20 MiB, 8 MP, 4096 px per side.

No image selected.

Advanced settings Pixels · Fit

Select an image to begin.

2. Preview & download

No image
No output yetResize an image to download the result.
Your image preview will appear here.

How to resize an image

Choose a supported still JPEG, PNG or WebP file above. If the image is too large to open, or a PNG or WebP is rejected despite meeting the size limits, see the recovery steps below. The resizer shows the accepted image’s width and height in pixels. To make a smaller copy with the same shape, use the default Fit mode, leave Lock aspect ratio checked and change either dimension. The other dimension adjusts automatically. Fit treats the entered dimensions as a bounding box; the saved image can be slightly smaller even with the ratio locked.

Open Advanced settings if you prefer a percentage, a long or short edge length, or need a specific width and height. Choose the resize mode before entering the dimensions. For a custom box with a different aspect ratio, turn off the aspect ratio lock if it is still checked.

Select Resize image. The result panel shows the actual output dimensions, file format and size. Check the preview, then select Download image to save the new file. Changing a setting clears the previous result; resize again before downloading.

Your image is processed in your browser, not uploaded to an image-processing server. The original file is left unchanged.

Choose the right resize mode for your target dimensions

A 1200 × 1200 px requirement can mean an exact square file or simply an image that fits inside a square. Those are different jobs. Suppose your original photo is 2400 × 1600 px (3:2), and you enter 1200 × 1200 px with the aspect ratio lock off.

  • Fit: 1200 × 800 px. Keeps the whole photo in proportion with no added space.
  • Fill & Crop: 1200 × 1200 px. Fills the square in proportion by cropping the sides.
  • Fit & Pad: 1200 × 1200 px. Keeps the whole photo in proportion and adds 200 px above and below with the center anchor.
  • Stretch: 1200 × 1200 px. Keeps the whole scene but changes its proportions.

Choose Fit for a maximum size, such as an image that must be no wider than 1200 px. For an exact square thumbnail, use Fill & Crop if you can lose part of the scene, or Fit & Pad if you need to keep every part. Stretch is generally a poor choice for photos because faces and objects can look distorted.

With Fill & Crop, the anchor determines which part of the photo stays in frame. In the example, the square crop uses 1600 of the original 2400 horizontal pixels. The center anchor removes 400 px from each side; a left anchor keeps the left edge. If you need to select a precise rectangle without scaling it, use the image cropper instead.

Fit & Pad lets you choose the anchor and a background color, or transparent padding for PNG and WebP. JPEG requires a solid background. If you only want to extend specific edges without changing the original pixel dimensions of the picture inside, use the image padding tool.

Resize by percentage or edge length

Use Percentage to scale both dimensions relative to the original: 50% turns a 2400 × 1600 px photo into 1200 × 800 px. This is half the width and height, but one quarter of the pixel count. It does not mean the downloaded file will be one quarter of the original file size.

Use Long edge to limit the larger dimension regardless of whether the photo is portrait or landscape. For a 1600 × 2400 px portrait, a long edge of 1200 produces 800 × 1200 px. Short edge works from the smaller dimension instead. These controls calculate a target box rounded to whole pixels, not a guarantee that Fit will reach the entered edge length or percentage exactly.

When one dimension must be exact

For a 3000 × 2001 px photo, enter a width of 1200 px with Lock aspect ratio checked. The proportional height is 800.4 px, so the height field rounds to 800. Fit must stay within both limits and scales down a little further to fit the height. The result is 1199 × 800 px, not 1200 × 800. A long edge of 1200 px or a scale of 40% gives the same target box and Fit result for this image.

If 1200 px is a maximum width, the result is suitable. If the width alone must be exactly 1200 px and a rounded proportional height is acceptable, choose Pixels and Fit, turn off the aspect ratio lock, and enter 1200 × 801 px as the box. For this photo, Fit produces 1200 × 800 px without padding or cropping. The extra pixel of room in the height limit lets Fit reach the requested width.

When you need an exact 1200 × 800 px canvas regardless of Fit rounding, choose Pixels, select the mode and enter both dimensions with the ratio lock off. Use Fit & Pad if you need the whole scene and can accept a one-pixel margin (on the right with the center anchor in this example). Use Fill & Crop if losing a small part of the scene is acceptable, or Stretch only if changing the proportions is acceptable. All three modes target the exact canvas, subject to the size and enlargement limits.

Select Resize image and read the actual dimensions in the result panel before downloading. A 1200 px width cannot preserve the exact 3000:2001 ratio in whole pixels because the matching height is fractional. If the recipient demands both an exact size and an incompatible exact ratio with no padding, cropping or distortion, ask whether a different size or a rounding tolerance is allowed.

When the original is smaller than the requested size

Enlargement is off by default. If your source is 600 × 400 px and you request 1200 × 1200 px:

  • Fit leaves the image at 600 × 400 px.
  • Fit & Pad creates a 1200 × 1200 px file with the original 600 × 400 px image inside it.
  • Fill & Crop and Stretch require enlargement and will report an error.

Enable Allow enlargement only if you want the photo itself to grow. This creates more pixels by resampling; it cannot recover detail that was absent from the source. For pixel art that needs crisp, unsmoothed blocks, use the pixel art scaler rather than this photo resizer.

File size, quality and supported images

The resizer works with one still JPEG, PNG or WebP up to 20 MiB (20,971,520 bytes), subject to the format and orientation checks below. Both the source and the requested target must have no more than 4096 px per side and 8 million pixels in total. A 4000 × 2000 px image meets the pixel limit; a 4096 × 2048 px image exceeds it, even though neither side exceeds 4096.

If the target exceeds a limit, reduce the requested dimensions only if your intended use allows it. Animated images, unsupported formats and invalid files are not accepted.

When the source is too large to open

A 4032 × 3024 px photo contains 12,192,768 pixels. It exceeds the 8 million pixel limit even if both sides are within 4096 px and the file is under 20 MiB. A target of 1200 × 900 px is valid, but you cannot load that original into this resizer.

Open the original in a trusted local image editor that accepts it. Set the dimensions in pixels, enable resampling and keep the proportions linked. If all you need is a 1200 × 900 px copy, export that size directly rather than resizing twice. If you need to continue here, export a 3200 × 2400 px working copy (7,680,000 pixels), load that copy and use Fit to reach 1200 × 900 px.

Save under a new name and keep the original. Reopen the copy and check its appearance, actual format and dimensions. It must be a still JPEG, PNG or WebP, no more than 4096 px on either side, no more than 8,000,000 pixels in total and no more than 20,971,520 bytes (20 MiB). If the exported file is too large in bytes, try a smaller file at the same dimensions first: lower JPEG or WebP quality if acceptable, or lossless PNG compression. Reduce the dimensions only if the intended use permits it. Renaming the extension does not convert the format.

When a supported image will not open or export

A valid still PNG or WebP can also be rejected if its EXIF orientation tag specifies a rotation or flip (values 2–8). This is a limitation of this resizer, not proof that the file is damaged. JPEG orientation is handled separately; its decoded dimensions must match the orientation-adjusted dimensions.

If a PNG or WebP within the limits is rejected, open the original in a trusted image editor. Make sure the picture is facing the right way, rotating or flipping it only if needed. Export a new still PNG or WebP with the orientation applied to the pixels and the orientation tag reset to 1 or omitted. Do not simply strip the tag if the picture would then face the wrong way. Open the new copy to check its appearance and dimensions, confirm it meets the file limits, and select it in the resizer. Keep the original.

The tool creates a new file in the same format as the input when encoding succeeds. Changing dimensions resamples the pixels. Even a same-size export re-encodes the image, and JPEG or lossy WebP encoding can reduce quality. Smaller dimensions often reduce file size, but the original compression and the new encoding also matter. Original metadata is not guaranteed to survive export. The output is checked against a 40 MiB ceiling; a successful download above 20 MiB cannot be reopened here. If encoding fails, no download is offered; try a supported copy or a different browser.

Right dimensions, but the file is too large?

Suppose an upload form requires 1200 × 800 px and a maximum of 100 KB. Resize to those exact dimensions first. If the downloaded file is still too large, keep 1200 × 800 px and use a separate trusted local image editor or compressor with dimension changes disabled. For JPEG or WebP, try a lower export quality if that format is accepted. For PNG, try lossless compression first; switching formats is an option only if the form permits it and you do not lose required transparency. Keep the resized copy so you can retry without repeatedly compressing the last lossy export.

Check the final file again: exactly 1200 × 800 px, an accepted format, and no more than the permitted byte count. The resizer reports rounded-up KiB; use the downloaded file’s exact size in bytes, not the size on disk. If the form does not define KB, staying at or below 100,000 bytes is conservative (100 KiB is 102,400 bytes). This resizer cannot target an exact file size. If compression cannot meet the limit at acceptable quality, reduce dimensions only if the form explicitly allows it; otherwise seek an allowed alternative from the recipient.

Resizing for a print

Pixel dimensions and print density are separate. A 6 × 4 inch print at 300 pixels per inch needs 1800 × 1200 pixels. Changing only the stored DPI/PPI setting cannot add missing picture detail. If you know the physical print size but not the required pixels, use the pixels to print size calculator to work out the target first.

The browser can change the stored print density when it re-encodes the image. If both pixel dimensions and a stored density are required, resize first and check the downloaded file’s density. If a supported JPEG or PNG within the input limits needs a different density tag, use the image DPI changer rather than resampling it again. Verify the dimensions and density of the final file. For other formats or unsupported density fields, use a compatible metadata editor.