Clip Path Generator
Free online clip path generator for developers. Visual clip-path shape builder. Fast and private.
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);Embed this tool
Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.
<iframe src="https://www.theutilbox.org/embed/clip-path-generator" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Clip Path Generator tool from The Util Box"></iframe> <!-- Free tool by The Util Box — https://www.theutilbox.org/tools/clip-path-generator --> <a href="https://www.theutilbox.org/tools/clip-path-generator">Clip Path Generator by The Util Box</a>
Frequently Asked Questions about Clip Path Generator
Clip Path Generator — Circle, Ellipse, Inset and Polygon
This clip-path generator covers the four shapes CSS can express directly and previews the cut
against a gradient block so the removed area is obvious. Pick a shape and the parameter field fills with a
sensible default; edit that string and the preview and the generated
clip-path value follow along.
| Shape | Default parameters | Typical use |
|---|---|---|
| circle | 50% | Perfect circular avatars |
| ellipse | 50% 50% | Oval crops on non-square images |
| inset | 20% | Inset frames, image matting |
| polygon | 50% 0%, 100% 50%, 50% 100%, 0% 50% | Angled banners, diagonal section breaks |
The polygon default is a four-point diamond; each point is an x y pair of
percentages, so adding points means adding pairs and re-ordering them clockwise. That makes the parameter field
the real editor — the buttons just load starting values.
Clipping Changes What Is Painted, Not What Is Laid Out
A clip path hides pixels outside the shape but leaves the element's box in the layout, so the space it occupies does not change and neighbouring content does not reflow. It also does not remove the content from the accessibility tree or the DOM — clipped text is still read by a screen reader and still selectable, which is usually fine but worth knowing. For purely decorative diagonals and blobs that is exactly the behaviour you want; if you need the layout to actually shrink, clip a wrapper and resize it instead.
Where border-radius alone can do the job — simple rounded rectangles and pills — prefer it, because it is simpler and better supported. Reach for clip-path when the geometry is genuinely non-rectangular.
Related CSS Generators
- Border Radius Generator — rounded corners without the extra complexity.
- Transform Generator — rotate and skew the same element.
- Gradient Generator — the fill most clip-path shapes are given.
- SVG Editor — when the shape belongs in vector markup instead of CSS.
The preview and value are generated locally.