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
Local2. Preview & CSS
CSSAbout 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.
Step by step
- Choose a base shape such as a polygon, circle, or ellipse.
- Drag its points or adjust its radii to refine the shape.
- Watch the clip-path apply live to the preview image.
- Adjust until the mask looks right.
- Copy the generated clip-path CSS.
What it offers
- Polygon, circle, and ellipse shapes
- Draggable points and adjustable radii
- Live preview on an image
- Production-ready clip-path CSS
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
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.
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.
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.
Common questions
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.