SVG Path Tools

Work with an SVG path: find its size and length, make all commands absolute, scale or move it, or fit it into a square.

How it works

Works on the d value of an SVG path. It measures the size and length, converts to absolute commands, scales and moves, or fits the path into a square with padding.

  1. Paste the path data.
  2. Choose what to do.
  3. Copy the new path.

Worked example

The path M10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80 has a width of 170. Scale X 2 doubles it.

Good to know

Common questions

What is the d attribute?
The list of drawing commands inside an SVG path, such as M for move and C for curve.
What is the difference between absolute and relative?
Capital letters use fixed positions. Small letters move from the last point.
Why is the bounding box not the control points?
It uses the real curve, so it hugs what is drawn.
Is my path uploaded?
No. All work is done in your browser.

More in Design.