Crop Image Online (Free)
The cropper gives you a frame to drag over the image and six ratio presets: free, 1:1, 4:5, 16:9, 9:16, 3:2 and 2:3. There is no custom ratio field, no 4:3 and no numeric width box, which is a deliberate simplification - every preset is a shape people actually need. Two behaviours are easy to miss: changing the preset does not resize the frame you already have, and the readout above the canvas is in source pixels while the export is rounded down. Both are covered below with the exact numbers.
Try the free tool now
100% in your browser — no upload, no account, no watermark.
Open Crop Image OnlineWhat each preset keeps of a 4000x3000 photo
The presets are hard-coded (CropImageTool.tsx, lines 19-27). For each one the crop logic takes the largest frame that fits: width is tried first, height is derived from the ratio, and if the height overflows, height becomes the limit and width is recalculated (lines 120-129). Starting from a 12-megapixel 4000x3000 photo, the largest frame each preset allows is:
| Preset | Largest frame in 4000x3000 | Pixels kept | Share of the photo |
|---|---|---|---|
| Free | anything down to the minimum frame | your choice | your choice |
| 1:1 | 3000x3000 | 9.0 MP | 75% |
| 4:5 | 2400x3000 | 7.2 MP | 60% |
| 16:9 | 4000x2250 | 9.0 MP | 75% |
| 9:16 | 1688x3000 | 5.1 MP | 42% |
| 3:2 | 4000x2667 | 10.7 MP | 89% |
| 2:3 | 2000x3000 | 6.0 MP | 50% |
These are theoretical maximums; the frame starts at 90% of the displayed image, centred, so you have to drag a corner to reach them. The table is arithmetic on the ratio, not a measurement of a file: the pixel counts are exact, the bytes are not, because a PNG's size depends on what is inside the frame.
Choosing a preset does not resize the frame
Clicking a ratio button only stores the ratio id (lines 292-295). The rectangle on screen keeps its current width and height until you next drag it; at that moment the constraint is applied and the height is recomputed from the width. The practical effect: you can select 1:1 and still see a wide frame, and if you press the crop button in that state the export keeps the old shape. Nudge the frame after changing the preset.
This is not a flaw in the ratio maths - the clamp runs on every pointer move and every resize (lines 115-139) - the setting is simply not wired to the preset click. Once you drag, the frame is locked to the chosen ratio for the rest of the session, including when you drag it around without resizing.
The readout is in source pixels; the export is floored
Above the canvas, two numbers show where the frame starts and how big it is, both converted back to the original image's coordinates (lines 310-311). That matters because the canvas is a preview: it is scaled to fit a 400 px high box and is never enlarged more than twice (line 62), so the on-screen frame is a fraction of the real one.
On export, the four edges are multiplied by the display-to-source ratio and rounded down with Math.floor (lines 218-223). A frame reported as 1000 px wide can therefore export as 999 px. The difference is one pixel and invisible, but it explains why a strict validator that expects exactly 1000 px may complain.
The minimum frame is 24 display pixels (MIN_SIZE, line 36). On a 4000 px wide photo displayed at roughly 0.2 scale, the smallest possible crop is therefore around 120 source pixels - small, but not a single pixel. For a 200 px icon displayed at twice its size, the minimum is 12 source pixels.
Output: PNG by default, quality ignored for PNG
The format selector offers PNG, JPG and WebP, and PNG is the default (lines 51 and 365-367). The quality slider runs from 40 to 100 and starts at 92, and it is disabled while PNG is selected (lines 374-382). Behind the scenes PNG is encoded with no quality argument at all - line 233 passes undefined - so the slider value is simply not used for that format.
PNG is the right choice when the source has transparency or when the crop contains flat colour and text. JPG is the right choice for photographs: at 92 the result is usually a fraction of the PNG. WebP sits in between and keeps alpha, which makes it the only lossy option here that does not destroy transparency.
Export a transparent PNG as JPG and the alpha channel is discarded: transparent pixels come out black in Chrome, because the JPEG encoder has no way to store them. If you see black corners after exporting, that is the format, not the crop.
Crop first, then resize - with real bytes
The export canvas is exactly the size of the selected region (lines 225-229): drawImage copies the source rectangle into a canvas of the same dimensions. Nothing is resampled, so a 3000x3000 crop of a 4000x3000 photo is a true 3000x3000 copy, not an upscale and not a blur.
That is also why the file can still be large: a 1:1 crop of our 12-megapixel reference photo keeps 9 megapixels, and PNG stores them losslessly. The byte reduction comes from the next step, not from the crop. Downscaling that square to 1080x1080 with the Resize tool, which encodes JPEG at a fixed quality of 0.92, produced 347,048 bytes - about a quarter of the 1,360,339-byte original, at 1080 px instead of 3000.
Order matters: crop at full resolution, then downscale once, then compress only if a limit still applies. Resizing before cropping throws away pixels you might have needed for the composition, and compressing before cropping makes the encoder work on pixels you are about to discard.
About this guide
- Written by
- The ImageTools Pro team
- Last reviewed
- October 2026
- How we test
- Steps run in a real browser on real PNG, JPEG and WebP files
We revise this page whenever browser APIs, format support or recommended settings change. Corrections are welcome — tell us from the contact page.
Tools we recommend
Frequently Asked Questions
Can I crop to 4:3?
Not with a preset. The list is exactly free, 1:1, 4:5, 16:9, 9:16, 3:2 and 2:3. Choose Free and drag the frame until the readout shows the proportion you want - the two numbers in the readout let you check it.
Can I type an exact pixel size for the crop?
No. There is no width or height field; the readout is informational. Crop to the right shape at full resolution, then use the Resize tool to reach the exact output size, which also gives you control over the final quality.
Does cropping reduce image quality?
No resampling happens: the selected pixels are copied into a canvas of their own size. Quality is decided by the export format - PNG is lossless, JPG and WebP use the quality slider, which starts at 92.
Is there an upload size limit?
This tool does not use the site's 20 MB uploader. It accepts any file whose MIME type starts with image/ and performs no size check of its own, so the practical ceiling is your browser's memory for decoding the file. Very large images can be slow to preview but are not rejected up front.
Why did my 1:1 crop come out rectangular?
Because the preset had not been applied yet: clicking a ratio does not resize the current frame, it only constrains the next drag. Nudge a corner after selecting the preset and the frame becomes square.