Skip to the tutorial
lil cactus

How to whiten teeth in a photo

Beginner8 minutesUpdated

Quick answer

In Lil Cactus, choose Layer then New Adjustment Layer then Hue/Saturation… and select Yellows. For the sample, set Saturation to −55, Lightness to +25 and Inner start under Range limits to 25°, then click Apply. Select the adjustment’s mask thumbnail and choose Image then Adjustments then Invert to hide the adjustment. With a small, soft white Brush, paint across each tooth’s enamel up to the gum line and out to the rims, then export a JPEG.

A close-up smile before and after selective whitening: less yellow on the teeth, with the pink lips and natural tooth shadows retained
The teeth are less yellow; the lips, gums and shaded gaps keep their color. Drag the handle to compare.
Time
8 minutes
Level
Beginner
You need
A photo with visible teeth and natural detail
Works with
RGB photos, with a separate adjustment layer
Open the sample in Lil CactusUse your own photo

Free, no sign-up. Your photo stays on your computer.

Teeth need some warmth, translucent edges and shadow to look real, so reduce their yellow gently.

Whiten teeth in six steps

  1. Open the photo and add Hue/Saturation

    Open your photo with File then Open…, or use the sample from this page. Choose Layer then New Adjustment Layer then Hue/Saturation…

    The Layer menu with New Adjustment Layer open and Hue/Saturation available in its submenu
    Add Hue/Saturation as a separate adjustment layer.
  2. Reduce the yellow gently

    Keep the Master settings at 0. Select Yellows, the third swatch under Color range. Leave Hue at 0, then set Saturation to −55 and Lightness to +25 for the sample.

    Expand Range limits and set Inner start to 25°. This brings the warmer yellow-orange stain in the canines into the adjustment. Leave the other limits unchanged and Colorize off, then click Apply. The whole photo changes for now; the mask will confine the change to the teeth.

    Hue/Saturation with Yellows selected, Saturation minus 55, Lightness plus 25 and Inner start 25 degrees under the expanded Range limits; these controls and Apply are ringed
    Adjust Yellows, leaving Master at 0. The wider range reaches the warmer stain near the canines.
  3. Hide the adjustment with a black mask

    An adjustment layer holds a color change separately from the photo. Its mask controls where the change appears: white shows it, black hides it and gray blends it.

    In the Layers panel, click the white mask thumbnail beside Hue/Saturation. Choose Image then Adjustments then Invert. There is no dialog: the mask turns black and the original colors return.

    Keep that mask selected. Painting on the mask reveals the adjustment without painting over the photo itself.

    The Layers panel controls and the Hue/Saturation row with its white mask thumbnail ringed
    Select the mask, the second thumbnail in the Hue/Saturation row.
    The same Layers panel strip with the selected Hue/Saturation mask thumbnail now black
    Black hides the adjustment everywhere until you paint.
  4. Choose a soft white Brush

    Right-click the brush icon in the left toolbar and choose Brush. Press D to reset the foreground and background colors, then X to put white in front. Do this before entering brush values.

    Set Size to 10 px, Hardness to 0%, Opacity to 100% and Flow to 100%. Hardness controls the edge: 0% gives a soft transition. Choose View then Zoom In until individual teeth are easy to see, about 150–200% for the sample.

    The brush icon in the left toolbar and its flyout, with the button and Brush row ringed
    Choose Brush from the brush icon’s flyout.
    Brush options showing Size 10 px and Hardness zero percent, both ringed
    A small soft brush lets you follow the curved enamel edges.
    Brush Opacity and Flow both set to 100 percent, with both controls ringed
    The adjustment settings keep the change gentle; paint a white mask at full strength.
  5. Cover the enamel and compare

    Hold the space bar and drag to bring the mouth into view. Make short, overlapping strokes across each upper tooth’s enamel, including the narrow warm strip immediately below the pink gum. Zoom in farther if that strip is hard to see. Cover from the curved gum line to the lower tip, and out to both sides. Include the lateral teeth beside the front pair and the pointed canines toward the corners. Painting only the centers leaves yellow outlines.

    Reduce Size to about 4–6 px near the gum line and rims, smaller if needed to keep the brush inside the boundary. Follow the boundary between enamel and pink gum, keeping the brush’s soft outer edge on the tooth side. Reach the enamel without letting that edge cross onto the gum. Keep the lips and true dark gaps clear, but cover the light enamel on either side of a contact. In the sample, leave the partly hidden lower teeth in their natural shadow.

    The whole-row comparison shows the coverage to aim for. The black mask thumbnail gains pale marks where you paint. Choose View then Fit on Screen to judge the whole smile. Click the eye beside Hue/Saturation to compare with the original, then click it again to restore the whitening.

    Tip To hide a spill onto a gum or lip, press X and paint black on the mask with the small brush. Press X again to return to white.

    The whole upper row before whitening, showing warm enamel from the curved gum line to the tooth tips
    Before: yellow is visible across the upper row, including the canines and enamel near the gum.
    The same upper row after whitening, with coverage across the enamel, including the gum-line thirds and rims, while the gums and lower teeth retain their color
    Short, overlapping strokes cover each tooth’s enamel up to the gum line and out to the rims.
    The Layers panel controls and Hue/Saturation with pale marks on its black mask; the mask and visibility eye are ringed
    The pale mask marks show where the adjustment appears; the eye switches it off and on.
  6. Save the editable mask and export a photo

    Choose File then Save As then Lil Cactus Project… to keep the adjustment, mask and original photo. After that, File then Save updates the project.

    For a finished copy, choose File then Export then JPEG… and click Export. If you skip the project, File then Save writes a flat picture back into the JPEG you opened; the first Save opens the Save Image dialog.

    File menu with Save As open and Lil Cactus Project ringed
    A project keeps the adjustment and painted mask editable.
    The JPEG export controls with Export ringed
    Export writes a new finished photo.

Keep the whitening believable

Different teeth need different amounts. Start with the sample settings, then judge the whole smile: teeth should not become the brightest, grayest objects in the face. For a weaker change, lower the adjustment layer’s Opacity in the Layers panel. This reduces the whole masked adjustment, including its lightening.

A shaded tooth near the corner can stay darker than a front tooth. Preserve that shading instead of making the whole row equally bright.

The Layers panel with Hue/Saturation selected and its layer Opacity control ringed
Layer Opacity reduces the complete masked adjustment.

Fix common problems

The whole face loses color

The mask is still white. Select the adjustment’s mask thumbnail, choose Image then Adjustments then Invert, and make sure the thumbnail is black before painting white inside the teeth.

The brush paints a white mark

You are painting on a photo layer. Undo, then select the black mask thumbnail beside Hue/Saturation and paint there.

Nothing happens when I paint

Check that the Hue/Saturation eye is on and its mask thumbnail is selected. White must be the foreground color: press D, then X after leaving any value field.

The tooth edges look yellow and the centers look gray

The change is too strong or the painted area is too narrow. Use the strength advice in Keep the whitening believable. Keep the brush smaller than the tooth and add a short stroke where an unpainted patch needs it, staying inside the enamel.

What to do next

Teeth whitening: questions and answers

How do I whiten teeth without changing the lips?

In Lil Cactus, put Hue/Saturation on an adjustment layer, invert its mask to black, then paint white only inside the teeth. The mask keeps the adjustment confined to the areas you paint.

What Hue/Saturation settings should I use for teeth whitening?

In Lil Cactus, the sample uses Yellows with Saturation −55 and Lightness +25, plus Inner start 25° under Range limits. Master stays at 0. Use these as starting values, then judge the whole smile in your own photo.

Can I whiten teeth without painting white over them?

Yes. In Lil Cactus, paint white on an adjustment layer’s mask, not on the photo. The mask reveals a color adjustment while the original tooth texture and shading remain visible.

Can I change teeth whitening after saving?

Yes, if you save a Lil Cactus project with File › Save As › Lil Cactus Project… In Lil Cactus, that project keeps the adjustment layer and its mask; a JPEG contains the finished picture only.

Will teeth whitening fix missing or blurred tooth detail?

No. Reducing yellow in Lil Cactus changes color and brightness; it does not reconstruct a missing tooth edge or recover detail from a blurred photo.

Is my portrait uploaded for teeth whitening?

No. The adjustment and mask in Lil Cactus run in your browser on your own device.