Miscellaneous Tools

CSS Clip Path Generator

Generate modern CSS clip-path shapes visually. Create polygons with draggable interactive control points, circles, ellipses, and inset frames with live preview, copy, and download.

Interactive Polygon Coordinates

3 Points

Drag the blue knobs on the preview canvas, or fine-tune coordinates numerically below:

Live Clip-Path Canvas

CSS Output Code
/* Calculating CSS... */
Standard W3C CSS3 Syntax

Curated Shape Presets

19 Shapes

Click any preset to instantly apply its geometric clipping path:

CSS clip-path Syntax & Developer Reference

CSS3 Specification

The CSS clip-path property creates a clipping region that sets what part of an element is visible. Everything inside the region renders normally, while everything outside the clipping path is hidden and completely non-interactive.

Standard Basic Shape Functions: clip-path: polygon(x1 y1, x2 y2, ...) | circle(r at cx cy) | ellipse(rx ry at cx cy) | inset(t r b l round rad) | path("SVG d");

polygon()

Defines an N-sided polygon using coordinate pairs (x y) in percentages or pixels, connected sequentially in clockwise order to form a closed shape.

circle()

Renders a circle using a single radius length (e.g. 50%) centered at specified X and Y coordinates (e.g. at 50% 50%).

ellipse()

Creates an oval by declaring independent horizontal (rx) and vertical (ry) radii relative to a central origin point.

inset()

Defines an inner cropping rectangle with Top, Right, Bottom, and Left padding offsets, plus optional round <radius> for corner curvature.

Shape Function Arguments Responsive Behavior Best Used For
polygon() Comma-separated coordinate pairs 100% fluid with percentage coordinates Angled cards, hero banners, arrows, stars, badges
circle() Radius + at <position> Adapts to element container bounds Circular avatars, reveals, floating action buttons
ellipse() Radius X, Radius Y + at <position> Scales with container aspect ratio Pill banners, arched headers, stadium tags
inset() Top, Right, Bottom, Left + round Uniform margin crop Inner card borders, rounded picture frames
path() SVG path data string ("M ... Z") Fixed pixel coordinates (non-fluid) Organic Beziers, curves, custom vector icon clipping

Frequently Asked Questions

FAQ & Troubleshooting

The CSS clip-path property allows developers to mask elements into custom shapes such as polygons, triangles, circles, and ellipses. Anything inside the path remains visible, while outside areas are cropped away. Unlike CSS border-radius, clip-path can create arbitrary polygonal geometry and sharp diagonal edges.

Yes! When you use percentages (e.g. 50% 0%), coordinates calculate proportionally based on the element’s rendered width and height. As the element resizes on mobile, tablet, or desktop viewports, the clipping shape automatically stretches and scales in perfect proportion.

Click and drag any of the blue circular handles on the live canvas. As you drag, the SVG connecting lines, shape clipping, and generated CSS update instantaneously. You can also edit coordinates numerically using the X and Y coordinate sliders on the left panel.

Yes. In the Canvas Fill Mode dropdown, select "Upload Local Image File". Using the browser HTML5 FileReader API, your image is loaded directly into your browser client-side with zero server storage, ensuring 100% privacy and instant performance.

polygon() defines straight-line edges between vertices using responsive percentage coordinates. path() uses SVG path syntax (e.g., cubic Beziers, arcs) allowing smooth curves, but coordinates are fixed in physical pixels and do not automatically scale with element dimensions without complex SVG transforms.

All modern versions of Chrome, Edge, Firefox, Safari, and mobile browsers support standard clip-path. However, Safari on iOS and older WebKit engines previously required -webkit-clip-path. Our generator includes a convenient prefix toggle so your output remains universally compatible.

No. A significant advantage of CSS clip-path is that pointer events (clicks, hovers, touches) are discarded for the clipped-out area. Users can click through the invisible parts to interactive elements underneath.

Yes! The PaceTools CSS Clip Path Generator is 100% free, runs entirely inside your browser, and requires no registration. You can create shapes, preview in real time, copy code, or download a .css stylesheet file immediately.
Copied CSS to clipboard!