utility.diy

Image resizer

or drop one image here

JPG, PNG or WebP, up to 20 MB.

How to resize an image

Open a supported image, choose the new dimensions or a percentage, then resize and download. The original preview is kept separate from the generated output.

Pixels, percentages and proportions

Width and height describe the output in pixels. Keep proportions links the two dimensions so changing one updates the other. Turning it off allows stretching; it does not crop.

New height = New width × Original height ÷ Original width

  1. Choose Width and height or Percentage.
  2. Enter whole pixel dimensions, or a scale greater than 0% and no more than 800%.
  3. Select Resize image. Use Preview to inspect the generated file.

A 400 × 200 image becomes 100 × 50 at 25%. With proportions unlocked, 100 × 100 stretches the same image into a square.

Pixel rounding can change the ratio by one pixel. Enlarging a small image does not recover missing detail.

Formats, transparency and quality

The input format is selected initially. PNG preserves transparency and has no lossy-quality setting. JPEG cannot store transparency, so transparent areas become white. WebP supports transparency when the browser can export it.

Quality controls JPEG/WebP encoding, not pixel dimensions

  1. Choose JPEG, PNG or WebP.
  2. For JPEG or WebP, choose quality from 20 to 100; the initial value is 85.
  3. Check the actual file size and format before downloading.

A transparent PNG exported as JPEG has a white background. Export as PNG or supported WebP to keep transparency.

Files may become larger after resizing or format conversion. A quality value of 100 does not restore the original encoded image. Unsupported output formats produce an error rather than a wrongly named file.

Limits, orientation and metadata

Input files follow the published site limit of 20 MB and a 64-megapixel decoding ceiling. Output is limited to 16 megapixels and 8,192 pixels on either side to bound browser memory use.

Output pixels = Width × Height

  1. Large originals start with reduced dimensions that fit the processing budget.
  2. Use one still JPG, PNG or WebP at a time; animated images, HEIC, AVIF, SVG and GIF are not supported.
  3. Cancel processing or change settings to invalidate an older output. Import errors keep the previous image available.

A 64-megapixel square image starts at 4,000 × 4,000 pixels, which is 16 megapixels.

Camera orientation is applied during decoding. Re-encoding does not preserve original camera/EXIF metadata or print-DPI settings, and colour handling can differ by browser. Very large files may still fail on low-memory devices.