Clip path

CSS Clip Path Generator

Pick a shape, adjust its points or radii, and see the clip-path applied live to an image. Copy production-ready CSS when it looks right.

1. Shape

Local

2. Preview & CSS

CSS
About this tool

About CSS Clip Path Generator

The CSS Clip Path Generator lets you pick a shape, adjust its points or radii, and see the clip-path applied live to an image, then copy production-ready CSS. It is for developers masking elements into custom shapes.

Writing clip-path coordinates by hand is painstaking. Editing the shape visually against a real image makes it manageable, and the generated CSS is ready to paste.

How to use

Step by step

  1. Choose a base shape such as a polygon, circle, or ellipse.
  2. Drag its points or adjust its radii to refine the shape.
  3. Watch the clip-path apply live to the preview image.
  4. Adjust until the mask looks right.
  5. Copy the generated clip-path CSS.
Key features

What it offers

  • Polygon, circle, and ellipse shapes
  • Draggable points and adjustable radii
  • Live preview on an image
  • Production-ready clip-path CSS
Common use cases

Where it helps

  • Masking images into custom shapes
  • Creating angled or diagonal section edges
  • Designing decorative cut-outs for hero sections
  • Clipping elements to non-rectangular forms
Best practices

Tips for best results

  • Check that the clip does not remove the key subject of an image.
  • Prefer simple shapes where possible, since complex polygons are heavier to render.
  • Test the clipped element across screen sizes, as percentages shift the shape responsively.
Common mistakes to avoid

Pitfalls to watch for

  • Clipping away important parts of an image, such as a subject’s face.
  • Using a complex polygon where a simple shape would render more efficiently.
  • Forgetting that clipped areas still occupy layout space and can affect surrounding content.
Benefits

Why people use it

Visual editing

Shape the clip against a real image.

Multiple shapes

Start from polygons, circles, or ellipses.

Copy-ready

Paste the clip-path CSS directly.

Private

Editing happens locally.

FAQ

Common questions

Circle, ellipse, inset (rounded rectangle), and polygon — including ready presets like triangle, hexagon, and star, plus fully custom points.
Each point is an X and Y percentage of the box. Add, edit, or remove points to draw any convex or concave shape.
It changes what is visible, not the element box. Surrounding layout stays the same; only the painted area is clipped.
No. The CSS is generated entirely in your browser.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.