CSS Clip-Path Generator

This online generator helps with creating shapes for images using the css clip-path property. Select from a range of preset shapes or create a custom shape, you'll then be able to get the desired look by moving the points over the image, once you have the perfect shape the css code is automatically generated for you. If you wish, you can upload your own image to use.

The inset() shape optionally allows values similar to border-radius for rounded edges.

to add points
to custom polygon.
CSS Code
clip-path: ;

The above CSS code is now editable (Only works with polygons).

    Demo Size
    Demo Background
    Show outside clip-path

    About CSS Clip-Path Generator

    A CSS clip path generator is a tool that helps you create and customize clip paths for elements on a webpage using Cascading Style Sheets (CSS). Clip paths are used to define the visible portion of an element by specifying a shape or path. This can be used to create non-rectangular or complex shapes for elements, such as images, divs, or text, by hiding or revealing specific parts of the element.

    Clip paths can be defined using various methods, including:

    • Basic Shapes: You can use basic shapes like circles, ellipses, rectangles, and polygons to create clip paths.

    • Custom Paths: You can define custom paths using SVG (Scalable Vector Graphics) path data or by specifying coordinates and drawing complex shapes.

    A CSS clip path generator tool simplifies the process of creating clip paths by providing a graphical interface with code generator. These tools allow you to visually design the clip path or specify the necessary parameters, and then they generate the corresponding CSS code. This code can then be applied to your HTML elements to achieve the desired visual effects.

    Some advantages of using a CSS clip path generator include:

    • Ease of use: You don't need to write complex CSS code by hand; instead, you can interactively design your clip paths.

    • Visual control: You can see the immediate visual results of your clip path as you adjust it in the generator.

    • Time savings: It can save you time and effort, especially when working with complex clip paths.

    All credit for the code of this generator goes to Bennett Feely.