Crop Image

Pick an image, mark a rectangle by dragging or by typing left, top, width and height in pixels, and download just that part. The cropping happens on your own device — the picture is never uploaded.

Drop files here or choose files
Image stays on your device · processed in your browser · one file up to 50 MB

A crop box that sticks out past the edge is pulled back inside the picture — no white border is added.

How to use

  1. Choose one image: Drop an image onto the box or click to pick it — JPG, PNG and WebP are the everyday cases, one file at a time, up to 50 MB. The page reads its size and shows it next to the file name, for example Original size: 1200 × 800 px.
  2. Mark the area to keep: Drag on the picture to draw a box, drag the box to move it, or drag one of the eight handles to resize it. The four fields — Left, Top, Width, Height — follow the box, and typing in them moves the box, so use whichever is easier.
  3. Crop and save: Click Crop Image. The line above the result shows the original size and the size that was actually cut, and the file is saved as your original name with -cropped added, in the same format you started with.

How to crop image files to exact pixels

Crop Image keeps a rectangular area from one image up to 50 MB, entirely in your browser. On an image large enough to contain it, a 400 × 300 px box produces a 400 × 300 px result. Choose a file and the page reads its pixel size, shows it beside the file name and sets the crop box to the whole picture, so you can start adjusting even if you have no idea how many pixels your own photo is. The format you started with is kept — a JPG in gives a JPG out, a PNG gives a PNG.

Nothing is uploaded. The cropping engine is libvips compiled to WebAssembly (wasm-vips 0.0.18), which is downloaded together with the page and run by your own browser; the file is read straight from your disk into memory and the result is handed back as a local link. There is no server call, which is why the page suits ID photos, screenshots of documents and family pictures. This page also carries no ads and no analytics.

The result only exists for this visit. Close or reload the tab and the local link is gone, because the tool keeps no history and the original on your device is left untouched.

A crop is a cut, not a resize. Cropping does not scale or resample the selected area. PNG output is lossless; JPG, WebP and AVIF are re-encoded with lossy settings, so pixel values and fine detail can change. The line above the result states the original size and the size actually cut — read back out of the finished file rather than copied from the fields — so you can confirm what you got instead of trusting what you typed.

Cropping to an exact pixel size

The four fields describe the rectangle in the picture's own pixels, counted from its top-left corner: Left is how far in from the left edge the box starts, Top how far down from the top edge, then Width and Height. So 0, 0, 600, 600 takes a 600 × 600 square out of the top-left corner, while 100, 50, 400, 300 starts 100 px in and 50 px down and cuts 400 × 300.

Dragging and typing are two views of the same box and stay in sync both ways. Drag empty space to draw a new box, drag inside it to move it, or drag any of the eight handles to resize; every movement writes real image pixels back into the fields. The resize handles use an 8 px minimum; drawing a new box can create a smaller selection. The fields are kept inside the picture as you type, so the overlay always shows a box that exists.

Decimal coordinates are rounded rather than cut off — 99.5 becomes 100 — and a box that sticks out past an edge is pulled back inside the picture instead of producing an error or a white border, which is what the hint under the fields means. On an 800 × 600 picture, asking for 700, 500, 9999, 9999 gives you 100 × 100, the piece that actually exists in the bottom-right corner; a start point past the bottom-right corner, such as 5000, 5000, 100, 100, comes back as a single pixel rather than a failure. Whenever the box had to be pulled in like that, the result line says so, which is the signal to look at the numbers again.

There are no aspect-ratio buttons on this page, so a shape is something you type. For a square avatar, give Width and Height the same number (800 and 800). For a 16:9 banner, use a pair in that ratio, such as 1920 × 1080 or 1280 × 720; for a 4:5 portrait post, 1080 × 1350. Pick the numbers your destination asks for, then drag the box around the picture to decide which part of the frame ends up inside it — the size stays as typed while you move it.

Why a cropped file can come out larger than the original

photo.jpg 1200 × 800, 541,541 B
  → crop 100,50,400 × 300  = 96,692 B   (−82%)
  → crop 200,0,800 × 800    = 527,419 B  (−2.6%)
  → crop the whole picture  = 717,194 B  (+32%)
photo.png 800 × 600, 214,657 B
  → crop 100,50,400 × 300   = 252,947 B  (+18%)
  → crop the whole picture  = 617,284 B  (+188%)

Cutting away area does not reliably cut away bytes, because the kept rectangle is written out as a new file. A JPG result is re-encoded at quality 92 and a PNG result is rewritten losslessly at the highest compression setting, and those settings are usually more generous than whatever the original file was saved with. When you remove most of the frame the smaller area wins anyway, but when you only trim an edge the fresh encoding can outweigh the saving.

The measurements above come from the project's own test files on wasm-vips 0.0.18, and they show both directions: taking one eighth of a 541 KB photo left 97 KB, while "cropping" the same photo to its full frame produced a 717 KB file — 32% bigger than the input. The PNG behaved the same way for a different reason: photographic PNGs are large by nature, and re-encoding a true-colour 800 × 600 sample gave 617 KB where the original was 215 KB. Treat these as examples of the mechanism rather than as a rate to expect from your own file, since it depends entirely on how the original was saved.

If the point of cropping was to get under an upload limit, do the crop first and then shrink the result on purpose, where you can set the quality yourself and see the before-and-after size.

Next step for a file that is still too heavy: Compress Image.

What the crop keeps, and what it removes for good

Everything inside the box is kept: the framing, the colour profile and the file format. Cropping does not scale or resample the selected area. PNG output is lossless; JPG, WebP and AVIF are re-encoded with lossy settings, so pixel values and fine detail can change. A face, a line of small print or a barcode inside the rectangle keeps its pixel size, which is what makes it readable in the result.

The information written around the picture is kept too, and that is the part people get wrong: cropping is not a way to strip a photo's history. EXIF, XMP and the ICC colour profile all survive the crop, including the GPS coordinates, the capture time and the camera model. In our test, a sample photo cut down to 32 × 32 px still reported coordinates 3.1083 / 101.6367, a capture time of 2026-05-01 10:20:30 and the device Apple iPhone 15 Pro. If a picture is going onto a public profile, a marketplace listing or a rental ad, crop it here and then run it through the Compress Image tool, where Photo info (EXIF) offers Remove location or Remove all.

What does disappear is everything outside the box, and it disappears for good: the downloaded file simply does not contain those pixels, so nothing can recover them from it. Your original is untouched on your own device, which is the only copy to go back to. Two other things are not carried over. The original JPEG encoding quality is replaced by the new one described above, and animation is lost — a GIF or an animated WebP comes through this tool as a single still image.

Limits worth knowing before you start

One image per run. Once a file is loaded the drop zone disappears and only the file name is left, so switching pictures starts with removing the current one — the ✕ (Remove) button beside that name, or Start over once a result is on screen. Dropping several files at once adds none of them and the page says how many were turned away. A folder of photos has to go through one at a time. Each file can be up to 50 MB, and an image has to be under roughly 100 megapixels — about 10000 × 10000 — or it is refused while being decoded, with a message saying the image has too many pixels to process safely in the browser.

The tool only cuts rectangles, and only in the format you brought. There is no output-format selector, so a JPG stays a JPG; a source whose format cannot be identified from its header, such as a GIF, TIFF or BMP, is written out as a PNG. It cannot rotate, straighten, resize or sharpen a picture, cannot cut a circle or any other shape, cannot add canvas around a photo — a box past the edge is pulled in rather than padded with white — and it is an image tool, so PDF pages belong in the PDF category instead.

The crop runs on the page's main thread, so with a very large image the interface can pause for a moment; while it works, the button reads Cropping… and is disabled. Saving behaves differently per device: on a computer the result downloads, while on a phone it is offered to the system share sheet when the browser supports sharing files, and falls back to a normal download when it does not.

One display quirk is deliberate. A photo from a phone camera can carry an EXIF orientation tag, and browsers normally turn such a picture upright before showing it. The crop area switches that off and shows the stored pixels, so that the area you frame is the area that gets cut; the price is that an affected photo can appear lying on its side while you are framing it. The saved result keeps the tag, so viewers show it upright again. And if the size of a file cannot be read at all, the drag overlay is skipped and a note invites you to type the crop box by hand, which still works.

Frequently asked questions

Does cropping remove the GPS location from a photo?
No. The crop keeps EXIF, XMP and the ICC colour profile, so the coordinates, the capture time and the camera model stay in the result — a test photo cut to 32 × 32 px still reported its GPS position and an iPhone 15 Pro as the device. To remove them, crop first and then use the Compress Image tool, which offers Remove location and Remove all under Photo info (EXIF).
Why is my cropped JPG bigger than the original file?
Because the kept rectangle is written out as a new file: JPG results are re-encoded at quality 92 and PNG results are rewritten at the highest lossless compression, often more generously than the original was saved. Trimming a small edge can therefore cost more in encoding than it saves in area — one 541 KB test photo came back as 717 KB when the box covered the whole picture.
How do I crop a JPG into a square?
Enter equal Width and Height values that fit inside your image, then move the box to frame the subject. On a 1200 × 800 photo the largest square is 800 × 800, because the short side sets the limit. There are no ratio buttons and no ratio lock here, so the shape is whatever you type — and the typed size stays fixed while you drag the box around.
What happens if I type a width bigger than the picture?
The box is pulled back inside the picture and you get the part that really exists, with no error and no white border. On an 800 × 600 image, 700, 500, 9999, 9999 produces a 100 × 100 result, and a start point beyond the bottom-right corner returns a single pixel. The result line tells you when the box had to be pulled in.
Is the picture uploaded anywhere?
No. The cropping engine is libvips compiled to WebAssembly and runs inside your browser, reading the file from your disk and handing the result back as a local link — there is no server call. The isolation that engine requires also blocks third-party scripts, so the page has no ads or analytics. Close the tab and nothing is left.
Can I crop several images at once?
No, one image per run. Dropping several files together loads none of them — the page tells you how many were turned away — and while an image is loaded there is no drop zone at all, so the next one starts by removing the current file with the ✕ (Remove) button next to its name, or Start over after a crop. A batch of photos therefore has to be done one by one; for a whole folder in one pass you need a desktop or command-line tool.
Why does my phone photo look sideways in the crop area?
Because the crop area shows the pixels as they are stored, with the browser's automatic rotation switched off. That is what guarantees the area you frame is the area that gets cut. The orientation tag is kept in the result, so the saved file opens upright in a normal viewer.
Will the file format or an animation change?
The format is kept — JPG in, JPG out; PNG in, PNG out — and there is no option to change it. A file whose format cannot be identified from its header, such as a GIF, TIFF or BMP, comes out as a PNG. Animation is not preserved: an animated GIF or WebP becomes a single still image.