About the CSS Clip Path Generator
This in-browser tool helps you draw common CSS clip-path shapes and get the CSS ready to paste. You pick a shape such as triangle, hexagon, star or rounded inset. You fine tune size and position with sliders and watch changes in a live preview. Everything runs in your browser, so you do not upload images or send data to a server. Designers and front-end developers use it to test shapes, build decorative masks, and prepare UI assets. Compared with minimalist generators, it lists many preset shapes and gives live numeric feedback from the sliders. The interface focuses on quick results: pick a shape, adjust sizes, then copy the clip-path rule. No install and no account needed to use it.
How to use it
- 1Choose a shape from the preset list (triangle, pentagon, hexagon, star, circle, ellipse, inset, rounded inset, etc).
- 2Adjust size, position and corner sliders until the preview matches your design.
- 3Watch the live preview update in real time and refine values.
- 4Copy the generated clip-path CSS and paste it into your stylesheet or inline style.
Worked example
Input: choose circle, set radius slider to 40% and center to 50% 50%. Output CSS: clip-path: circle(40% at 50% 50%);
How it works
Makes CSS clip-path shapes: triangle, trapezoid, parallelogram, rhombus, pentagon, hexagon, octagon, star, arrow, chevron, message bubble, cross, circle, ellipse and rounded inset, with size sliders and a live previewWorks in the browser with nothing to installSource: MDN Web Docs on clip-pathW3C CSS Masking Module Level 1. Last checked 7 November 2026.
What it is good for
- Make common shapes without writing coordinates by hand.
- See instant visual feedback as you tweak sliders.
- Run entirely in your browser with no uploads.
- path() output uses pixel coordinates and may not scale responsively without extra work.
- Tool focuses on preset shapes and sliders and does not export SVG clipPath or framework-specific formats.
Questions people ask
What is clip-path?
clip-path is a CSS property that defines a clipping region. Only the area inside the shape is painted. You can use functions like polygon(), circle(), ellipse(), inset(), or path(). See MDN for full syntax.
How do I make a responsive polygon shape?
Use percentage coordinates with polygon() so the shape scales with the element. For example: clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%). Avoid path() for responsive layouts.
Can I animate clip-path shapes?
Yes, but browsers only interpolate smoothly when both values use the same function and the same number of arguments. For example, animate between two polygon() shapes with equal point counts.
Do I need a -webkit- prefix?
Most modern browsers do not require -webkit-clip-path. Add the prefix only if you support very old Safari or legacy iOS. Check your site analytics and current browser support before adding prefixes.
Does clip-path affect layout or clicks?
clip-path only affects painting, so the element keeps its layout space. Pointer events and visible area are limited to the clipped region, so parts outside the clip are not clickable.
Where does my work go when I use the tool?
All editing runs in your browser. You do not upload files or send values to a server. The generated CSS stays local unless you copy or paste it elsewhere.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.