About this tool
Crop images online by dragging, zooming and rotating, using the original ratio, presets such as 1:1, 4:3 and 16:9, or a custom ratio. Export PNG, JPG or WebP, processed locally.
Typical uses
- Crop a photo to a 1:1 avatar
- Cut out part of a screenshot
- Turn a landscape photo into a 16:9 cover
How to use
Upload a PNG, JPG or WebP and choose an original, preset or custom ratio.
Drag, zoom or rotate the image, then export, inspect and download the crop.
For an avatar, choose 1:1, drag to center the person and adjust zoom. Select Export crop, inspect the preview, then download it.
Up to 30 MB and 20 MP per image. Export selected pixels as PNG, JPG or WebP; JPG fills transparent areas with white.
One PNG, JPG or WebP up to 30 MB and 20 MP. This crops a single image and does not remove its background. JPG fills transparent areas with white.
How many original pixels the crop box covers
Under the preview the tool shows “source size → selection size”, and the selection size is exactly the pixel size of the exported file: export copies the selected pixels from the original into a new canvas one to one, with no upscaling or downscaling. At 1× the crop box is the largest rectangle of the chosen ratio that fits inside the image; the “Zoom” slider runs from 1× to 5×, and at z× the box's width and height are divided by z. For a 4032 × 3024 phone photo (12.2 MP), centred selections come out like this:
| Aspect ratio | 1× | 2× | 5× |
|---|---|---|---|
| Original ratio | 4032 × 3024 (12.2 MP) | 2016 × 1512 (3 MP) | 807 × 605 (0.5 MP) |
| 1:1 | 3024 × 3024 (9.1 MP) | 1512 × 1512 (2.3 MP) | 605 × 605 (0.4 MP) |
| 4:3 | 4032 × 3024 (12.2 MP) | 2016 × 1512 (3 MP) | 807 × 605 (0.5 MP) |
| 16:9 | 4032 × 2268 (9.1 MP) | 2016 × 1134 (2.3 MP) | 806 × 453 (0.4 MP) |
| 3:4 | 2268 × 3024 (6.9 MP) | 1134 × 1512 (1.7 MP) | 454 × 605 (0.3 MP) |
| 9:16 | 1701 × 3024 (5.1 MP) | 851 × 1512 (1.3 MP) | 340 × 605 (0.2 MP) |
- So 5× is the smallest area you can take in one pass: 605 × 605 for 1:1 on this photo. For a tighter crop, export once and open the result again.
- Small selections are never enlarged. A 1080 × 1080 avatar needs a selection at least 1080 px wide; otherwise resize the export with the batch resizer or accept the smaller size.
- The crop box always stays inside the image: dragging stops at the edge, so exports never get blank or transparent borders.
- Each arrow key press moves the image by 1 screen pixel, or 0.2 with Shift held; how many original pixels that is depends on how far the preview is scaled down.
- The library measures on the scaled-down preview and converts back to original pixels, so a result can be 1 px off the table above. The numbers under the preview are the ones that count.
Ratios, rotation and what gets reset
“Rotation” offers only 0°, 90°, 180° and 270°; there is no free angle. At 90° or 270° width and height swap, and “Original ratio” turns into the portrait ratio too:
| Aspect ratio | 0° | 90° |
|---|---|---|
| Original ratio | 4032 × 3024 | 3024 × 4032 |
| 16:9 | 4032 × 2268 | 3024 × 1701 |
| 9:16 | 1701 × 3024 | 2268 × 4032 |
“Custom ratio” takes two numbers, “Ratio width” and “Ratio height”. Decimals are fine and only their quotient matters, which must lie between 1:20 and 20:1. Otherwise the tool shows “Use a positive ratio between 1:20 and 20:1.”, export is disabled and the preview falls back to a square box. Actual results:
| Ratio width | Ratio height | Result |
|---|---|---|
| 4 | 3 | Accepted |
| 1920 | 1080 | Accepted |
| 2.35 | 1 | Accepted |
| 20 | 1 | Accepted |
| 21 | 1 | Invalid ratio message |
| 1 | 25 | Invalid ratio message |
| 0 | 1 | Invalid ratio message |
| — | 3 | Invalid ratio message |
- Changing “Aspect ratio” or “Rotation” puts zoom back to 1× and the image back in the centre; editing the custom numbers recalculates the selection as well.
- “Reset crop” returns to “Original ratio”, 0° and 1×.
- Any change clears a result you already generated, so export again afterwards.
Export formats, file names and messages
- PNG is lossless and the “Quality” slider is disabled for it; JPG and WebP go from 10% to 100%, default 90%.
- JPG has no alpha channel, so a transparent PNG cropped to JPG is drawn over white.
- toBlob silently falls back to PNG for a type the browser cannot encode. The tool checks the type it gets back and shows an error instead of handing you a file with the wrong extension.
- The result is a fresh encode from a canvas. Only pixels are copied, so EXIF and other metadata from the source are not carried into the new file.
- File names drop the last extension and add -cropped plus the extension of the chosen format:
| Source name | Format | Downloaded as |
|---|---|---|
| IMG_2041.jpg | PNG | IMG_2041-cropped.png |
| IMG_2041.jpg | JPG | IMG_2041-cropped.jpg |
| banner.final.webp | WebP | banner.final-cropped.webp |
| scan | PNG | scan-cropped.png |
| Message | Cause and fix |
|---|---|
| Choose a PNG, JPG or WebP up to 30 MB. | The file is not PNG, JPG or WebP (HEIC, GIF and BMP are refused) or it is larger than 30 MB. Convert HEIC photos first. |
| Images are limited to 20 megapixels. Resize the image first. | Width × height is over 20000000 pixels, e.g. 6000 × 4000 (24 million). Resize first. |
| The image could not be read. Try another file. | The browser could not decode the file: usually a damaged file or an extension that does not match the content. |
| Use a positive ratio between 1:20 and 20:1. | A custom ratio that is empty, zero, negative or outside 1:20–20:1. |
| This browser cannot export the selected format. Use PNG or JPG. | The browser cannot encode the chosen format (most often WebP). Use PNG or JPG. |
| Crop export failed. Adjust the selection or resize the image and try again. | Creating or encoding the canvas failed, usually for lack of memory. Use a smaller selection or image. |
| Could not transfer the image (up to 25 MB). Download it and open it in image compression. | Results over 25 MB cannot be passed to the compressor directly. Download and open them there yourself. |
Sources
Frequently asked questions
Can I use a custom ratio?
Yes. Besides common presets, you can enter any width-to-height ratio or crop freely.
Can I compress the crop afterwards?
Yes. After cropping you can continue to the image compressor to reach a target size.
Are there size limits?
Up to 30 MB and 20 megapixels per image. JPG export fills transparent areas with white.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.