HomeCSS Clip Path Generator

CSS Clip Path Generator

Online CSS clip-path generator with visual polygon, circle, ellipse, and inset editing, plus code copy and SVG/PNG export.

Shape Type

Preset Shapes

Shape Parameters

Drag control points in the editor or use presets to adjust polygon shapes quickly.

Points3

Appearance

deg

Live Preview

Editor

Only polygon mode supports dragging points. For other shapes, adjust values in the left panel.

CSS Code

.shape {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

Current Values

clip-pathpolygon(50% 0%, 100% 100%, 0% 100%)
ShapePolygon

Export



Documentation

About CSS Clip-path Generator

This tool visually creates clip-path shapes with adjustable parameters, presets, and exportable CSS.

Key Features

  • Shape Types: polygon, circle, ellipse, inset, etc.
  • Parameter Editing: Control points, radius, inset values, and rounding.
  • Preset Library: Apply common clipping shapes quickly.
  • Appearance Controls: Tune gradient/size for preview context.
  • Code Output: Generates clip-path and -webkit-clip-path declarations.

Steps

  1. Select a shape type.
  2. Adjust related parameters.
  3. Try presets for fast iteration.
  4. Copy generated CSS to your target element.

Use Cases

  • Creative avatar/card masking.
  • Non-rectangular visual sections in layouts.
  • Layer clipping transitions in motion design.

FAQ

Why does it fail in some browsers?

Support can vary. Use prefixed declarations and verify browser compatibility.

Does too many polygon points matter?

Yes. Excessive points increase rendering and maintenance cost. Prefer minimal point sets that still describe the shape.