Logo

Complete Tools

Search tools
Ctrl K
Favoritekofi

CSS Clip Path Generator

Create custom shapes using CSS clip-path property with visual preview.

Generate CSS clip-path code with real-time visual preview. Create custom shapes including circle, ellipse, polygon, and inset. Copy CSS code with vendor prefixes instantly.

Categories
CSS Tools
Circle Settings
Radius: 50%
Position X: 50%
Position Y: 50%
Clip Path Preview
CSS Clip Path
-webkit-clip-path: circle(50% at 50% 50%);clip-path: circle(50% at 50% 50%);

What is CSS Clip Path Generator?

CSS Clip Path Generator is a free online tool that helps you create custom shapes using CSS clip-path property. Create circles, ellipses, polygons, and inset shapes with visual preview and instant CSS code generation.

With our clip-path generator, you can:

  • Create 4 shape types - circle, ellipse, polygon, inset
  • Adjust shape parameters with precise sliders
  • Preview in real-time with gradient background
  • Work seamlessly in both light and dark themes
  • Copy instantly with vendor prefixes included

Understanding CSS Clip Path

The clip-path property creates a clipping region that defines which part of an element should be visible. Everything outside the region is hidden.

Clip Path Syntax

Circle:

clip-path: circle(50% at 50% 50%);
/* radius at x y position */

Ellipse:

clip-path: ellipse(50% 35% at 50% 50%);
/* radiusX radiusY at x y */

Polygon:

clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
/* x1 y1, x2 y2, x3 y3, ... */

Inset:

clip-path: inset(10% 10% 10% 10% round 0%);
/* top right bottom left round radius */

Key Features

4 Shape Types

  • Circle: Perfect circles with radius and position control
  • Ellipse: Oval shapes with separate X/Y radius
  • Polygon: Custom shapes with adjustable corners
  • Inset: Rectangular cutouts with optional rounded corners

Visual Real-Time Preview

See your clip-path applied to a gradient box instantly.

Precise Control

Each shape has dedicated sliders for all parameters.

Dark Theme Support

Works seamlessly in both light and dark modes.

Vendor Prefixes Included

Generated CSS includes -webkit-clip-path for compatibility.

How to Use

  1. Select Shape: Choose circle, ellipse, polygon, or inset
  2. Adjust Parameters: Use sliders to modify shape properties
  3. Preview: See real-time changes on gradient box
  4. Copy CSS: Click Copy button for code with prefixes

Common Use Cases

Circular Avatar

.avatar {
  clip-path: circle(50% at 50% 50%);
}

Diagonal Section

.section {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

Rounded Inset

.card {
  clip-path: inset(0% 0% 0% 0% round 20%);
}

Custom Shape

.shape {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

Browser Compatibility

  • Chrome: Version 55 and above - Full support (with prefix from v23)
  • Firefox: Version 54 and above - Full support
  • Safari: Version 9.1 and above - Full support (with prefix from v7)
  • Edge: Version 79 and above - Full support
  • Opera: Version 42 and above - Full support

Note: Our generator includes -webkit-clip-path prefix for older browsers.

Frequently Asked Questions

What is CSS clip-path?

The clip-path property creates a clipping region that defines which part of an element is visible. Content outside the region is hidden.

Can I animate clip-path?

Yes! Clip-path can be animated with CSS transitions or animations for creative effects.

What's the difference between clip-path and border-radius?

border-radius only creates rounded corners. clip-path can create any custom shape.

Can I use clip-path on images?

Yes! Clip-path works on any element, including images, divs, and text containers.

Does clip-path affect layout?

No! Clip-path is visual only. The element still occupies its full space in the layout.

Comments

Complete Tools
AboutTermsPrivacyContact

Copyright © 2022 - 2025 Complete Tools. Unless otherwise noted, all code MIT license.


Made with by Complete JavaScript