Pixels, proportions, and a clear preview

Image Resizer

Set the dimensions your website needs. Keep the whole image, crop to a precise shape, or add padding. Your image is processed locally in this browser.

1. Choose an image and size

One static JPEG, PNG or WebP. Up to 20 MiB, 16 million pixels and 8192px per side. Animated files, SVG, GIF, HEIC and AVIF are not supported.

A preset selects crop to produce its exact dimensions. You can change the method afterward.

Fit keeps proportions and adds no border. The output can be smaller than your box.

Whole pixels from 1 to 8192; output limited to 8 million pixels. Proportions are rounded to whole pixels.

JPEG uses the background color. PNG / WebP use it when transparency is turned off, including padding.

Choose an image to begin.

2. Check the result

No image selected

Your resize preview will appear here.

Original dimensions
—
Planned output
—
Original file size
—
Exported file size
Not exported

The preview uses a smaller display canvas. Your download uses the planned output dimensions.

Checkerboard squares indicate transparency; they are not included in the download. A larger pixel count does not restore missing detail.

How to resize an image

  1. Choose a static JPEG, PNG or WebP from your device. Dimensions reflect the browser’s interpretation of image orientation.
  2. Choose a method and enter dimensions or a scale percentage. Check the planned output and preview, especially around cropped edges.
  3. Select a download format and background. Click Resize and prepare download, then save the result. Editing a setting clears the previous download so it cannot be mistaken for the new result.

Choose the right resize method

Fit preserves the entire picture inside maximum dimensions. For example, a 1600 × 900 image fitted inside 800 × 800 becomes 800 × 450, with no padding.

Keep proportions links the width and height. Crop fills an exact canvas and removes edges; the anchor controls which area survives. Add padding keeps the whole picture on an exact canvas. The same example cropped to 800 × 800 loses its sides; padded to 800 × 800 gains space above and below.

Stretch changes each side independently and can distort the subject. Percentage scales both dimensions: 50% gives half the width and height, or about one quarter of the pixels.

What does “prevent enlargement” mean?

Fit and padding keep smaller image content at its original size. Other methods show an error if the requested result would enlarge image content. Uncheck the option to allow interpolation; it cannot recover detail absent from the original.

Formats, quality, and privacy

This tool changes pixel dimensions. It does not aim for a particular KB or MB size. The exported byte count is measured after encoding, and a resized file can be larger than the original.

PNG uses lossless encoding, but resizing still changes pixels. JPEG and WebP use the browser’s encoder with a fixed 0.92 quality request; results vary by browser. JPEG has no transparency. If your browser cannot encode the selected format, the tool reports the problem instead of giving a file with a misleading extension.

Files are checked before decoding: 20 MiB maximum, 16 million source pixels, 8192px per side, and 8 million output pixels. These conservative limits reduce memory use; low-memory devices may still fail. Very complex headers and uncommon JPEG encodings may be rejected. Use a smaller static image if processing fails.

Animated PNG and WebP are rejected; animation, SVG, GIF, AVIF and HEIC are outside this tool’s scope. This is a single-image utility. Browser resizing may change colors and does not preserve original EXIF, print-resolution, or other metadata. Keep the original for archival and print work.

The tool makes no image uploads or external API requests, and uses no tool-specific storage. Files and generated downloads remain in browser-managed memory or temporary storage. Reset releases the tool’s references; it does not delete your original or a downloaded file. The site’s shared page resources and analytics follow site settings.

Technical references: HTML canvas export, PNG specification, and WebP container specification.