UtilityBase logoUtilityBase

Developer Tools

Clip-Path Generator

Pick a clip-path shape and copy the CSS — with a live preview.

Updated July 13, 2026

How to use the clip-path generator

  1. 1Pick a shape from the list.
  2. 2See it applied live to the preview box.
  3. 3Copy the clip-path CSS (Safari prefix included).
  4. 4Apply it to an image, card, or section on your page.

Common uses

  • Making hexagon or circle avatars
  • Creating angled section dividers
  • Cutting arrows, badges, or speech bubbles
  • Learning clip-path polygon syntax

Frequently asked questions

What is clip-path used for?

clip-path cuts an element down to a shape — a hexagon avatar, an angled section divider, an arrow, a speech bubble — without changing its layout box. The area outside the shape becomes transparent, so whatever's behind shows through. It works on images, divs, videos, and more.

Do the shapes stay responsive?

Yes. The polygon points and circle/ellipse radii use percentages, so the shape scales with the element at any size. That's the advantage over cropping an image — one CSS rule adapts to any width and height without a separate asset.

Is clip-path widely supported?

Yes, in all modern browsers. Older Safari versions need the -webkit-clip-path prefix, which this tool includes alongside the standard property. Browsers that don't support it simply show the full, unclipped element, so it degrades gracefully.

About this tool

The clip-path generator turns CSS clip-path into a point-and-click tool: choose from triangles, hexagons, stars, arrows, message bubbles, circles, ellipses, and more, see the shape applied live to a gradient box, and copy the CSS. Because clip-path uses percentage coordinates, the shapes stay responsive and scale with the element, and the clipped-away area becomes transparent so backgrounds show through. The -webkit- prefix is included for older Safari. Everything runs in your browser.

Like most tools on UtilityBase, the clip-path generator runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more developer tools here.

Was this tool helpful?

Related tools