Clip-Path Shape Generator
Drag polygon points directly on a live preview (add/remove points, snap-to-grid), dial in circle/ellipse/inset with a draggable center, preview against your own uploaded image, copy CSS or SVG clipPath output, bake the shape into a downloadable PNG/WebP, paste-and-parse an existing clip-path, compare the shape across different box aspect ratios, and preview an A/B shape-morph animation.
Free, no sign-upNo uploads, files stay on your deviceSave it to use offline
Visually build a clip-path shape by dragging points on a live preview, and copy the resulting CSS once the shape looks right — polygons, angled cuts, custom non-rectangular crops — instead of hand-writing coordinate values for a property that's genuinely hard to picture from raw numbers alone.
Why clip-path needs a visual tool#
clip-path is one of the more powerful and least intuitive properties in CSS. A polygon clip-path is defined as a list of x/y coordinate pairs marking each point of the shape, in order — which is precise and flexible but nearly impossible to write correctly by guessing numbers, since there's no way to picture what a list of coordinates actually looks like as a shape without rendering it. A small error in one coordinate can produce a shape that looks nothing like what you intended, and there's no way to know without checking in a browser. A visual, drag-to-adjust interface removes that translation step entirely — you shape what you see, and the coordinates get generated for you.
How to use it#
- Start with a shape preset (triangle, polygon, angled cut) or build one from scratch.
- Drag the points on the live preview to adjust the shape until it looks right.
- The tool generates the corresponding
clip-pathCSS value as you adjust. - Copy the finished CSS into your stylesheet.
Common situations this solves#
- Creating angled section dividers or diagonal cuts on a webpage without hand-writing polygon coordinates
- Building non-rectangular image crops or card shapes
- Prototyping a custom shape visually before committing to the CSS
- Understanding what a specific clip-path value actually produces, by reverse-engineering it visually
Frequently asked questions#
How is this different from the Border-Radius Playground?
Border-radius rounds the corners of a fundamentally rectangular box; clip-path can cut a completely different shape out of an element — triangles, angled cuts, arbitrary polygons — that border-radius simply can't produce. Use border-radius for rounded corners, clip-path for genuinely non-rectangular shapes.
Does clip-path affect things like box-shadow or click targets on the element?
Yes, worth knowing before you use it — clip-path visually clips the element to the shape you define, which means anything outside that shape (including a box-shadow that would otherwise extend past the edges) gets clipped away too, and click/hover interactions generally only register within the visible clipped shape, not the original rectangular box.
Is clip-path well-supported across browsers?
Modern browser support for clip-path with polygon values is strong, though it's worth checking current support if you need to support notably old browser versions, since clip-path support lagged behind some other CSS features historically.
Can I animate a clip-path shape, or is it static once set?
Clip-path values can be animated with CSS transitions or keyframes, though animating between two different polygon shapes generally requires both shapes to have the same number of points for the animation to interpolate cleanly — worth keeping in mind if animation is the end goal.
More CSS & Tailwind Tools
See all 21 CSS & Tailwind Tools →- CSS Flexbox GeneratorContainer + per-item controls, responsive breakpoint tabs, drag-to-reorder, saved layouts, and CSS/SCSS/Tailwind/React output with a plain-English + no-effect-warning panel.
- CSS Grid GeneratorPaint named grid areas visually, size tracks per-track or with repeat(auto-fill/auto-fit), add responsive breakpoints, name grid lines, import existing grid CSS, and export CSS + matching HTML.
- Box Shadow CSS GeneratorPlain-CSS box-shadow builder with live preview (non-Tailwind sibling of tw-shadow).
- CSS Gradient Visual PickerLinear/radial/conic gradients with multi-layer stacking, drag-to-edit color stops, image color extraction, PNG/JPG/SVG export, animation, and CSS/SCSS/Tailwind/React output.
- CSS Keyframe Animation BuilderDrag stops on a timeline, toggle individual transform/opacity/color/blur properties per stop, sculpt a custom cubic-bezier curve, stack multiple simultaneous animations, and export CSS, a <style> block, or a Tailwind config snippet.
- Border-Radius PlaygroundDrag or type each corner, mix elliptical radii, switch px, % and rem, copy the CSS.
- Type Scale GeneratorPick a base size and ratio, get a modular h1–h6/body typography scale as CSS variables or Tailwind config.
- Fluid Typography Clamp() CalculatorBuild a clamp() value for font size, line height, padding, margin, gap, or radius with a live device-width preview rail, an optional full ratio-based type scale (xs–4xl) exportable as CSS/Tailwind/SCSS, a reverse parser for existing clamp() values, and accessibility warnings for tiny minimums or extreme ratios.