Launched January 6, 2026
CodeFormer

CodeFormer

Revive old faces with high‑quality AI magic!

Free316 impressions#1816 of its week

CodeFormer is a powerful and easy-to-use AI tool designed to restore faces in old, blurry, or AI-generated images. Developed by researchers at Nanyang Technological University, it uses a smart transformer model and a visual “codebook” to fill in missing facial details while keeping the original vibe. You can adjust a simple slider to choose whether you want sharper quality or closer resemblance to the original image. Features: Transformer-based restoration: Uses smart AI to predict face details based on the full context of the image for better, natural results. Visual codebook knowledge: Refers to a library of real face features to add fine details without guesswork. Adjustable fidelity slider: Lets you decide if you want sharper faces or more accurate likeness by tweaking one slider. Background enhancement: Optional tools can clean up and sharpen the photo’s background for a polished look. Use Cases: Fix old family photos: Restore grandparent pictures from the past and bring their faces back to life. Enhance AI-generated faces: Improve blurry or glitchy faces from AI art tools like Stable Diffusion. Clean tourist snapshots: Sharpen and restore fuzzy travel photos of yourself or friends. Strengthen project visuals: Use in school or history projects to improve image quality and storytelling. With CodeFormer, you get a powerful AI that makes face restoration simple—no technical knowledge needed, just choose an image and let it work its magic.

74 free dev tools →

CodeFormer is an AI tool that restores and enhances faces in old, blurry, or AI-generated images.

for
Photographers, archivists, developers and anyone needing face restoration.
pricing
open source
license
open source
sczhou/CodeFormer 18k 3.7kPythonupdated a year ago
  • v0.1.0CodeFormer V0.1.0 Release4 years ago

Key features

6 features of CodeFormer
  • Learned Codebook — Encodes facial features to restore details accurately.
  • Fidelity Control Slider — Adjusts balance between image quality and identity preservation.
  • Multi-Degradation Handling — Removes low-resolution, noise, compression artifacts and blur.
  • Background Enhancement — Optionally cleans and sharpens the image background.
  • Batch Processing — Processes multiple images efficiently with consistent results.
  • High-Resolution Support — Works with various resolutions while keeping detail.

Use cases

  • Restore old family photos and bring faces back to life.
  • Enhance blurry or glitchy AI-generated faces from tools like Stable Diffusion.
  • Clean up fuzzy travel snapshots for personal sharing.
  • Improve visual quality in school or history projects.

CodeFormer FAQ

What is CodeFormer and how does it work?+

CodeFormer uses a learned codebook to encode facial features and an adjustable fidelity weight to restore degraded faces while preserving identity.

What types of image problems can CodeFormer fix?+

It can address low resolution, noise, compression artifacts, blurriness and general quality loss in facial images.

Will CodeFormer change how people look in my photos?+

It preserves identity; the fidelity weight lets you control how much enhancement is applied versus how much the original look is kept.

Can I use CodeFormer for commercial projects?+

Yes, it can be used for personal and commercial projects under the S-Lab License 1.0.

What image formats are supported?+

Common formats such as JPG, PNG, WEBP and TIFF are supported.

How is CodeFormer different from other face enhancement tools?+

Its learned codebook and adjustable fidelity control provide superior quality and identity preservation compared to traditional methods.

Summarized by DevHunt from codeformerai.com · Oct 8, 2026. Details may change; check the official site.