CSS Clip-path Generator

Cut any element into a custom shape. Choose from polygon, circle, ellipse and inset shapes, preview the result on a gradient and copy the clip-path value.

Last updated: · Runs 100% in your browser

// controls
220px
Live preview
Generated CSS
.clipped {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #00ff66, #0066ff);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

// Example output

.clipped {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #00ff66, #0066ff);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

// Features

  • ▸12 built-in shapes
  • ▸Polygon, circle, ellipse and inset
  • ▸Gradient preview surface
  • ▸Pure CSS, no SVG
  • ▸Copy or download

// How to use

  1. 01Adjust the controls on the left or pick a preset to start the CSS Clip-path Generator.
  2. 02Watch the live preview update instantly as you change each setting.
  3. 03Fine-tune the generated CSS by hand in the code panel if you like.
  4. 04Click Copy CSS or Download CSS, or Share to send a link to your design.

// FAQ

Your data never leaves your browser. This tool runs 100% locally — no upload, no logging, no analytics on your inputs.

// Related tools