keepcalculator

06 Numbers and Powers

Illustrator Clipping Mask: How to Make One

Card No. 06·88451 · Updated · Standard formula, shown below

To make a clipping mask in Adobe Illustrator, select the object you want to use as the mask (the top shape), then select the object or group you want to clip (the content beneath it), and press Ctrl+7 (Windows) or Cmd+7 (Mac). You can also go to Object > Clipping Mask > Make after selecting both. This instantly hides any part of the content that falls outside the mask shape, leaving only the area inside visible.

What Exactly Is a Clipping Mask?

A clipping mask is a non-destructive way to crop artwork in Illustrator. The mask is always the topmost object in the selection—it defines the visible area, while the objects below it are the content that gets clipped. Unlike the Shape Builder tool or the Pathfinder panel, a clipping mask does not delete or permanently alter the underlying artwork. You can edit the mask shape or the content independently after creating the mask, which makes it a flexible tool for everything from photo cropping to creating text-filled shapes.

One common misconception is that a clipping mask works like a crop in Photoshop—it doesn’t. In Illustrator, the mask is a vector shape, and the content remains fully editable. If you move the mask shape, the visible area moves with it. If you edit the content (for example, change a photo’s position), the mask still reveals only the area inside the shape.

How to Make a Clipping Mask: Step by Step

  1. Place or draw the content you want to clip. This can be a photo, a vector illustration, text, or a group of objects.
  2. Draw the mask shape on top of the content. The shape can be any closed vector path—a rectangle, a circle, a custom path, or even text converted to outlines.
  3. Select both the mask shape and the content. Use the Selection Tool (V) and click the mask shape, then Shift-click the content. Alternatively, drag a marquee around both.
  4. Create the mask: Press Ctrl+7 (Win) or Cmd+7 (Mac), or go to Object > Clipping Mask > Make.
  5. Edit later: To move the content inside the mask, double-click the masked object to enter Isolation Mode, then move the content. To move the mask shape itself, use the Direct Selection Tool (A) and drag the mask’s path.

If you need to release the mask, select the masked object and press Ctrl+Alt+7 (Win) or Cmd+Opt+7 (Mac), or go to Object > Clipping Mask > Release.

Choosing the Right Mask Shape

Any closed vector path can be a mask, but the shape’s properties affect the result:

  • Fill and stroke: The mask shape can have any fill or stroke—they are ignored when the mask is applied. Only the path geometry matters.
  • Compound paths: If you want a mask with holes (e.g., a ring shape), you need a compound path. Select the two paths and press Ctrl+8 (Win) or Cmd+8 (Mac) to make a compound path before creating the mask.
  • Text as mask: Convert text to outlines (Type > Create Outlines) before using it as a mask. Otherwise, the text remains editable but may not mask as expected.
  • Multiple shapes: If you want to use several separate shapes as one mask, combine them into a compound path first.

A practical example: If you want to place a photo inside a circle, draw a circle over the photo, select both, and press Ctrl+7. The photo will appear only inside the circle. To reposition the photo inside the circle, double-click the masked object, then drag the photo.

Common Problems and How to Fix Them

“The mask doesn’t work” – The most common cause is that the mask shape is not the topmost object in the selection. Illustrator uses the topmost selected object as the mask. If you select multiple objects and the top one is not the shape you want, reorder it by right-clicking > Arrange > Bring to Front.

“The content disappears” – If your content is not visible after creating the mask, it may be because the mask shape has no fill or stroke, but that shouldn’t hide the content. More likely, the content is entirely outside the mask shape. Double-click to enter isolation mode and drag the content back into the mask area.

“I can’t edit the mask shape” – After creating the mask, the mask shape becomes a clipping path. To edit its shape, use the Direct Selection Tool (A) and click the path. You can also use the Layers panel: expand the masked group, find the clipping path, and edit it.

“The mask is not transparent” – Clipping masks do not create transparency; they simply hide content outside the shape. If you want the masked area to be transparent (e.g., to export a PNG), ensure the mask shape has no fill (or any fill, it doesn’t matter) and that the underlying content is what you want to show. The area outside the mask is transparent in the exported file.

Clipping Mask vs. Opacity Mask

Illustrator offers two types of masks: clipping masks and opacity masks. They serve different purposes:

  • Clipping mask: Uses a vector shape to hide content outside the shape. The mask is binary—everything inside is visible, everything outside is hidden. It is ideal for cropping.
  • Opacity mask: Uses a grayscale image or shape to control the transparency of the content. Black hides, white shows, and shades of gray create partial transparency. This is useful for fading effects or soft edges.

To create an opacity mask, select the content and the mask shape, then open the Transparency panel and click Make Mask. The top object becomes the opacity mask. Unlike a clipping mask, the opacity mask can be a raster image or a gradient.

Tips for Working with Clipping Masks

  • Use layers: Keep the mask shape and content in the same layer or group for easier management. You can also rename the clipping path in the Layers panel.
  • Non-destructive workflow: Since clipping masks don’t delete anything, you can always release the mask to get the original content back.
  • Combine with effects: You can apply effects (like drop shadows) to the masked object. The effect applies to the visible area, not the hidden content.
  • Exporting: When exporting to PNG or SVG, the masked area becomes transparent. For print, the mask works as a vector crop.

Frequently Asked Questions

Can I use a clipping mask on a group of objects? Yes. Select the group and the mask shape, then create the mask. The group will be clipped as a whole.

Why is my clipping mask not working with text? If you use live text as a mask, it may not work correctly. Convert the text to outlines (Type > Create Outlines) first, then create the mask.

How do I move the content inside a clipping mask? Double-click the masked object to enter Isolation Mode, then drag the content. Exit by pressing Esc.

Can I have multiple clipping masks in one document? Yes, you can have as many as you need. Each mask is independent.

Does a clipping mask work with placed images? Yes, it works with any placed image (raster or vector). The image remains linked or embedded, and the mask only affects its visibility.

What is the difference between a clipping mask and a crop? A crop in Illustrator (via Object > Crop Image or the Crop tool) permanently removes the outside area. A clipping mask hides it without deleting it, so you can adjust later.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →