SimplyToolbox
⌘K
ImageVideoPDFDeveloperCalculatorBlogAbout
HomeCSS ToolsCSS Clip Path Generator
✂️

CSS Clip Path Generator

Interactively create clip-path shapes with draggable points and live preview.

Preset Shapes

Drag points in the preview to adjust the shape

Point 1X: 50% Y: 0%
Point 2X: 100% Y: 100%
Point 3X: 0% Y: 100%

Preview

Generated CSS

clip-path: polygon(50% 0%, 100% 100%, 0% 100%);

What the CSS Clip Path Generator does

The CSS Clip Path Generator helps you crop an element into a custom shape using the clip-path property. Instead of memorising the syntax for polygons, circles, ellipses and inset rectangles, you build the shape visually and the tool writes the exact CSS for you.

For polygons it offers a draggable editor: each point is a handle you can move directly on the preview, and the coordinates update live as percentages of the element's box. This makes it easy to create triangles, diamonds, arrows, stars and other multi-point shapes that would be slow to hand-tune.

It is built for front-end developers and designers who want non-rectangular sections, image masks, decorative cutouts or animated reveal effects, and for learners exploring how each clip-path function is written.

How to use it

Choose a shape type from the tabs: polygon, circle, ellipse or inset. For polygons, start from a preset like Triangle, Hexagon, Arrow or Star, then drag any point on the preview to reshape it; the handles snap to whole-percent positions for clean values.

For circle and ellipse, adjust the radius (or two radii) and the centre position. For inset, set the distance clipped from each edge and an optional corner radius to round the visible rectangle.

When the shape looks right, copy the generated clip-path declaration and paste it onto your target element. Apply it to an image, a div with a background, or any block element to crop it to the shape you designed.

Tips and browser notes

Because all coordinates are percentages, the shape scales with the element, so the same rule works on different sizes. Remember that clip-path only changes what is visible — the element still occupies its original rectangular space in the layout, which matters for surrounding content and click areas.

The clip-path property is widely supported in modern browsers. For interactive reveals you can transition or animate between two clip-path values to create wipe and morph effects.

Frequently Asked Questions

Does this tool upload my images or data?▼
No. The clip-path generator runs entirely in your browser and only produces a CSS string. Nothing is uploaded, and the tool never sees any image you later apply the shape to.
Which shape types are supported?▼
You can generate polygon, circle, ellipse and inset clip paths. Polygons support an unlimited number of draggable points, including presets like triangle, hexagon, arrow and star.
How do I edit a polygon's points?▼
Drag any point handle directly on the live preview. The coordinates update in real time and snap to whole percentages, so the generated CSS stays tidy.
Does clip-path change the element's layout size?▼
No. Clip-path only controls what is visible; the element still takes up its full rectangular box in the layout, so plan spacing and click targets accordingly.
Is the generated CSS responsive?▼
Yes. The values are percentages relative to the element, so the clipped shape scales proportionally when the element's size changes.
Is the tool free?▼
Yes, it is completely free to use with no sign-up and no limits.

You might also like

🌫️

Box Shadow Generator

Create CSS box shadows visually with live preview

⬜

Border Radius Generator

Generate CSS border-radius with visual editor

📸

Code Screenshot

Turn code into beautiful screenshots like carbon.now.sh

🗜️

Image Compressor

Reduce image file size without losing quality

SimplyToolbox

90+ free online tools. No signup. No limits. Just tools that work.

AboutContactBlogPrivacy PolicyTerms of Use

Image & Video

  • Image Compressor
  • Image Resizer
  • Image Converter
  • Video Compressor
  • Video to GIF
  • Screen Recorder

PDF & Text

  • PDF Compressor
  • PDF Merger
  • PDF Splitter
  • Word Counter
  • Markdown Editor
  • Text Diff Checker

Developer

  • JSON Formatter
  • Base64 Encoder
  • Hash Generator
  • Password Generator
  • UUID Generator
  • Regex Tester

Tools & More

  • Unit Converter
  • BMI Calculator
  • Currency Converter
  • QR Code Generator
  • Color Picker
  • Gradient Generator

© 2026 SimplyToolbox. All rights reserved.

Processing happens in your browser — your files stay private.