CSS Clip-path Generator
Drag polygon points or tune circle, ellipse, and inset values to build clip-path CSS, with presets and import. All local.
This tool runs entirely in your browser. Your input is never uploaded.
clip-path: polygon(50% 0%, 100% 100%, 0% 100%);Drag the points in the preview, or edit the coordinates below.
Four shape functions
Build circle(), ellipse(), inset(), and polygon() clip paths. Circle, ellipse, and inset use sliders for radius, radii, offsets, and the round corner radius. Inset shorthand is expanded to four explicit percentages for clarity.
Drag polygon points
Grab any vertex in the preview and drag it — coordinates snap to a 0–100% grid and mirror into the numeric fields. Add or remove points freely (3 to 24); the gradient preview shows the exact clipped result.
Presets and import
Start from triangle, diamond, hexagon, star, arrow, speech bubble, avatar circle, or ticket presets, then fine-tune. Paste any existing clip-path value (with or without the property name) into the import box to keep editing it here.
Export
Copy or download a ready-to-use clip-path: ...; declaration. Your shape is saved in this browser. All processing happens locally.
Related tools
Border Radius Generator
Preview and fine-tune CSS border-radius for one or four corners, then copy CSS or Tailwind classes.
Open ToolBox Shadow Generator
Design layered CSS box-shadows with a live preview, presets, and CSS or Tailwind export.
Open ToolGradient Generator
Design CSS gradients with draggable color stops and export CSS, Tailwind, and config.
Open Tool