CSS clip-path generator
Choose a shape and drag the points in the preview to adjust it. Clip-path code in percentages works at any element size.
How to useCrop into shapes with clip-path
CSS clip-path generator: what it is for
Choose one of the ready-made shapes (triangle, rhombus, hexagon, pentagon, star, arrow, message, cut corners, parallelogram, circle or ellipse) and drag the points in the preview to adjust it. Coordinates are in percentages, so the crop works at any size.
Test it with your own photo and copy the ready clip-path line.
How to use
- Choose a shape.
- Drag the points to adjust and test with a photo.
- Copy the clip-path and use it in your CSS.
When to use it
- Photos with different shapes on websites.
- Sections with slanted edges.
- Badges, arrows and bubbles with CSS only.
Frequently asked questions
What is clip-path?
It is a CSS property that shows only the part of an element inside a shape. The image stays whole in the file; only what falls outside the shape is hidden.
Does it work in every browser?
Yes. polygon(), circle() and ellipse() work in all current browsers, without prefixes.
Can I animate it?
Yes, between two polygon() shapes with the same number of points, using transition or animation on clip-path. The points move smoothly from one shape to the other.
Is it really free?
Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.