CompleteSEOTools
Home › Web Apps › SVG Path Visualizer

SVG path visualizer

Paste the d value of an SVG path and watch how each command builds the shape.

About SVG Path Visualizer

An SVG path is a string of commands such as M, L, C and A followed by numbers. This page draws the path and breaks it into a table, one row per command. Every end point is numbered, and the control handles of curves are drawn as dashed lines to squares. Use Next to step through the commands one at a time, or click a row. The parser reads M, L, H, V, C, S, Q, T, A and Z in upper and lower case, and the Make absolute button rewrites the path with absolute coordinates.

  • Working out why a curve bends the wrong way.
  • Learning what each path command does by seeing it.
  • Finding which command in a long icon path draws a stray line.
  • Converting relative commands to absolute ones.

How to use SVG Path Visualizer

1

Step 1

Paste a path into the box, or pick a sample. The drawing updates as you type.

2

Step 2

Press Next to step through the commands, or click a row in the table.

3

Step 3

Edit the numbers in the box and watch the shape change.

Good to know

  • Arc commands show only their end points, because the centre of an arc is not part of the path data.
  • S and T commands reuse a control point from the command before. The page shows that implied point as an empty square.
  • Only the d value belongs in the box. Do not paste the whole svg tag.

Common questions

What do the coloured marks mean?

Round dots are the points the path passes through, numbered by command. Squares joined by dashed lines are control handles that pull a curve. The current step is drawn in orange.

Why is my path cut off or empty?

The first command must be M or m. If a command has too few numbers, the drawing stops there and the message says where.

Does it support transforms or fill rules?

No. It draws a single path and ignores transforms and styles from the rest of your SVG.