Color · Made a little simpler

Clip Path Generator

Drag and edit polygon points or configure a circle, ellipse or rounded inset. Preview a photo in three aspect ratios and download clip-path CSS.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
Clip settings
Polygon points

Clip preview

Photo in the clipping preview

Drag a point or focus it and press the arrow keys. Shift moves it by five percentage points.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Clip Path Generator: how to use it

  1. Choose Polygon, Circle, Ellipse or Inset. Select a polygon preset if you want a starting outline.
  2. Move the handles or enter percentages. Compare Landscape, Square and Portrait frames with the sample or a photo from your device.
  3. Set a class name, then copy or download the CSS rule and apply the class to the element you want to clip.

Limits and notes

Polygons use 3–24 points. Coordinates and dimensions use 0–100%. Preview photos support PNG, JPEG and WebP up to 12 MB. Inputs and images stay on your device.

How your privacy works →

Clip Path Generator: common questions

How do I position a polygon point precisely?

Choose the point by number and enter its X and Y percentages. You can also focus the handle and press an arrow key for one percentage point, or hold Shift for five.

Can I apply the same clip path to different screen sizes?

Yes. Polygon coordinates use a percentage of the element’s width and height. Change Preview frame to see how that outline fits boxes with different proportions.

What happens to the original image when I apply the CSS?

The browser clips the painted area to the chosen shape. The asset retains its original pixels and dimensions, and the element still occupies its layout box.

Guides