# Crop an image

> Drag to draw a rectangle on the image, then save just that region as a PNG.

Open the tool: https://yourbrowsercandoit.com/crop-image

Crop to a region or aspect ratio. Free, no signup. Runs entirely in your browser; files are never uploaded.

## How it works

The image is rendered to a canvas in the browser at its native resolution. Drag from one corner to the opposite to mark the crop region; the selection is shown with a dashed overlay. When you hit Crop, just the selected rectangle is written to a fresh PNG (lossless, transparency preserved if the source had it). The minimum crop size is 4x4 pixels (anything smaller is treated as a misclick). For aspect-ratio-locked crops (e.g. exactly 16:9), you'd need to size by hand currently. Output filename has -cropped.png appended. Useful for grabbing a face from a group photo, isolating a chart from a screenshot, or trimming whitespace.

## How to use it

1. **Drop your image.** It renders on a canvas at native resolution.
2. **Drag to select.** Draw a rectangle from one corner to the other with mouse or finger.
3. **Crop.** Hit Crop and only the selected region is written to a fresh PNG, transparency preserved.
4. **Download.** The -cropped.png downloads instantly, all done locally.

## Frequently asked questions

### How do I crop an image online?

Drop the image, drag a rectangle on it with your mouse or finger, hit Crop. The cropped region downloads as a PNG.

### Can I lock to a specific aspect ratio?

Not in this version. The selection rectangle is free-form. You can resize the result afterwards with the Resize tool if you need an exact ratio.

### Is the output lossless?

Yes. The crop is written as PNG, no re-encoding artefacts.

### Is my image uploaded?

No. The crop runs in a canvas in your browser.

## Related tools

- [Convert image](https://yourbrowsercandoit.com/convert-image): JPG, PNG, WebP, AVIF, any way.
- [PNG to JPG](https://yourbrowsercandoit.com/png-to-jpg): Convert PNG images to smaller JPG files.
- [JPG to PNG](https://yourbrowsercandoit.com/jpg-to-png): Convert JPG photos to lossless PNG.
- [WebP to JPG](https://yourbrowsercandoit.com/webp-to-jpg): Convert WebP images to universal JPG.
- [WebP to PNG](https://yourbrowsercandoit.com/webp-to-png): Convert WebP images to lossless PNG.
- [PNG to WebP](https://yourbrowsercandoit.com/png-to-webp): Shrink PNG images into modern WebP.
