Guide

THE TOOLBOX / MEDIA UTILITIES

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.

Presets:
89 chars · 6 segments
Path Anatomy
BBox: 60 × 75Origin: (20, 10)Commands: M:1 C:4 Z:1Vertices: 13

89 / 20,000 UTF-16 code units · 89 UTF-8 bytes

Edit path data, drag control points, or apply transforms.

VISUAL PREVIEW (DRAG NODES TO EDIT)13 nodes
Normalized Commands (6)
M50 30C50 15 20 10 20 35C20 55 50 75 50 85C50 75 80 55 80 35C80 10 50 15 50 30Z

THE DETAILS

SVG Path Commands Quick Reference

Essential reference for W3C SVG 2.0 path syntax and coordinate parameters:

CommandName & TypeParametersDescription
M / mMoveTo(x, y)+Moves pen without drawing a line
L / lLineTo(x, y)+Draws a straight line to (x, y)
H / hHorizontal LineTox+Draws a horizontal line to x
V / vVertical LineToy+Draws a vertical line to y
C / cCubic Bézier(x1, y1, x2, y2, x, y)+Smooth curve with two independent control handles
Q / qQuadratic Bézier(x1, y1, x, y)+Parabolic curve with one shared control handle
A / aElliptical Arc(rx, ry, rot, large, sweep, x, y)+Curved segment of an ellipse
Z / zClosePath(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.