# Clip-path Generator > Cut corners and shapes with CSS clip-path and copy the code. Type a cut size ("cut 14px", "cut top-left bottom-right 10px"), a shape name (hexagon, arrow, chevron, slant, triangle, diamond, octagon, star, circle, rounded), paste a CSS clip-path, a Tailwind [clip-path:...] class or an SVG polygon, or start from a sci-fi card, cut-corner button, Tailwind arrow tag or slanted photo example; see it on a button, card, panel or photo at its real size; drag the points; and copy CSS, Tailwind, HTML or SVG. Free, no sign-up, runs in the browser. URL: https://clip-path-generator.skillsafe.ai/ ## What it does (free, in the browser) - Reads clip-path polygon(), inset(... round ...), circle() and ellipse() values from CSS rules (var() sizes defined in the pasted CSS are resolved; calc() with px, %, rem and em is read), Tailwind [clip-path:...] arbitrary properties (underscores as spaces), SVG (as percentages of the viewBox), and shorthand like "cut 14px". Says what to do next for path(), url(), min()/max()/clamp() and unreadable points. - Writes corner cuts in px from each edge (calc(100% - 14px)) so a cut keeps its size and 45 degree angle on any width; switch to percent to make the shape stretch. Recognises a pasted polygon as a cut-corner, hexagon, arrow, chevron or slant shape so its cut size can be changed with one slider. - Live preview on a button (180 x 44), card (320 x 200), panel (560 x 320) or photo (320 x 240); drag the point handles (snapping to the edges and the middle); try another width; edit points as text; pick which corners are cut; an optional gradient border that follows the cut. - Checks (from the corner-diagonals skill): outlines that cross themselves, cuts that fold over on a smaller element of the same kind, cut size per element (buttons 6-10 px, cards 12-18 px, panels 20-32 px), buttons under 44 px tall, side padding narrower than the cut, percent cuts that stretch off 45 degrees, points outside the box, and borders, outlines and box-shadows in pasted CSS that clip-path cuts away. One-press fixes for most. - Copies CSS with a --cut variable and a focus style that survives the clip (an inset ring, or the border shell lighting up), a Tailwind arbitrary-value class, an HTML snippet with styles, the bare value, or an SVG; downloads the SVG or a demo page; copies a link that reopens the shape. - Keeps a list of the shapes you copied or downloaded. ## Optional AI step (signed-in, metered) "Describe a shape instead" sends your description and the shape on screen, and returns the points of one polygon (0, Npx, N% or calc(100% - Npx) values), its cut size, the element it suits, a name, a summary and notes. The page re-reads every point with its own reader and checks it (readable, inside the box, no crossing edges, cut fits a smaller element) before it can be opened in the editor. API: https://clip-path-generator.skillsafe.ai/api.html (task "shape"). ## Source Adapted from the agent skill @mengto/corner-diagonals (mengto/skills by Meng To, MIT): https://skillsafe.ai/skill/@mengto/corner-diagonals