Loona Automation logoLoona Design Studio
Home › Design Tools › Clip Path Generator

Clip Path Generator — CSS Shapes: Polygon, Circle, Ellipse & Inset

In short: the Clip Path Generator clips any element into real shapes — polygon presets (triangle, pentagon, hexagon, arrow, star), circle, ellipse and rounded inset — with the clip-path CSS written for you.

clip-path is how modern sites cut hero images into angles and photos into stars without image editing. Pick a shape, see it live, copy one line.

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

How to use the Clip Path Generator

  1. Choose a shape type; for polygons, pick a preset.
  2. The preview element is clipped instantly — the same code will clip your own images and sections.
  3. Copy the clip-path declaration.

How it works

Polygon points are percentages of the element’s box, so shapes scale with the element. Unlike border tricks, clip-path clips the element’s entire rendering — backgrounds, images and borders alike — and the clipped-away part does not receive clicks.

Worked example

A landing page’s hero photo is clipped into a hexagon to match the brand’s logo geometry — no image editor, one CSS line.

Frequently Asked Questions

Does clip-path work on images?

Yes — it is most famous for images, but it clips any element, including whole sections for angled page dividers.

Can I make a custom polygon?

Start from the closest preset and nudge the percentages in the copied CSS — each pair is one point (x% y%), listed clockwise.

Is text clipped too?

Text inside the element is clipped with it — for text effects, the Text Gradient Generator is the better tool.

Browser support?

All modern browsers support clip-path shapes; the polygon/circle/ellipse/inset forms used here are the safest set.

More Colour & CSS Generators

The visual Color Palette Generator and the basic Gradient Generator live in Loona Image Tools; this family is the CSS-developer-grade set (multi-stop gradients, exact code output).

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.