Skip to main content
Particularly LogoParticular.ly

SVG Path Visualizer

SVG Path Visualizer
Paste an SVG path d attribute to visualize each command, see control points, and highlight individual segments

About the SVG Path Visualizer

The SVG Path Visualizer parses the d attribute of an SVG <path> and lets you step through each command — M (moveto), L (lineto), the cubic C and quadratic Q Beziers, arcs (A), the horizontal and vertical shortcuts (H, V), and the close-path Z — to see exactly how a shape is constructed. It renders the path on a grid and highlights the current segment, control points, and start/end coordinates as you advance, turning an opaque string of numbers into something you can read.

Each command moves a virtual pen: uppercase letters use absolute coordinates while lowercase letters are relative to the current point, and Bezier commands pull the curve toward off-curve control handles that the tool draws as anchor markers. Seeing those handles makes it obvious why a curve bulges the way it does, and stepping through reveals how shorthand commands like S and T reuse the previous control point by reflection.

This is invaluable for debugging hand-written or tool-exported paths, learning the path syntax, reverse-engineering an icon, or understanding why an animation along a path behaves unexpectedly. It pairs naturally with an SVG Sprite Generator workflow when you're auditing icon geometry, and with an SVG Color Editor when you need to inspect which sub-paths get which fills.

Practical tips: watch the difference between absolute and relative commands when a path drifts unexpectedly, and remember the arc command's flag parameters (large-arc and sweep) control which of four possible ellipse arcs is drawn. If a path looks broken, stepping to the offending command usually exposes a missing close, a stray relative move, or mismatched control-point counts.

Frequently asked questions

What do uppercase versus lowercase path commands mean?
Uppercase commands (M, L, C) use absolute coordinates relative to the SVG origin. Lowercase commands (m, l, c) are relative to the current pen position from the previous command.
What is the difference between C and Q curves?
C draws a cubic Bezier with two control points for richer S-shaped curves, while Q draws a quadratic Bezier with a single shared control point, producing simpler arcs.
What do the arc (A) command flags do?
The large-arc-flag and sweep-flag select which of the four possible elliptical arcs connects two points, controlling arc size and direction. Flipping them is the usual fix for an arc bending the wrong way.
Why does my S or T command produce an unexpected curve?
S and T are smooth shorthands that reflect the previous command's control point. If the preceding command was not a matching Bezier, the reflected control point defaults to the current point, flattening the curve.