An SVG path element describes its shape with a d attribute such as "M 100 100 C 150 50 …", and writing those coordinates and Bézier control points by hand is easy to get wrong. This editor gives you a 500 × 500 canvas where you build the path by clicking and dragging, while the panel on the right instantly produces the matching SVG d code and a CSS clip-path: path() rule. Use it for icons, logo sketches, irregular image cut-outs, or simply to learn how SVG path commands actually work.
In Add Point mode, click the canvas to place an anchor. The first point is the start (M), and every point after it is a curve node (C) by default, with two blue control handles. Switch to Select/Edit mode to drag the green clover anchors and move nodes, or drag the handles to change the direction and depth of each curve. With a node selected, Node Type lets you turn it into a Corner (L) or Curve (C) node. In Delete Point mode, one click on an anchor removes it. The canvas works with a mouse, a trackpad or a touchscreen.
Turn on Snap to Grid and anchors lock to a 20-pixel grid, which makes symmetrical or tidy shapes much easier; the grid background can be shown or hidden at any time. Close Path (Z) connects the last point back to the first, creating a closed shape that can be filled. If you would rather not start from scratch, load the heart, star, drop or Alpa head template and adjust it. All coordinates are rounded to whole numbers, so the generated code stays short and ready to paste.
The d attribute uses a coordinate system from 0 to 500, so pair it with viewBox="0 0 500 500" in your SVG and the shape will scale with the SVG. CSS clip-path: path() works differently: its coordinates are in pixels and do not scale with the element, so it fits best on a 500 × 500 pixel element. For responsive clipping, use an SVG clipPath with clipPathUnits or scale the element with a transform. Everything runs in your browser and nothing is uploaded.