# Crop faces from a photo

> Free face cropper. Upload a photo and get a centred crop of each face: square, portrait or circle, tight or headshot. No sign-up, and photos are never stored.

Source: https://sightradar.com/tools/face-crop

Drop in a photo and get a centred crop of each face in it. Pick the shape and how tight the framing is, then download one face or all of them.

Use it in the browser: https://sightradar.com/tools/face-crop (no sign-up). Images are processed in memory and are not stored. No photo, face crop or faceprint is saved, and nothing is used for training.

## How it works

The web page makes one detection call, then draws the result in the visitor's browser. Nothing else is uploaded, and the download is made on the visitor's device with no location or camera metadata from the original file. Downloads are at the photo's own size, up to 4,096 pixels on the longer side.

- Shapes: Square, Portrait 4:5, Portrait 3:4, Circle. The circle is saved as a PNG with a transparent background; the others as JPG.
- Framing: Face (1.35 face sizes on the crop's shorter side), Headshot (2.1 face sizes on the crop's shorter side), Head and shoulders (3 face sizes on the crop's shorter side). Wider framings sit lower, to take in the neck and shoulders.
- Sizes: the crop's own pixels, or 1,024, 512 or 256 pixels on the longer side. Crops are never scaled up.
- A photo with several faces gives one crop per face, up to 48 from one photo, downloadable together as a ZIP file.
- A crop never reaches outside the photo: near an edge it slides back in, and in a small photo it shrinks.

## Doing the same from code

Call the detect endpoint below. Each face comes back with `bbox` as ratios of the image (left, top, width, height). Multiply by the image's pixel size, grow the box to the framing you want, and cut it out with any image library.

## Paid API

`POST https://api.sightradar.com/v1/detect` (Rekognition DetectFaces equivalent) costs 93 credits per image and stores nothing. Reference: https://sightradar.com/docs/api/faces/detect-faces.md

## Free API for AI agents and scripts

AI agents, scripts and quick tests can call this tool directly over HTTP. Free to test under a fair-use policy, no key needed. For regular or production use, sign up and use an API key: there is no free-tier cap on a key, and usage is billed per photo on prepaid credits.

```bash
curl -X POST https://sightradar.com/api/free/detect -F "file=@photo.jpg"
```

- Body: `multipart/form-data`, field `file`. JPG, PNG or WebP, up to 10 MB each.
- Response: JSON `{"data": {...}}`. Images are processed in memory and never stored.
- `GET https://sightradar.com/api/free/detect` returns a JSON description of the endpoint.
- If the free fair-use limit is reached, the API answers `429` with `"code": "free_limit_reached"`, a `signup_url` and `how_to_continue`.

To use it as much as you need: sign up at https://sightradar.com, create an API key in the console, and call `POST https://api.sightradar.com/v1/detect` with `Authorization: Bearer <api-key>` and the same multipart `file` field.

Full contract: https://sightradar.com/docs/free-api.md

## FAQ

### How do I crop a face out of a photo?

Add the photo. The tool finds each face and shows a crop centred on it. Choose a shape (square, 4:5 or 3:4 portrait, or circle) and a framing (face, headshot, or head and shoulders), then download the crop you want.

### Can it crop every face from a group photo?

Yes, up to 48 faces from one photo. Each face gets its own crop, numbered to match the boxes on the photo. Download them one at a time, or all together as a ZIP file.

### What size are the crops?

By default a crop keeps the photo's own pixels. Photos over 4,096 pixels on the longer side are scaled down to that first. You can also save at 1,024, 512 or 256 pixels. Crops are never scaled up, so a small face in a wide shot gives a small crop.

### Can I use it for a profile picture?

Yes. Square and circle crops with the headshot framing suit most profile pictures. The circle is saved as a PNG with a transparent background; the other shapes are saved as JPG.

### Does it make passport photos?

It crops to a 3:4 portrait, but it does not check passport rules such as background colour, head size or expression. Use your government's own photo checker for that.

### Are my photos stored?

No. The photo is uploaded once so the faces can be found, processed in memory and discarded. The crops are cut in your browser and saved on your device. No photo, face crop or faceprint is kept.

### Is the face crop tool free?

Yes. There is no sign-up and no card. A fair-use limit per visitor keeps the tool fast for everyone; if you reach it, the tool shows how long to wait.

### Can I crop faces in bulk from my own code?

Yes. POST /v1/detect in the SightRadar API returns a box for every face in an image, in ratios of the image. Your code cuts the crops from those boxes, for one photo or a million. Detect stores nothing.
