Loona Automation logoLoona Developer Tools
Home › Developer Tools › CSS Clip-Path Generator

CSS Clip-Path Generator - Shape Your Elements Visually

In short: the CSS Clip-Path Generator gives you ready clip-path CSS for polygons (triangle to star), circles, ellipses and insets - pick a shape, nudge its points, watch the live preview and copy the code. Note: this site's sister Image tools already cover gradients; clip-path lives here because it is layout CSS, not image editing.

Clip-path turns rectangles into design: angled sections, badges, arrows and stars with one CSS property. The hard part is the coordinates - this tool handles them.

Private by design: everything in this tool happens 100% in your browser with JavaScript. Your input is never uploaded to a server, never stored and never seen by us - close the tab and everything is gone.

How to use the CSS Clip-Path Generator

  1. Choose a shape preset.
  2. For polygons, adjust any point's x,y percentages.
  3. Watch the preview update live.
  4. Copy the CSS - both the standard and -webkit- property are included.

How it works

Polygon points are percentages of the element's box, so shapes scale with the element. The presets encode well-known coordinate sets (a regular pentagon, hexagon, a ten-point star and more), and the generator emits both clip-path and the -webkit- prefixed twin that Safari has historically needed. Circle, ellipse and inset cover the non-polygon shapes the property supports, including rounded insets.

Frequently Asked Questions

Is this generator free?

Yes - completely free, no sign-up.

Why is there also a gradient generator on the Image site?

Gradients there are treated as image/design assets. Clip-path is layout CSS for developers, so it lives here - each tool exists on exactly one Loona site.

Does clip-path affect clicks?

Yes - the clipped-away area is not clickable, which is usually what you want for shaped buttons and cards.

Browser support?

All modern browsers support clip-path; the -webkit- prefix in the output covers older Safari.

Is anything uploaded?

No. Everything runs in your browser.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.