Learn how to separate a subject from its background with Select > Subject, clean up the hair in Select and Mask, and keep the result as a layer mask instead of deleting pixels. The steps take about two minutes. You need one photo; this tutorial uses a portrait taken in a park, where the hair sits against trees and a gravel path.
If you only need a transparent PNG and do not want to edit the edges, the Remove Background tool does it in one click.
Select the subject
- Open the photo. Choose File > Open, or drag the file onto the editor window.
- Choose Select > Subject. Photopip finds the person and draws a selection around her.

Note: Select Subject sends a smaller copy of the photo to our server, which finds the subject and returns the selection. If the service is busy, Photopip makes a simpler selection from the color difference and tells you so.
Refine the edge and make the mask
- Choose Select > Select and Mask (Alt+Ctrl+R on Windows, Option+Command+R on macOS).
- Under View Mode, set View to On White. Dark hair is easier to judge against white than against the checkerboard.
- Under Edge Detection, select Smart Radius and set Radius to about 12 px. Photopip now looks for soft edges in a band around the outline instead of cutting along it.
- For stray hairs, choose the Refine Edge Brush Tool (R) on the left and paint once along the edge of the hair.
- Under Output Settings, set Output To to Layer Mask, and click OK.

The background is now hidden, not erased. In the Layers panel, the Background layer has become Layer 0 with a mask thumbnail next to it. Paint on the mask with black to hide more, or with white to bring parts back.
Tip: In the Properties panel, the Remove Background quick action selects the subject and adds the layer mask in one step, without Select and Mask. Try it first, and open Select and Mask only when the edge needs work.
Export a transparent PNG
- Choose File > Export > Export As (Alt+Shift+Ctrl+W on Windows, Option+Shift+Command+W on macOS).
- Set Format to PNG and keep Transparency selected. Check the size under Image Size, then click Export.

To keep the mask for later, choose File > Save As and save a PSD. The mask and the hidden park stay in the file, and Photoshop opens it with the same layers.
To put the person on a new background, click Add Background in the bar under the photo, or add a layer below Layer 0.
