Drag points · click a + dot to add a point · Alt-click a point to remove it
Presets
CSS
.element { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
How to use
Start from a preset, an SVG, or a PNG
Pick one of the 16 polygon presets, click Import SVG to convert a vector path into percentage points, or use Trace PNG to have a transparent image's outline turned into a shape with adjustable detail.
Reshape it point by point
Drag any blue handle to move a point, click a small + dot between two points to insert a new one, Alt-click a point to delete it, and press Undo to step backward.
Copy the value or the full CSS
The preview updates live on the demo gradient or your own image. Use Copy value for the bare clip-path, or Copy full CSS for a class with the -webkit-clip-path fallback included.
Why CSS Clip Path Generator
- Visual drag-and-drop editing — no manual coordinate writing.
- Import any SVG: the path is sampled and converted into a responsive percentage polygon.
- Trace PNG silhouettes into clip-path shapes automatically (transparent PNGs work best).
- 16 ready presets: arrows, stars, chevrons, message bubbles, frames and more.
- Circle, ellipse and inset modes with sliders, plus raw path() output.
- Preview on your own image, output is responsive percentages, copied in one click.