Visualize & edit SVG paths with live draggable nodes.
Visualize, inspect, and edit SVG path data with interactive draggable control points. Convert between absolute and relative coordinates, inspect bounding boxes, and export full SVG files locally in your browser.
Essential reference for W3C SVG 2.0 path syntax and coordinate parameters:
Command
Name & Type
Parameters
Description
M / m
MoveTo
(x, y)+
Moves pen without drawing a line
L / l
LineTo
(x, y)+
Draws a straight line to (x, y)
H / h
Horizontal LineTo
x+
Draws a horizontal line to x
V / v
Vertical LineTo
y+
Draws a vertical line to y
C / c
Cubic Bézier
(x1, y1, x2, y2, x, y)+
Smooth curve with two independent control handles
Q / q
Quadratic Bézier
(x1, y1, x, y)+
Parabolic curve with one shared control handle
A / a
Elliptical Arc
(rx, ry, rot, large, sweep, x, y)+
Curved segment of an ellipse
Z / z
ClosePath
(none)
Draws a straight line back to the start of the subpath
Frequently Asked Questions
How do SVG path commands work?
SVG path data (the "d" attribute) is a compact string of instructions. Commands like M (MoveTo), L (LineTo), C (Cubic Bézier Curve), Q (Quadratic Curve), A (Elliptical Arc), and Z (ClosePath) guide the virtual pen across coordinate space to render complex vector shapes.
What is the difference between uppercase and lowercase path commands?
Uppercase commands (e.g. M 10 20, L 50 80) use absolute coordinates positioned relative to the viewBox origin (0, 0). Lowercase commands (e.g. m 10 20, l 40 60) use relative coordinates offset from the current pen position. Use the Absolute and Relative buttons for 1-click conversion.
How does interactive control point dragging work?
The visualizer normalizes shorthand curves into explicit vertices, converts pointer coordinates through the SVG canvas Coordinate Transformation Matrix (CTM), and updates the path string in real time as you drag vertices with mouse or touch.
How should I configure the SVG viewBox?
The viewBox attribute defines the position and dimensions of the vector viewport in user space (min-x min-y width height). Click Auto-fit ViewBox to compute the tight bounding box around all path vertices with balanced padding.
Is any vector data or SVG file sent to external servers?
Never. Path normalization, Bézier math, and interactive canvas rendering execute entirely in the browser using native SVG elements and JavaScript.