What Is an SVG Path Editor?
SVG paths are the backbone of scalable vector graphics — every curve, line, and shape is defined by a sequence of commands (M, L, C, Q, A, Z) and coordinate pairs in a d attribute. Editing path data by hand is tedious and error-prone, especially for complex Bézier curves with multiple control points.
This visual editor lets you load any SVG path, see its control points on a canvas, and drag them to reshape the curve in real time. You can append new line, curve and close commands and delete any command from the list. The path data updates live, ready to paste back into your SVG file or component.
How to Use This Tool
- Paste or import your SVG path — Enter the d attribute value directly, or import an SVG file and pick which shape to edit. The editor converts the path to absolute commands so every control point sits where it is drawn, and adopts the file's viewBox.
- Drag control points — Click and drag anchor points to reshape segments. Bézier handles appear for curve commands — drag them to adjust curvature and tension.
- Add or remove points — Use the + M, + L, + C, + Q and + Z buttons to append a command after the last point, and delete any command from the command list. To turn a line into a curve, delete it and add a C or Q in its place.
- Copy the updated path data — The d attribute string updates in real time as you edit. Copy it and paste it into your SVG markup, React component, or design tool.
Worked example: paths round-tripped through the editor
When you load a path, the editor rewrites it as absolute commands. On October 12, 2026 we ran its conversion on six paths in Chromium 141 and compared the original and the converted path with getTotalLength() and 51 points sampled along each.
| Path | Input | Original → converted length |
|---|---|---|
| Relative commands with implicit repeats | m10 10 l20 0 0 20 -20 0z | identical (80.00 → 80.00) |
| Minified numbers | M10-5L.5.5 20,20 | identical |
| Smooth curve (S) | … S150 150 180 80 | identical |
| Material "favorite" heart icon | M12 21.35l-1.45-1.32C5.4 … | identical |
| Arc with spaced flags | a20 20 0 0 1 40 0 | identical |
| Arc with compact flags (SVGO style) | a20 20 0 0140 0 | identical since v181 (before: arc deleted, 62.84 → 0, output just "M 10 10") |
- Most real paths convert exactly. Relative commands, implicit repeats, minified numbers, smooth curves and icon paths came back geometrically identical.
- Compact arc flags are read correctly. The SVG grammar lets the two arc flags be written without spaces (
0 0140 0means flags 0 and 1, then x 40, y 0), which is how minifiers such as SVGO write arcs. Until v181 the editor read 0140 as one number and dropped the arc; it now reads each flag as a single 0 or 1, and all six test paths, including the SVGO-style arc andM1.5.5(two numbers), round-trip with identical length and points in Chromium. - Rounding. Converted values are rounded to 3 decimals, and dragged points snap to a precision suited to the canvas size, which keeps output short without visible change.
Sources
Checked on .
Frequently Asked Questions
📖 Learn More
Related Article How to Animate an SVG → Related Article How to Create Custom Blob SVG Shapes →Built by Derek Giordano · Part of Ultimate Design Tools