← All tools

CSS Clip-path Generator

Drag polygon points or tune circle, ellipse, and inset values to build clip-path CSS, with presets and import. All local.

This tool runs entirely in your browser. Your input is never uploaded.

Presets
CSS
clip-path: polygon(50% 0%, 100% 100%, 0% 100%);

Drag the points in the preview, or edit the coordinates below.

Four shape functions

Build circle(), ellipse(), inset(), and polygon() clip paths. Circle, ellipse, and inset use sliders for radius, radii, offsets, and the round corner radius. Inset shorthand is expanded to four explicit percentages for clarity.

Drag polygon points

Grab any vertex in the preview and drag it — coordinates snap to a 0–100% grid and mirror into the numeric fields. Add or remove points freely (3 to 24); the gradient preview shows the exact clipped result.

Presets and import

Start from triangle, diamond, hexagon, star, arrow, speech bubble, avatar circle, or ticket presets, then fine-tune. Paste any existing clip-path value (with or without the property name) into the import box to keep editing it here.

Export

Copy or download a ready-to-use clip-path: ...; declaration. Your shape is saved in this browser. All processing happens locally.

Related tools

A growing collection of browser-only tools. Your data stays on your device whenever the browser can handle the task.