CSS Clip Path Generator
draw CSS clip-path shapes and copy the generated code
By Bikram NathLast updated
This tool generates `clip-path` CSS values by letting you drag vertices on a canvas instead of guessing coordinate percentages manually. Adjust a four-point polygon for a diagonal section divider and the output updates live, for example from `polygon(0 0, 100% 0, 100% 85%, 0 100%)` to any angle you need. It covers all three geometric clip-path functions: `polygon()`, `circle()`, and `ellipse()`.
Try it now — free, instant, no signup
What is CSS Clip Path Generator?
CSS Clip Path Generator lets you manipulate a visual canvas to define the visible region of any HTML element. Drag vertices to build a polygon, or switch to circle and ellipse modes, and the tool outputs a ready-to-copy declaration like `clip-path: polygon(50% 0%, 0% 100%, 100% 100%)` that clips the element to a triangle.
Reach for this when you need a visual reference rather than writing coordinate math by hand. Bennett Feely's Clippy is the most-referenced alternative and covers the same basic shapes; the main difference is context: if you want to preview the clip against your own artwork or quickly test multiple polygon configurations, a live canvas avoids the trial-and-error loop of editing raw percentage values in DevTools.
One sharp edge to know: `clip-path` does not remove the element from layout flow. The invisible region still occupies space and, in most browsers, still intercepts pointer events. This surprises developers who expect it to behave like `overflow: hidden`. Also, animating between two `polygon()` values requires both shapes to have the same vertex count; mismatched point counts produce a hard cut instead of an interpolated transition.