---
title: "Crop image: free, no upload | Docsi"
description: "Crop image files to an exact rectangle, to a shape like 1:1, 4:5 or 16:9, or trim plain borders and white space away automatically. Works in a batch."
url: https://docsi.si/tools/crop-image/
updated: 2026-11-19
---

[Docsi](https://docsi.si/) / [Tools](https://docsi.si/tools/) / [Images](https://docsi.si/tools/#images)

# Crop image

Crop to a rectangle, to a shape such as 1:1 or 16:9, or trim a plain border away automatically.

Images

Up to 2 GB a file, 2000 files at a time.

**Runs on**: Your device

**Files uploaded**: None

**Price**: Free

**Account**: Not needed

**Works offline**: Yes

**Updated**: 19 November 2026

This tool crops in three ways. Give a shape such as 1:1, 4:5 or 16:9 and it keeps the largest rectangle of that shape, from the middle or from the side you pick. Turn on Trim and it cuts away a plain border on its own, taking the border color from the top-left corner. Or give X, Y, width and height in pixels for an exact cut. Trim wins over a shape, and a shape wins over a rectangle. The result keeps the original format, with “cropped” added to the name.

## How to crop an image

1. **Add your files above** Drop it on the box or choose it from your device. It is opened locally and is not uploaded.
2. **Set the options** Adjust aspect, auto orient, gravity and more, or keep the defaults.
3. **Download the result** It appears on this page when the work is done. Nothing to install, no account, no watermark.

## When to use crop image

**Square profile and product photos**: Type 1:1 into Aspect and every image in a batch becomes the biggest square that fits, centered unless you set Gravity. Portrait and landscape photos both come out square, without measuring either one.

**Social posts with a fixed shape**: 4:5 for tall portrait posts and 16:9 for wide video thumbnails crop a whole set the same way. You type the shape once and the tool works out the pixels for each picture.

**Logos with too much empty space**: Trim cuts the white or fully transparent margin around a logo, so it sits tightly where you place it and lines up with text instead of floating in a box of empty space.

**Scans with dark scanner edges**: A flatbed scan often has a gray or black rim where the lid did not cover the glass. Trim removes it, and Trim tolerance helps when the rim is not one even color.

## Tips for a better result

**Pick Gravity for people**: Center works for products. For portraits, Top usually keeps heads in the frame when cropping a tall photo to a square, and Left or Right helps when the subject stands off to one side.

**Raise Trim tolerance for noisy scans**: The default of 12 treats nearly identical colors as border. A grainy scan may need 30 or more. If Trim cuts into the picture, lower it again.

**Measure on the upright photo**: With Auto orient on, as it is by default, a phone photo is turned the way the camera meant before anything is cut, so the crop box is measured on the picture you see. Turn it off only to crop the pixels exactly as stored.

**Check coordinates with Image info**: X and Y count from the top-left corner. Image size and properties gives the width and height, so you can see whether your rectangle fits before you run it.

## Options

**Aspect**: Crop to a shape instead of measuring pixels: `1:1` for square, `16:9`, `4:5`, `3:2`. The biggest rectangle of that shape that fits is kept.

**Auto orientdefault true**: Turn the picture upright when the camera recorded it sideways, before measuring the crop. On by default, so the rectangle is the one you see: the note saying which way up a photo goes cannot be written into the new file.

**Gravity**: Which part to keep when cropping to a shape (default the middle).

- center
- top
- bottom
- left
- right

**Height**: Height of the piece to keep, in pixels.

**Qualitydefault 85**: JPEG quality 1–100 (default 85). Ignored by formats that store every pixel exactly.

**Trimdefault false**: Cut away a plain border automatically: scanner edges, screenshot padding, the white space around a logo. Nothing else is touched.

**Trim tolerancedefault 12**: How different from the border colour a pixel must be to count as part of the picture, 0–255 (default 12). Raise it for a noisy scan.

**Width**: Width of the piece to keep, in pixels.

**Xdefault 0**: Distance from the left edge, in pixels.

**Ydefault 0**: Distance from the top edge, in pixels.

## What it costs and what it takes

Nothing. No account, no watermark, no trial and no daily limit.

- **Files up to 2 GB** As big as a browser tab can open. On a phone, past about 200 MB it may run out of memory; a computer copes better.
- **Up to 2,000 files at a time** They are worked through one after another, on your device.
- **Up to 20,000 pages a document** Long documents take longer, and nothing is uploaded while they do.

## Why it runs on your device

Photos carry faces, locations and private moments, and most online converters ask you to upload them. Docsi's image engine is compiled to WebAssembly and runs inside your browser tab, so the picture stays on your device, there is no upload wait, and the tool keeps working offline.

In the app you can also type what you want: “cut out”, “trim image”, “trim border”, “trim whitespace”, “square crop”.

## Questions

### How do I crop an image to a square?

Type 1:1 into Aspect. The tool keeps the largest square that fits, taken from the center. Set Gravity to top, bottom, left or right to keep a different part. Run Resize image afterwards if the square must be a set pixel size.

### How do I remove white space around an image?

Turn on Trim. The tool takes the color in the top-left corner as the border and cuts away everything around the part that differs from it. If the whole picture is one color, it is left unchanged.

### Why does it say the crop is outside the image?

The rectangle from X, Y, width and height reaches past an edge. Check the image’s size, and remember X plus width must not exceed the image width, and Y plus height must not exceed its height.

### Can I crop to 16:9?

Yes. Type 16:9 into Aspect. You can also write it as 16/9 or 16x9. Any two positive numbers work, such as 3:2 or 21:9, and the largest rectangle of that shape is kept.

### Are my files uploaded?

No. Crop image runs inside your browser using WebAssembly, so the file never leaves your device. You can turn off your internet connection after the page loads and it still works.

### Is it free?

Yes, with no watermark, no account and no limit on how often you use it.

### Can I process several files at once?

Yes. Select several files and the tool runs on each of them.

### Does it work on a phone or tablet?

Yes, in any modern browser. Very large files are limited by the memory of the device, so a laptop handles them better than a phone.

## Related tools

[Passport photo sheet Many photos on one print.](https://docsi.si/tools/passport-photo-sheet/)[Rotate image Rotate an image by a quarter turn, or by any angle to straighten a crooked scan or photo.](https://docsi.si/tools/rotate-image/)[Flip image Mirror an image horizontally or vertically.](https://docsi.si/tools/flip-image/)[Image to PDF JPGs and PNGs into one PDF.](https://docsi.si/tools/images-to-pdf/)[Watermark image Add a text or logo watermark to an image.](https://docsi.si/tools/watermark-image/)[Adjust image Brightness, contrast, saturation, hue, blur, sharpen, greyscale and invert.](https://docsi.si/tools/adjust-image/)[Shrink without visible loss Re-encode an image at visually lossless settings, drop metadata, and keep whichever result is smallest.](https://docsi.si/tools/optimize-image/)[Remove image metadata Remove EXIF, GPS location, camera details, XMP and comments from a photo without saving its pixels again, and report field by field what was in there.](https://docsi.si/tools/remove-exif/)

## Crop image, and 153 more tools.

[See all tools](https://docsi.si/tools/)[Open the app](https://docsi.si/app/)
