Crop a Photo to a Square Without Stretching

Crop by exact pixels or choose a ratio for a profile photo or banner. Check that the subject stays inside the selection.

Local processingExact pixel cropAspect-ratio presets
Image cropping illustration
Processed in your browser · No file upload

Browser image decoding and the Canvas 2D API handle supported pixels locally.

The tool loads its interface and processing files from the site. This workflow handles the contents you select or enter in the browser.

File picker filter: image/jpeg, image/png, image/webp, .jpg, .jpeg, .png, .webp. The selected file must also pass this tool’s content and decoder checks.

Input per file
25 MiB
Source pixels
24 MP
Image edge
16,383 px

Limits are safeguards, not a guarantee every file below them will process. Complex files and device memory can require a smaller input.

Read the privacy policy

See how MAGODUCK tests tool outputs

1

Choose an image and crop area

Still JPG, PNG or WebP · 25 MB · 24 MP · 16,383 px edge.

Drop an image here

or choose one from your device

No image selected.

Cropped result

The result keeps the selected source format.

Source preview
SourceSample
HOW IT WORKS

Crop without silently resizing

1. Decode the source

The browser decodes the still image and normalizes JPEG orientation.

2. Define the crop

Drag a rectangle or enter exact X, Y, width and height. Aspect presets constrain the shape, not the underlying source pixels.

3. Export and verify

Only the selected pixel rectangle is drawn to a new canvas and encoded in the original format.

TECHNICAL BEHAVIOR

Crop coordinates, quality and metadata

No hidden resize

The output pixel dimensions equal the crop width and height. Cropping removes pixels outside the selected rectangle; it does not upscale the selected area.

Format behavior

JPG/WebP are newly lossy-encoded at the chosen quality. PNG is newly encoded as PNG with alpha support. Source EXIF/ICC/text metadata is not intentionally copied.

Privacy

This build has no image-cropping upload endpoint. Processing uses browser decoding and Canvas APIs in the current tab.

FAQ

Image Cropper FAQs

Can I crop to an exact pixel size?

Yes. Enter exact crop width and height plus X/Y origin values.

Does cropping reduce quality?

PNG remains a lossless PNG encode. JPG and WebP require a new lossy encode, so quality depends on the selected setting.

Are animated files supported?

No. APNG and animated WebP are rejected rather than silently reduced to one frame.

Technical references checked October 2, 2026. createImageBitmap() supports source cropping and orientation handling; Canvas drawImage() and toBlob() perform the crop render and export.

Crop exactly what you need

Use drag selection or exact source-pixel coordinates.

Crop image

Image privacy

Selected image bytes stay in the browser workflow; no crop upload endpoint is implemented.

Using this cropper

Use images you have permission to process and inspect the result before production use.

Cropped preview