Skip to content
M2TOOLKIT

CSS Clip-Path Generator

Cut images and elements into custom shapes with CSS.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Design
  • Free
  • No sign-up
  • Runs in your browser
  • Updated

or drag and drop it here

Drag the points to reshape. Double-click the image to add a point; double-click a point to remove it.

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the CSS Clip-Path Generator

  1. Choose a shape preset.
  2. Drag points to adjust, double-click to add or remove points, or try your own image.
  3. Copy the clip-path CSS.

What does this tool do?

clip-path hides everything outside a shape, so you can make hexagonal avatars, slanted section edges or star badges without editing images. Percent coordinates keep the shape responsive. It's supported in all modern browsers.

Why use it?

  • 15 presets.
  • Drag-and-drop points.
  • Preview on your image.

Use cases

  • Hexagonal or circular profile pictures without editing the image file.
  • Angled hero sections and diagonal dividers on landing pages.
  • Badges, ribbons and star shapes for product labels.

Common clip-path shapes

Diamond: clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);

Circle: clip-path: circle(50% at 50% 50%);

Slanted section edge: clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);

Common mistakes

  • Using pixel coordinates — percentages keep the shape correct when the element resizes.
  • Expecting borders and box-shadows to follow the shape; clip-path cuts them off. Use filter: drop-shadow on a wrapper instead.
  • Forgetting that clipped-away areas also stop receiving clicks.

Privacy

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.

Frequently asked questions

Can I animate clip-path?

Yes, between shapes with the same number of points — great for reveal effects.

Does clip-path work on text?

It works on any element, including text blocks, but it clips the box, not the individual letters.

What about old browsers?

All current browsers support clip-path with basic shapes. Very old ones simply show the unclipped element.

Content last updated . See how M2Toolkit works.

Other tools people use alongside the css clip-path generator.