CSS Clip-Path and Shape Generator

Build clip-path shapes with editable polygon points and triangle, diamond or arrow examples.

On-device No sign-up Free to use

Create clip path controls

?

3–30 rows, each with two percentages from 0 to 100 separated by a tab. A closed polygon joins the last point to the first.

?

CSS percentage circle radius follows the reference-box normalized diagonal.

Processed in your browser. Your inputs stay on this device.

Showing an example. Change the fields, then use create clip path to update it.

Result

Showing an example.

Make a triangle from three percentage points. Circle, ellipse and inset settings are unused in polygon mode.

.clipped-shape {
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

Loading the tool. Your result will appear here.

https://usefreetools.net/css-clip-path-shape-generator · 20 November 2026

Was this helpful?

How to use CSS Clip-Path and Shape Generator

  1. Choose Polygon, Circle, Ellipse or Inset rectangle. Only the relevant shape fields are used.
  2. For a polygon, edit the points grid, choose an example, or enter tab-separated X/Y percentages in the text field. For other shapes, set the center and radius or inset edges.
  3. Inspect the local outline, then select Create clip path and copy or download the CSS. Replace .clipped-shape with your selector and test the rule at the target element’s real sizes.

Example: CSS Clip-Path and Shape Generator

Make a triangle from three percentage points. Circle, ellipse and inset settings are unused in polygon mode.

You add
Clip shape: polygon; Polygon points: x percent, tab, y percent: 0 0 100 0 50 100
You get
.clipped-shape { clip-path: polygon(0% 0%, 100% 0%, 50% 100%); }

Options

Polygon points
The text field accepts 3 to 30 rows with X and Y percentages separated by a tab. Use at least three distinct points; the last point connects to the first. The point grid supports up to 12 rows, so use the text field for a larger polygon.
Circle and ellipse
The center and radii use percentages from 0 to 100. A circle’s percentage radius uses the reference box’s normalized diagonal; ellipse X and Y radii use the corresponding box dimensions. Check a nonsquare target rather than relying only on the square preview.
Inset rectangle
Enter top, right, bottom and left percentages from 0 to 100. Opposing edges must total less than 100% so the shape remains visible.
Actual target
Clipping changes the painted area while the layout box remains. The sample does not assess another element’s content, interaction or focus outline. Keep meaningful information and focus visible.

Supported inputs and limits

  • Up to 30 polygon vertices and documented percentage values.
  • No arbitrary CSS, URLs or external resources.
  • Clipping hides visual content and can hide focus outlines; preserve an accessible fallback.
  • The generated shape does not implement a visual drag editor or certify browser compatibility.
  • Point rows supplement advanced input.
More details

Pointer dragging and SVG-mask export are not provided.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Clipping changes visibility

A clipped element still needs a usable focus state and readable content. Check the copied rule on the actual box, especially after it resizes or gains text. A successful polygon can cut away meaningful information or part of an interactive control. Keep an unclipped alternative when the shape is decoration rather than essential structure.

Questions about CSS Clip-Path and Shape Generator

Does clipping change the element’s layout box?

No. The surrounding layout still uses its box even when some of its drawing is clipped.

Can I clip an interactive control safely?

Check focus visibility and interaction in the actual page; a decorative preview does not establish that behavior.

Can coordinates reference a remote SVG?

No. This generator creates the supported local basic shapes only.

Page updated · Project managed by Tony Hines · Report a problem with CSS Clip-Path and Shape Generator