Free browser tool

Image Resizer & Cropper

Resize or center-crop an image to exact pixel dimensions in your browser.

Resize one image

JPG, PNG or WebP; up to 25 MB (25,000,000 bytes) and 40 MP (width × height: 40,000,000 pixels). Large images may fail when memory is limited.

Enter whole numbers from 1 to 10,000 pixels for width and height. The actual output must be at most 40 MP (width × height: 40,000,000 pixels).

Fit stays inside the target box without enlarging the original. Center crop crops around the center to the exact target size and may enlarge the image.

Choose an image and set the dimensions and mode.

Output width × height (px)

—

Original width × height (px)—
Original file size—
Output file size—
Output format—

The output is a still PNG image and its file size may increase. Complete metadata removal is not guaranteed; check the output before sharing.

What this tool does

Resizes an image to fit inside target dimensions or center-crops it to fill an exact width and height, then exports PNG.

How to use it

  1. Choose an image and enter whole-number dimensions from 1 to 10,000 pixels.
  2. Choose fit to preserve the whole image or center crop to fill the frame.
  3. Resize, inspect output dimensions and framing, then download.

Method

Fit keeps the whole image inside the target box without enlarging the original. Dimensions are rounded to whole pixels, so small images can have an approximate aspect ratio. Center crop uses a centered area with the target ratio, then scales it to the exact dimensions, including enlargement. The actual output must not exceed 40 million pixels.

MDN — Canvas.drawImage() · WHATWG — HTML Canvas

Worked example

A 1600×900 image fitted inside 800×800 becomes 800×450. Center-cropping the same source to 800×800 removes side content and produces exactly 800×800.

Common uses

  • Preparing social preview sizes
  • Making thumbnails
  • Cropping a centered subject to a square

Limitations

Center crop can remove important edge content and has no adjustable focal point. Enlargement cannot add real detail. Output is a still PNG image and its file size may increase. Metadata and color profiles may change; complete metadata removal is not guaranteed. Large images may fail when browser memory is limited.

FAQ

Why can fit output be smaller than the requested dimensions?

Fit stays inside both limits and never enlarges the original. An 80×40 image fitted inside 160×80 therefore remains 80×40.

Where does center crop focus?

It uses the geometric center, so inspect the preview if the subject is off-center.

Content basis and verification

· The selected image is resized with Canvas and re-encoded as PNG in your browser. The input file is not sent to a server.
Maintained and reviewed by: Easynivo · Report a correction or source change