Toolvist

CSS Clip-Path Maker

Cut elements into shapes visually with clip-path, including circles, polygons, and ellipses.

Drag the round handles to reshape a polygon.

Preview

Free CSS Clip-Path Maker

The CSS Clip-Path Maker helps you cut any element into a shape visually. Pick a preset or drag the polygon vertices, then copy the generated clip-path CSS into your stylesheet.

Clipping goes further than the CSS Border Radius Generator can, and the shapes it makes often need the CSS Triangle Generator for the simpler cases. The layout around them is built with the CSS Flexbox Generator and CSS Grid Generator.

How to use the Clip-Path Maker

  1. 1 Drag the handles on the preview to shape the element, or pick a preset shape to start from.
  2. 2 Choose between a circle, an ellipse, an inset rectangle, or a full polygon with as many vertices as you need.
  3. 3 Add and remove polygon points; each one is listed with its coordinates so you can type exact values.
  4. 4 Copy the generated `clip-path` declaration into your stylesheet.

When clipping is the right tool

A clip-path changes the silhouette of an element without changing its geometry. That is exactly right for decorative purposes — an angled section divider, a hexagonal badge, a shaped hero image — because nothing downstream needs to know about the shape.

It is the wrong tool for anything that must actually be that shape, such as an element whose surrounding text should wrap around it, or a hit area that has to match the visual outline. `shape-outside` handles text wrapping around a shape and is the companion property for that case.

  • Use percentages when the element's size is fluid, pixels when it is fixed.
  • `polygon()` vertices are ordered and must trace the outline in sequence.
  • Keep a fallback in mind: a browser that does not support the shape shows the unclipped rectangle.

Frequently asked questions

Does `clip-path` change the element's box or its layout?

Neither. It clips only the painted output — the element still occupies its full original box in the layout, still receives pointer events across that whole box, and still affects the flow of siblings exactly as before. This surprises people who clip an element into a triangle and then find the invisible corner still blocks clicks.

How do I make the clipped area respond to pointer events correctly?

`pointer-events` does not respect the clip. You have either to accept that the full box is interactive and design around it, or to wrap the shape's target in a smaller element. For a decorative shape this rarely matters; for a clickable arrow or a tag it usually does.

Which shape values need units?

The `polygon()` function takes lengths or percentages for each vertex and needs units unless you use percentages. The `circle()` function takes a radius, which also needs a unit — `circle(50%)` rather than `circle(50)`. An inset rectangle takes up to four values, in the same order as margin: top, right, bottom, left.

Related Image & Color Tools

Browse all Image & Color Tools →

You might also need

Tools from other categories that people pair with the Clip-Path Maker:

Browse the full tool directory →