Clip Path Generator

Choose a shape and copy the CSS clip-path that cuts a box to it. Runs entirely in your browser.

CSS
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

Processed on your device. This file is never uploaded.

  1. 1Pick a shape from the list.
  2. 2See it clip the preview box.
  3. 3Copy the clip-path CSS.

Cut any box into a shape

The CSS clip-path property lets you show an element as a polygon or a circle instead of a rectangle, without touching the underlying image or markup. This generator offers a set of ready-made shapes — triangles, hexagons, stars, arrows — and previews each one on a live box.

Just the shape you need

Pick a shape and copy its clip-path value straight into your CSS. Because clipping only affects painting, the element keeps its normal layout and only the visible area responds to clicks. It all runs on your device.

Frequently asked questions