Skip to main content

SVG Path Editor

Edit SVG d attributes visually. Drag control points on the canvas, pick from preset shapes, or type path commands directly. Supports M, L, C (cubic Bézier), Q (quadratic), and Z with live preview. Everything runs in your browser — nothing sent to any server.

✓ Drag-and-drop control points ✓ Bézier curve handles ✓ Live d attribute output

Frequently Asked Questions

What is an SVG path d attribute?▼

The d attribute defines the shape of an SVG <path> element using a sequence of commands like M (move to), L (line to), C (cubic Bézier curve), Q (quadratic Bézier), A (arc), and Z (close path). It's the most flexible way to draw shapes in SVG.

How do I drag control points?▼

Click and drag any colored circle on the canvas to move that point. Round filled circles are anchor points (endpoints). Gray circles are Bézier control handles that affect curve shape without being on the path itself.

What is the difference between C and Q curves?▼

C (cubic Bézier) uses two control points per curve segment, giving you more precise control over curvature. Q (quadratic Bézier) uses one control point per segment, which is simpler but less flexible. Both are widely used in SVG illustrations and icon design.

How do I use this path in my SVG?▼

Copy the output d attribute and paste it into your SVG file: <path d="M 50 100 ..." fill="none" stroke="black" stroke-width="2" />. You can also use the color picker to set your desired stroke color before copying.

Can I edit the path as text?▼

Yes — the textarea below the canvas shows the raw path d attribute. Editing it updates the canvas in real time. You can type SVG path commands directly: M x y (move), L x y (line), C x1 y1 x2 y2 x y (cubic curve), Q x1 y1 x y (quadratic), Z (close).

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →