How to crop an image
- Drop a photo into the box above, click it to choose one, or paste from the clipboard. JPG, PNG, WebP, HEIC and AVIF can be opened.
- Pick an aspect ratio under Aspect ratio, or leave it on Free. Drag the box to move it and its round handles to resize it; on a phone, touch outside the photo to scroll the page. For an exact size, type a width and height in pixels.
- Rotate in 90° steps, flip the picture, or use the Straighten slider to level a tilted horizon. The preview follows every change.
- Check the result size under the picture and press Download. On a phone, Share sends the file straight to another app.
What straightening costs at the edges
When you tilt a picture to level a horizon, the corners of the frame would show empty space. To avoid that, the picture is enlarged just enough to fill the frame again, and whatever sticks out is cut away. The table shows how much, for a 3:2 photo (typical of cameras) and for a square.
| Tilt corrected | 3:2 photo | Square |
|---|---|---|
| 1° | enlarged by 2.6% | enlarged by 1.7% |
| 2° | enlarged by 5.2% | enlarged by 3.4% |
| 3° | enlarged by 7.7% | enlarged by 5.1% |
| 5° | enlarged by 12.7% | enlarged by 8.3% |
| 10° | enlarged by 24.5% | enlarged by 15.8% |
Calculated from the size of the frame; the same enlargement applies to the pixel size of the result.
Because the picture is enlarged, a straightened photo is resampled and the crop box then works on the straightened picture. If you only need to rotate by 90° or flip, none of this applies: those moves are exact and no pixel is changed.
Crop first, resize second
Cropping decides which part of the picture is kept. Resizing decides how many pixels it has. This page does the first and leaves the pixel count alone, so a 1:1 crop of a 4000 × 3000 photo comes out as 3000 × 3000.
When a form asks for a fixed size, do the crop here to get the right shape, then bring it to the required size with Resize image. If it also asks for a maximum file size, finish with the image compressor.
Good to know
- Straightening zooms in a little so that no empty corners appear. Correcting a 5° tilt enlarges the picture by roughly 8 to 13 percent, depending on its shape, and the outer edge is lost by the same amount.
- The crop size is counted in pixels of the photo itself. This tool only crops, it does not scale. If a form asks for an exact pixel size, crop first and then use Resize image.
- Photos above about 16 megapixels are scaled down to that size before editing, and the page tells you when that happened.
- JPG and WebP are saved again at high quality (92%). If you plan to edit the photo further, keep the original.
- The saved file has no EXIF data: the place the photo was taken, the camera and the date are gone. An EXIF block can also hold a small preview of the uncropped photo, which is dropped too, so cropping here really removes what you cut away.
How it works
Aspect ratios
1:1 suits profile pictures and thumbnails, 4:3 is the shape phone cameras commonly shoot in, 3:4 is the same turned upright, 16:9 is the widescreen shape of video and slides, and 9:16 is the upright shape of phone video and stories. “Photo 35×45” is the proportion (7:9) of the 35 × 45 mm photo used for many passports. If a document needs the official head size and background too, use the passport photo tool instead.
JPG
JPG (JPEG) is the most widely supported photo format. It uses lossy compression, so files stay small, but it has no transparency and quality drops a little every time it is re-saved.
PNG
PNG uses lossless compression and supports transparency. It is ideal for screenshots, logos and graphics with sharp edges, but photos saved as PNG are much larger than JPG.
Frequently asked questions
How do I crop a photo to a square (1:1)?
Choose 1:1 under Aspect ratio. The box becomes a square and stays square when you resize it. Drag it onto the part you want to keep and download. 4:3, 16:9 and 9:16 work the same way.
Can I crop to an exact size such as 800 × 600 pixels?
Yes. Type the numbers into Width and Height and the box becomes that many pixels of your photo. A value larger than the photo is not possible, because the tool does not enlarge. To bring the result to another size afterwards, use Resize image.
Does cropping or rotating lower the quality?
PNG is saved without any loss. JPG and WebP are compressed once more at high quality (92%), so tiny differences can appear. Turning by 90° and flipping move pixels without changing them; straightening by a few degrees recalculates them and can soften edges very slightly.
Does the saved photo still contain my GPS location?
No. The result is a fresh copy of the pixels, so the EXIF block of the original (where it was taken, camera model, date and sometimes an embedded thumbnail) is not carried over.
Which format is the result saved in?
The same as the original: JPG stays JPG, PNG stays PNG and WebP stays WebP. iPhone HEIC and AVIF photos are saved as JPG, because browsers cannot write those formats.
Is my photo uploaded to a server?
No. The photo is opened and edited inside your browser tab, and the result is saved straight from there. You can even switch to airplane mode after the page has loaded and it keeps working.
Guides that explain this
- Photo file rules for online applications: pixels, KB and ageWhat US passport renewal, the Diversity Visa, the UK passport and exam portals ask of an uploaded photo, with file formats, KB limits and how recent it must be.
Related tools
Found a bug, or wish this tool did something more? Tell Leo, who runs Hanji. Send feedback