CodeFormer
Free open-source model that rebuilds blurry or damaged faces in photos.
Our take
The free pick when a face matters more than the background. If the result starts to look like someone else, push the fidelity slider toward 1 and run it again.
Price Free (non-commercial)
Also look at MyHeritage and Gemini.
The quick breakdown
- Good for
- One precious portrait where the face is soft or pixelated and you want a say in how much the AI invents.
- Not great for
- You have torn or stained prints that need patching, or any business use: the license covers non-commercial use only.
- Watch out
- Only the Hugging Face, Replicate and OpenXLab demos are run by its authors. Sites such as codeformer.net use the model without permission, so don't pay them.
- What people say
- Years of real use as the "Restore Faces" option inside Stable Diffusion tools like Automatic1111; r/StableDiffusion has tips threads and complaints (changes expressions, needs the fidelity slider tuned) from people who actually run it.
Based on CodeFormer on GitHub (license, official demos), CodeFormer demo on Hugging Face, CodeFormer demo source (fidelity slider), r/StableDiffusion: CodeFormer tips for Automatic1111. Checked Nov 18, 2026. Prices change, so confirm before you pay.
Good for
Quick facts
- More about it: Free open-source model that rebuilds blurry or damaged faces in photos and upscales the rest of the image. The official demo runs in the browser on Hugging Face, with a slider that trades sharper detail against staying closer to the original face.
- Price: Free (non-commercial).
- You get: images.
- Last checked: Nov 18, 2026.
- Category: Images & Design.
- Where it was found: Added by ShipRadar editors as a well-known tool in Images & Design.
- Tags: Free tier, Image, Hugging Face Space.
- Traction: Editor's pick.
- Official link: huggingface.co/spaces/sczhou/CodeFormer
Common questions
What is CodeFormer good for?
One precious portrait where the face is soft or pixelated and you want a say in how much the AI invents.
Is CodeFormer free?
Free (non-commercial). Prices change, so check the official site before you pay.
How hard is CodeFormer to use?
ShipRadar rates it Some setup: some setup or learning required.
What should I watch out for with CodeFormer?
Only the Hugging Face, Replicate and OpenXLab demos are run by its authors. Sites such as codeformer.net use the model without permission, so don't pay them.
What are good alternatives to CodeFormer?
Our takes
In our guides
Related tools
ReminiSharpens blurry faces, restores old photos and upscales images.Paid · from $4.99/week · Beginner-friendly
MyHeritagePhoto tools that fix scratches, sharpen faces and colorize old prints.Free plan · from $49.99/year · Beginner-friendly
Is this your tool? Claim & feature it, or add the ShipRadar badge to your site.