Clip-Path Maker

What Is CSS Clip-Path?

The CSS clip-path property clips an element to a custom shape — anything outside the shape is hidden. You can create polygons, circles, ellipses, and complex SVG paths to mask images, build creative layouts, design section dividers, and add visual interest without image editing software.

Supported Shape Functions

polygon() — define any shape with coordinate points. circle() — clip to a circle with radius and center position. ellipse() — clip to an ellipse with horizontal and vertical radii. inset() — clip to a rectangle with optional rounded corners. This tool focuses on polygon shapes with draggable points for maximum creative control.

How to Use This Clip Path Maker

  1. Choose a base shape — Select from circle, ellipse, polygon, or inset as your starting shape.
  2. Drag the control points — Click and drag the polygon vertices or shape handles to create your custom clip-path.
  3. Add or remove points — Click anywhere on the canvas to add a point (it joins the outline between the last and first points), then drag it into place. Double-click a point, or select it and press Remove, to delete it.
  4. Preview on your content — See the clip-path applied to an image or colored div to judge the visual effect.
  5. Copy the CSS — Grab the complete clip-path property declaration.

Worked example: the copied CSS on boxes that are not square

The editor is square, but the CSS you copy will go on elements of any shape. On October 12, 2026 we applied the tool's output to 400 × 400, 400 × 200 and 200 × 400 boxes in Chromium and measured the visible area.

clip-path400 × 400400 × 200200 × 400
circle(40% at 50% 50%) (default)320 px circle252 px wide, cut flat at top and bottom (200 px)200 px wide, cut flat at the sides; 252 px tall
polygon(…) presetsas drawnstretched to 2:1: the hexagon and star are squashedstretched to 1:2
Frame preset10% border ring, centre clearuneven ring: 40 px at the sides, 20 px top and bottom20 px at the sides, 40 px top and bottom

Frequently Asked Questions

What is CSS clip-path?
The clip-path property clips an element to a specified shape, hiding everything outside the boundary. It supports polygon(), circle(), ellipse(), and inset() shapes. Commonly used for creative layouts, image masks, and section transitions.
Can I animate clip-path?
Yes — clip-path can be animated with CSS transitions and keyframes as long as the number of polygon points stays the same between states. This enables reveal animations, morphing shapes, and interactive hover effects.
What is the difference between clip-path and mask?
clip-path creates hard-edged shapes (fully visible inside, fully hidden outside). CSS mask supports gradient transparency, allowing partial visibility and soft-edge effects using images or gradients.
Can clip-path be animated?+
Yes, clip-path can be smoothly animated with CSS transitions and keyframes, as long as both the start and end shapes use the same function type and the same number of points. Polygon shapes with matching vertex counts transition beautifully.
What is the difference between clip-path and overflow: hidden?+
Overflow: hidden clips content to the element's rectangular box. Clip-path clips to any shape — circles, polygons, custom paths. Clip-path also affects the element itself, not just its children. Both make content invisible but clip-path offers far more creative control.

📖 Learn More

Related Article CSS Clip-Path and Shapes Guide →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service