Runs in your browser

Crop an image

Cropping is a promise about shape, not a rectangle you drag with a mouse. This page keeps the largest area that matches the ratio you pick, and lets you decide where that window sits: centre, top, bottom, left or right.

Nothing is uploaded. Processing happens on your device with no server round-trip.

Privacy: Canvas processing runs in this browser. Your selected files are not uploaded for this operation.

Settings

Only the options this page needs are exposed. Everything else is fixed to match the page intent.

Output contract

Accepted input
JPEG, PNG, WEBP, GIF, BMP, AVIF
Output format
Same as input
Processing engine
Canvas + browser encoders
Batch limit
10 × 10.00 MB
Upload
None — files stay on this device

If the target cannot be reached the result shows the real output size instead of a false success.

No results yet

Recent Tasks

No history recorded yet

How to use this page

    What is different here

    • Largest fit means no upscaling and no padding: the output is always the biggest rectangle of that ratio the source can provide.
    • The anchor decides what survives. Centre suits products and screenshots, top keeps heads in a portrait, bottom keeps feet or a caption bar.

    Limits worth knowing

    • The window is ratio-based and axis-aligned. A freeform rectangle needs a drag box to be usable, and a numeric x/y/width form would be worse than no tool at all.
    • A square crop of a 4:3 photo discards a quarter of the width. That is arithmetic, not a defect — keep the original until you are sure.

    Frequently asked questions

    What does "largest fit" actually mean?▾
    The biggest rectangle of the chosen ratio that fits inside the image. Nothing is stretched, nothing is padded, and the picture is never enlarged.
    Why is the subject cut off at the top?▾
    The anchor starts at centre, which splits the loss evenly. Switch it to top and the same rectangle moves up instead of shrinking.
    Can I crop to an exact pixel size?▾
    Not on this page. Crop decides the shape; if a form also demands exact dimensions, crop here and then use Resize Image, which states whether the ratio is preserved.
    Does cropping lose quality?▾
    Whole-pixel crops are copied, not resampled. The file is still re-encoded once, so a JPEG gains a generation of compression.