Free Tool Desk

Image Cropper

Keep one rectangle of a JPG, PNG or WebP. Drag a selection or type exact X, Y, width and height in pixels.

Free to use No sign-up required Files deleted after processing

Drag a box on the preview, or type the position and size in pixels, and keep only that rectangle. Everything outside it is discarded. Measurements are in pixels from the top-left corner of the picture as it looks upright, which matters for phone photos. There are no aspect-ratio presets and no rotation of the crop box.

Accepts JPG/PNG/WEBP · up to 20 MB each

Drag on the preview to select the area to keep.

Crop preview
Choose a file before converting.

Processing your file…

This usually only takes a moment.

Your file is ready

Download Result

Your file is processed on our server and deleted automatically afterward — see the privacy note below.

Overview

About Image Cropper

How the crop box is measured

X and Y are the distance in pixels from the left edge and the top edge to the corner of the box. Width and height are its size. The box must lie completely inside the picture. If it does not, the request is refused with "The crop area falls outside the bounds of the image" instead of being trimmed to fit, and a width or height of 0 is refused too. Dragging on the preview and typing numbers change the same four values, so you can drag roughly and then fine-tune the numbers.

Phone photos and the rotation flag

Many phone photos are stored sideways with a flag that tells viewers how to turn them. This tool applies that flag to the pixels before cropping, so X and Y refer to the picture as you see it. In our test, a photo stored at 600 × 400 with a "turn clockwise" flag was treated as 400 × 600, and a 100 × 100 crop at X 0, Y 0 took its upright top-left corner. The result has no rotation flag any more and no other camera data.

Does cropping lose quality?

The kept pixels are not copied bit for bit in every format, so it depends on the format:

FormatWhat we measured
PNGThe kept pixels and the transparency were identical to the source.
JPGSaved again at quality 85. On a 400 × 300 crop from a generated 1200 × 800 JPG, pixel values differed from the source by 1.2 out of 255 on average and by at most 10.
WebPSaved again at quality 85 like JPG. We did not measure it separately.

Generated locally; not a benchmark; not a guaranteed result. A single crop is not visible to the eye, but each further save of a JPG or WebP adds a little. If you need several edits, do the crop last, or work from the original each time.

Crop, resize or both

Crop removes parts of the frame and keeps the pixels that remain at their original size, so a cropped file is smaller because it has fewer pixels, not because anything was compressed. To change the scale of the whole picture, use the Image Resizer. A common order is to crop first to the framing you want, then resize the cropped result to the size the destination needs. To straighten a sideways picture first, see Image Rotator.

Compatibility

Supported Formats

Accepts JPG, PNG and WebP, identified by their contents. The result is in the same format. Limits: 20 MB, 12,000 px per side and 40 megapixels for the source image. GIF, BMP and animated WebP are not accepted. Only one rectangle can be kept per run.

Guide

How to Use Image Cropper

  1. Choose a JPG, PNG or WebP file (up to 20 MB).
  2. Drag on the preview to draw the area to keep. Adjust X, Y, width and height if you need exact pixels.
  3. Click "Crop Image" and download the result, named after your file with "-cropped" added.

Highlights

Features

  • Drag or type The preview box and the four number fields stay in sync, so you can draw roughly and then set exact pixels.
  • Measured on the upright picture A stored rotation flag is applied first, so coordinates match what you see in a photo viewer.
  • Out-of-bounds is refused A box that sticks out of the picture is rejected with an error rather than silently adjusted.
  • PNG pixels unchanged In our test a cropped PNG kept its visible pixels and its transparency exactly.

Applications

Use Cases

  • Cutting a border, margin or unwanted edge off a scan or screenshot
  • Taking a square or tight crop of a face from a wider photo
  • Cropping a photo to the exact pixel area a form or template specifies
  • Trimming a screenshot before sharing it

Good to Know

Limitations

Only rectangles, measured in whole pixels. There are no aspect-ratio presets such as 16:9 or 1:1, no circular or freeform crop, and no rotating of the box. JPG and WebP are saved again at quality 85, and camera data (EXIF, GPS) is not carried into the result. A crop box that extends past the picture is refused rather than adjusted.

Files are processed on our servers and are not shared with third parties. Files are deleted as soon as processing or download finishes. Any leftover temporary file is removed automatically by our cleanup process within the configured retention period (60 minutes). See our Privacy Policy for full details.

Support

Frequently Asked Questions

Is the crop measured from the top-left corner?

Yes. X is the distance from the left edge and Y the distance from the top edge to the top-left corner of the box, in pixels, on the picture as it looks when upright.

Does cropping reduce quality?

For PNG, no: the kept pixels and transparency stayed identical in our test. A JPG or WebP is saved again at quality 85, which changed pixel values by about 1 out of 255 on average in our JPG test. It is not something you would see in one crop.

Can I crop to a fixed ratio like 1:1 or 16:9?

There are no ratio presets. Work out the pixel size you need, for example 800 × 800 for a square, and type that into the width and height fields.

Why did my crop get rejected?

The box has to sit entirely inside the picture, and width and height must be at least 1. A box that runs past the right or bottom edge is refused rather than trimmed.

My phone photo cropped from a different place than I expected.

Coordinates refer to the upright picture. If you read the numbers from software that ignores the rotation flag, they will not match. Use the preview here, or read the dimensions with the Image Dimensions Checker, which reported the upright size for a rotated phone photo in our Chrome test.

Keep Going

Related Tools