Skip to content
OneTooling

CSS Clip-path Maker

Build CSS clip-path shapes by dragging points on a preview. Start from presets like star, arrow, and polygons, then copy the CSS. Runs in your browser.

Runs in your browser · nothing uploaded

Shapes

Selected point: 1 of 3, at 50% 0%. Drag a dot, or focus one and use the arrow keys (Shift for bigger steps).

Your image stays on your device.

CSS

clip-path: polygon(50% 0%, 0% 100%, 100% 100%);

Why is there an ad? This tool is free and runs on your device. One small ad pays for hosting and new tools. No pop-ups, no autoplay, never inside the tool. How we make money

How to make a CSS clip-path

  1. Choose a shape such as Triangle, Star, Arrow, or Message bubble, or switch to Circle, Ellipse, or Inset.
  2. Drag the dots on the preview to reshape a polygon, or use the arrow keys. Add or remove points with the buttons.
  3. Press Copy CSS and paste the clip-path line onto your element.

The faded picture behind the shape shows what gets cut off. Use Preview with my image to try the shape on your own photo before you write it into your design.

Questions

Is my image uploaded?

No. If you preview with your own picture, it is shown straight from your device and never sent anywhere. The CSS is written by your browser.

What does clip-path do?

It hides every part of an element outside a shape you define, so a plain box can look like a triangle, a star, or a speech bubble. The hidden area also stops reacting to clicks.

Why do the points use percentages?

Percentages are relative to the element, so the same shape scales with it. A star on a 200 pixel box and on a 600 pixel box looks the same.

Can I animate between two shapes?

Yes, as long as both polygons have the same number of points. Copy one shape, copy another with the same count, and transition the clip-path property in CSS.

Does a clip-path cut off shadows and borders?

Yes. Anything outside the shape is clipped, including box-shadow and outlines. To keep a shadow, put the clipped element inside a wrapper and apply filter: drop-shadow() to the wrapper.

Credits

Built by OneTooling using standard browser features. No third-party code runs on your data.