# Compare two faces online

> Free face similarity checker. Upload two photos and get a similarity score and match verdict. No sign-up, and photos are never stored.

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

Drop in two photos and see how alike the faces are, with a match verdict and what it means in plain English.

Use it in the browser: https://sightradar.com/tools/face-compare (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.

## What the result means

The score is cosine similarity between two face embeddings, from 0 to 1. Each result carries `match` at a default `threshold`. Well above it: very likely the same person. Just above: likely, confirm before anything important depends on it. Just below: uncertain. Well below: likely different people. Pick your own threshold from labelled pairs of your own photos: https://sightradar.com/docs/guides/thresholds.md

When a photo has several faces, the largest, most confident one is used.

## Paid API

`POST https://api.sightradar.com/v1/compare` (Rekognition CompareFaces equivalent) costs 186 credits for two images (93 per image). Reference: https://sightradar.com/docs/api/faces/compare-two-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/compare -F "source=@a.jpg" -F "target=@b.jpg"
```

- Body: `multipart/form-data`, fields `source` and `target`. 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/compare` 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/compare` with `Authorization: Bearer <api-key>` and a JSON body `{"sourceUrl": "...", "targetUrl": "..."}` (the paid compare takes image URLs).

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

## FAQ

### What is face similarity?

Face similarity is a number that says how alike two faces are. Each face is turned into an embedding, a list of numbers that summarises its features, and the two embeddings are compared with cosine similarity. The result runs from 0 to 1: scores near 1 mean the faces are very likely the same person, and low scores mean they are likely different people.

### Does a high score prove two photos show the same person?

No. A high score means the faces are very similar, which is strong evidence but not proof. Identical twins and close relatives can score high, and poor photos can lower the score for the same person. For identity verification, combine the face match with document checks and liveness.

### What similarity threshold should I use?

Each result marks the default match line on the gauge. Scores just under it are shown as possibly the same person, because real matches can land there in poor light or at odd angles. For a real product, pick your own threshold from labelled pairs of your own photos: strict for identity verification, looser for photo discovery where a person confirms the suggestion. The thresholds guide walks through it.

### Are my images stored?

No. Both photos are processed in memory to compute the score and then discarded. No photo, face crop or faceprint is saved, and nothing is used to train models. Large photos are resized in your browser before upload, so less data leaves your device.

### Which photos work best?

One clear face per photo, large in the frame, well lit and facing the camera. When a photo has several faces, the largest, most confident one is used. JPG, PNG or WebP up to 10 MB. On a phone you can take the photo with your camera. The sample pair button loads two synthetic faces if you just want to see it work.

### Is the face compare 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 run face comparison from my own app?

Yes. The same operation is available as POST /v1/compare in the SightRadar API, the equivalent of AWS Rekognition CompareFaces. Create a key in the console and call it from any HTTP client or the official Python and Node SDKs.
