The inset() shape optionally allows values similar to border-radius for rounded edges. This new feature may be buggy in your browser.

    Demo Size

    ×

    Demo Background

    Show outside clip-path

    to add points
    to custom polygon.
    Auto Prefix

    -webkit-clip-path: ; clip-path: ;

    About CSS Clippath Generator

    What is Online CSS Clip Path Generator?

    CSS Clip Path Generator is a free online tool for generating CSS clip path for masking your images. "clip-path" is a CSS property for restricting the boundaries of an image by predefined rules. It gives you flexibility to obtain image masks just by using CSS. You can obtain image background transparency with JPG file type partially with this feature without using PNG and make an indirect image optimization.

    There are 4 different clip-path types, polygon, circle, ellipse and inset. Most widely used CSS clip-path type is polygon. You can put as much dots as you want to obtain a polygon and this shape will be used as a reference to you image mask. There are many geometric polygon shapes are available in the tool to use as a template to obtain the desired clip-path. They are varying from simple geometric shapes to more complex structures.

    CSS clip-path property can be used for different purposes. It is mostly used in landing page and hero images as image mask. We can say that it works as a CSS shapes generator. It is not mendatory to use an image as background. You can use css clip-path property with solid backgrounds or backgrounds with gradients. Also, you can use clip-path to shape your section separators. It is a common trick to use CSS clip-path to obtain diagonal section separators. It is better to use SVG mask for complex shapes like waves, curves, etc., but online CSS Clip Path Generator will be suffucient if the shape is simple.

    Here is an artistic image that is clipped with CSS clip-path. It looks more aesthetic than the raw image in your UI (user interface) design and webpages for most cases and it's a relatively low-cost operation.


    Clipped image with rhombus-shaped CSS clip-path

    How to use Online CSS Clip Path Generator?

    You can generate CSS clip-path code with the help of the instructions below.

    1. Select the shape you want to use as a template for your clip-path.
    2. You can either use placeholder images or your own background image by setting its URL.
    3. You can change the width and height of the preview image. Be careful, since clip-path coordinates are given in percentage, aspect ratio of the image is more important than the width and the height.
    4. Move the dots to change the path as you need by dragging them. When you get the desired result, you can use "Hide the guides" option to see the final result.
    5. If you get the desired clip-path, you can copy the CSS code to your clipboard and paste into your web project.
    100% Free, Always No Sign-up Required Files Deleted in 15 Min Private & Secure Works on All Devices

    How to Use the CSS Clippath Generator

    1. Open the tool — Visit the CSS Clippath Generator page on Easy Code Tools. No login or download is needed.
    2. Enter your input — Type your text, paste your data, or upload your file into the input area provided.
    3. Adjust settings (if available) — Configure any options or parameters to match exactly what you need.
    4. Process — Click the main action button (e.g., Convert, Generate, Calculate). The result appears instantly.
    5. Use your result — Copy the output, download the file, or use the generated content as needed.

    Frequently Asked Questions

    Yes — the CSS Clippath Generator is 100% free to use. There are no hidden charges, no subscriptions, and no account required. Just open the page and start using it right away.
    No installation is needed. The CSS Clippath Generator runs entirely in your web browser on any device — desktop, laptop, tablet, or smartphone. A modern browser like Chrome, Firefox, Edge, or Safari is all you need.
    Absolutely. Easy Code Tools is built with your privacy in mind. Many tools process data directly in your browser without uploading anything to a server. When server-side processing is required, all uploaded files are automatically and permanently deleted within 15 minutes. We never store, sell, or share your files or personal data. See our Privacy Policy for full details.
    The CSS Clippath Generator uses established algorithms to deliver accurate, consistent results. All processing happens instantly in your browser or on our secure servers, ensuring speed and reliability every time.
    Yes. Easy Code Tools is fully responsive and works perfectly on all screen sizes, including smartphones and tablets. You can also install it as a Progressive Web App (PWA) for instant one-tap access directly from your home screen.

    Related Tools

    See all CSS Tools
    Copied!