AyeCalc
All tools
Image tools

Free Image Cropper Online

Create a precise crop without uploading the image. Drag or resize the selection, enter pixel coordinates, use common square, landscape, and portrait ratios, zoom the editor, rotate or flip the source, and export to JPEG, PNG, or WebP.

Free and preset cropsTouch and keyboard controlsRotate and flip
Private visual image cropper

Crop and transform an image

Image stays local
Drop an image here

JPEG, PNG, or WebP · up to 100 MB and 50 megapixels

Choose a JPEG, PNG, or WebP image to begin.

Core formulaoutput = transformed source pixels inside the crop rectangle

The crop rectangle uses pixel coordinates in the rotated image, then the selected region is encoded in the chosen format.

01
Method

How the image cropper works

The browser applies quarter-turn rotation and optional flips, maps the crop rectangle to transformed image pixels, draws that source region onto a new canvas, and exports a metadata-free image.

Formulaoutput = transformed source pixels inside the crop rectangle

The crop rectangle uses pixel coordinates in the rotated image, then the selected region is encoded in the chosen format.

02
Worked example

Crop a landscape photo to a centered 1:1 square

Selecting 1:1 creates the largest centered square that fits the transformed image. Drag the selection to reposition it, resize from a corner, or enter exact X, Y, width, and height values before export.

03
Output

Using the processed image

Keep the exported dimensions, format, transparency, and compression level appropriate for where the image will be used.

Canvas crop
context.drawImage(
  source, cropX, cropY, cropWidth, cropHeight,
  0, 0, cropWidth, cropHeight
);
Centered square
const size = Math.min(width, height);
const x = (width - size) / 2;
const y = (height - size) / 2;
04
Practical guidance

Using the result accurately

Choose an aspect ratio that matches the final placement and leave enough space around important subjects. Use numeric controls or arrow-key movement for precise placement, then verify the output dimensions before downloading.

Important limitation

Cropping permanently removes pixels outside the selection. Editor zoom changes only the working view, extreme rotations or repeated lossy exports can affect quality, and embedded metadata is not preserved.

References: MDN CanvasRenderingContext2D drawImage().

Common questions

Image Cropper FAQ

Answers about the method, assumptions, and practical use.

Which crop ratios are available?

Use a freeform selection or choose 1:1, 4:3, 3:2, 16:9, or 9:16. Pixel coordinate fields remain available for precise adjustments.

Can I crop with a keyboard or touch screen?

Yes. The selection supports pointer and touch dragging. Focus it and use arrow keys to move one pixel, or hold Shift to move ten pixels.

Does editor zoom change the exported crop?

No. Zoom magnifies the editing surface for easier selection. The crop coordinates and exported pixels remain based on the decoded image dimensions.

Is the image uploaded while I crop it?

No. Preview, transformation, cropping, and output encoding happen in the browser.