How to restore a photo
- Add the photo. Drop a JPG, PNG, WebP or HEIC file on the upload area, click it to choose a file, or paste with Ctrl+V.
- Choose what happens to the rest of the picture. “Background” has two entries: “Keep as is — restore faces only (fast)” and “Enhance whole photo 2× — remove noise, sharpen, restore faces (slower)”.
- Set “Noise removal”. The list appears only with the whole-photo option. Leave it on “Auto — by measured noise (recommended)” unless you have a reason to change it.
- Set “Strength”. 100 % is preselected. Lower it if the faces come out too polished.
- Press “Restore faces”. Progress is shown stage by stage: finding faces, removing noise, enhancing the background, restoring faces. “Stop” cancels the run.
- Compare and download. “Show original” and “Show restored” switch the preview. The download button shows the pixel size of the result.
What happens to the picture, step by step
1. Every face is located
A small detector called YuNet scans the photo twice, once as an overview for small faces and once reduced for faces that fill the frame. For each face it returns five points: both eyes, the nose tip and the corners of the mouth. If nothing is found, it tries again with a lower threshold, which helps with faded prints.
2. Sideways photos are turned
If there is still no face, the tool tests the photo rotated by 90°, 180° and 270° and keeps the rotation with the most confident faces. This catches prints that were photographed lying on their side. The result is then saved upright, and a note says so.
3. Each face is rebuilt at 512×512
Using the five points, the face is rotated and scaled into a standard 512×512 crop. Before any restoration the crop is checked once more by the detector; a false alarm such as a pattern in a curtain or a tangle of branches fails this check and is left alone. GFPGAN v1.4 then redraws the face: eyes, lips, teeth, skin texture and the hair around the face.
4. The face is blended back
The restored crop is mixed with the original according to “Strength” and pasted into the photo with a feathered edge, so no seam shows where new skin meets the old neck and hair.
5. Optional: the whole photo is cleaned and doubled
With “Enhance whole photo 2×” the rest of the picture is processed before the faces go back in: SCUNet removes noise and JPG blocks, Real-ESRGAN enlarges four times, and the result is averaged down to exactly 2×. The faces are then pasted in at the new size.
“Keep as is” or “Enhance whole photo 2×”
| Keep as is | Enhance whole photo 2× | |
|---|---|---|
| What changes | Faces only | Faces, clothing, scenery, everything |
| Result size | Same as the source, up to 2400 px on the long side | Twice the source, up to 2400 px on the long side |
| Source used | Up to 2400 px | Up to 1200 px; a larger source is reduced first |
| Extra downloads | None | SCUNet 46 MB and Real-ESRGAN (64 MB on a graphics card, 5 MB on the CPU) |
| Best for | Large, clean scans with soft faces | Small, noisy or heavily compressed pictures |
Note the third row. A 3000 px scan run through the whole-photo option is reduced to 1200 px and returned at 2400 px, smaller than it came in. For big scans “Keep as is” preserves more of the original.
Noise removal: Auto, On or Off
Enlarging a noisy photo without cleaning it first turns the noise into coloured speckle. That is why noise removal sits in front of the enlargement.
Auto
A noise meter measures the picture at full size and at two reduced sizes, because noise in a re-saved JPG forms coarse blotches that are invisible pixel by pixel. A clean scan is left untouched so that paper grain and fabric texture survive. Clearly noisy pictures get full strength, and cases in between get 40–100 %. The line under the result reports what was done: “noise removal 70%” or “no noise removal needed”.
On
Always applies SCUNet at full strength. Use it when Auto left visible speckle.
Off
Skips the step. Use it for prints where film grain is part of the character, or when the cleaned version looks waxy.
On a device without a graphics card
SCUNet takes 10–20 minutes on the CPU, so Auto skips it there and tells you. “On” forces it if you are prepared to wait.
The Strength slider
The slider runs from 30 % to 100 % in steps of 5. It mixes the rebuilt face with the original crop: at 100 % you see only the model’s output, at 50 % an even blend.
- 100 % for faces that were badly blurred or pixelated; there is nothing in the original worth keeping.
- 60–80 % for photos that were only slightly soft. Freckles, wrinkles and the original skin texture show through, and the person stays more recognisably themselves.
- 30–50 % as a gentle sharpening of an already decent portrait.
The slider affects faces only. It does not change the whole-photo clean-up.
Settings by type of photo
| Photo | Background | Noise removal | Strength |
|---|---|---|---|
| Scan of an old print, 1500 px or more | Keep as is | — | 80–100 % |
| Small old scan or photo of a print | Enhance whole photo 2× | Auto | 100 % |
| Group photo with tiny faces | Enhance whole photo 2× | Auto | 100 % |
| Blurry face in a recent phone photo | Keep as is | — | 70–100 % |
| Picture saved many times from messengers | Enhance whole photo 2× | Auto or On | 80–100 % |
| Night shot with heavy noise | Enhance whole photo 2× | On | 80–100 % |
| Film photo where the grain should stay | Enhance whole photo 2× | Off | 60–80 % |
Preparing the picture
Trim away the album page
Borders, the scanner lid and the table around a photographed print waste the limited working size. Cut the picture down to the print with the image cropper so the faces get more pixels.
Remove scratches and stains first
Face restoration paints over small damage on a face, but creases and spots elsewhere stay, and the enlargement sharpens them. Brush them out with the object remover before you restore.
Do not sharpen beforehand
Sharpening filters in a scanner program or a phone gallery create halos that the models treat as real detail. Feed in the untouched scan.
What is restored and what is left alone
| Defect | Handled | How |
|---|---|---|
| Blurred, small or pixelated faces | Yes | GFPGAN |
| JPG blocks and colour speckle | Yes, with the whole-photo option | SCUNet |
| Low resolution | Yes, 2× with the whole-photo option | Real-ESRGAN |
| Faces lying sideways | Yes | Automatic rotation |
| Scratches, folds, tears, stains | No | Use the object remover first |
| Fading, yellow cast, low contrast | No | Tones are kept as they are |
| Black-and-white to colour | No | A monochrome photo stays monochrome |
| Motion blur across the scenery | No | Only faces are redrawn |
Sizes, formats and output
- Input: JPG, PNG, WebP and HEIC.
- Smallest face: a face with fewer than about 8 px between the eyes at the working size is skipped. Results become convincing from roughly 30 px upwards.
- Output format: a PNG source is saved as PNG; everything else as JPG at 95 % quality. The file name gets the ending
-restored. - Result line: time, number of faces restored, GPU or CPU, and the models that actually ran.
If a photo has no faces at all, the tool says so. With “Keep as is” the picture then comes back without changes; for landscapes, buildings and documents use the AI image upscaler instead.
Models, downloads and speed
| Model | Job | Size | Runs on |
|---|---|---|---|
| YuNet | Finds faces | Small, served by this site | Always the CPU |
| GFPGAN v1.4 | Rebuilds faces | 340 MB | Graphics card or CPU |
| SCUNet | Removes noise | 46 MB | Graphics card; CPU only when forced |
| RealESRGAN x4plus | Enlarges on a graphics card | 64 MB | Graphics card |
| Real-ESRGAN x4v3 | Enlarges on the CPU | 5 MB | CPU |
Each file is downloaded once, when it is first needed, and kept in the browser’s cache; a run with “Keep as is” never fetches the noise and enlargement models. The photo itself is processed in a background thread on your device and is not uploaded, which matters for family albums and scanned documents alike. GFPGAN and SCUNet are published under the Apache 2.0 licence, Real-ESRGAN under BSD 3-Clause.
On a computer with WebGPU the graphics card is preselected. A face then takes one to three seconds; on the CPU count on 5–30 seconds per face. “Advanced” lets you change “Compute” by hand. If the graphics card cannot run the face model, the tool continues on the CPU and shows a note. Phones start on the CPU; with a 340 MB model and several faces that takes patience, so keep the tab open.
Limits to keep in mind
- A rebuilt face is an estimate. With severe blur the model fills in what a typical face would show. The result is clean and plausible but can differ in small features from the real person. Do not use it to identify anyone.
- Glasses, hands and hats near the face can be redrawn imperfectly, because the model concentrates on facial features.
- Profiles and covered faces may not be detected at all.
- Only faces get this level of reconstruction. Text, jewellery, uniforms and buildings are sharpened by the whole-photo option but not redrawn.
Troubleshooting
“No faces found in this photo”
The faces are too small, turned away or hidden. Crop closer to the people and run again. For photos without people, use the upscaler.
The face looks like a different person
The source held too little information. Lower “Strength” to 50–70 % to bring back original features, and start from the largest scan you have.
The restored face is sharper than everything around it
Switch “Background” to “Enhance whole photo 2×” so the rest of the picture is raised to a similar level, or lower “Strength”.
“Noise removal was skipped”
The run used the CPU. Choose the GPU under “Advanced” if it is available, or set “Noise removal” to “On” and allow 10–20 minutes.
The result is smaller than my scan
The whole-photo option works from at most 1200 px and returns at most 2400 px. Use “Keep as is” for large scans.
The first run seems stuck at the download
The face model is 340 MB. On a normal connection that takes about a minute, once.