CSS Clip-Path Generator
Create custom CSS clip-path shapes visually. Click to add points, drag to adjust, and choose from 15+ preset shapes. Supports polygon, circle, ellipse, and inset clip paths with real-time CSS output. Everything runs in your browser.
How to Use the CSS Clip-Path Generator
The CSS clip-path property lets you clip elements into any shape. This visual generator makes it easy to create complex clip paths without manually calculating coordinates.
Polygon Mode
Click anywhere on the canvas to add points. Each point is defined as a percentage position (x% y%). Drag points to reposition them. Right-click a point to remove it. The polygon shape is drawn by connecting all points in order.
Circle & Ellipse Mode
Use the sliders to adjust the radius and center position, or drag the handles directly on the canvas. Circle uses a single radius value, while ellipse lets you set independent horizontal and vertical radii for oval shapes.
Inset Mode
Inset creates a rectangular clip with configurable offsets from each edge (top, right, bottom, left) plus an optional border-radius for rounded corners. Use the sliders or drag the edge handles on the canvas.
Using with CSS
Copy the generated code and apply it to any HTML element:
clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
/* Add -webkit- prefix for Safari <= 13 */
-webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}