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
- 01Adjust the controls on the left or pick a preset to start the CSS Clip-path Generator.
- 02Watch the live preview update instantly as you change each setting.
- 03Fine-tune the generated CSS by hand in the code panel if you like.
- 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
CSS Triangle Generator
Draw pointing triangles and arrows in pure CSS using the border technique, in any direction and size.
Border Radius Generator
Round each corner independently or together and copy the exact CSS border-radius shorthand.
CSS Transform Generator
Rotate, scale, skew and translate elements in 2D and 3D and copy the combined CSS transform.