How to use the SVG Path Editor
- Paste a path's d attribute.
- Hover the command list to highlight segments, and drag points on the preview.
- Use the buttons to convert, flip, fit or minify, then copy the SVG.
What does this tool do?
SVG paths are compact but unreadable. Seeing each command highlighted makes icons easy to debug, and conversions help you hand-optimise: relative commands with fewer decimals are usually much shorter. Fit to 24×24 rescales an icon to the common icon grid.
Everything runs in your browser — nothing you paste is uploaded.
Why use it?
- Draggable points.
- Absolute ⇄ relative.
- Minify and fit.
Use cases
- Debug and tweak icon paths.
- Shrink SVG files for websites.
- Fit icons to a 24 × 24 grid for an icon set.
Shorter path data
M 10 10 L 20 10 L 20 20 draws two lines. Written with relative and shorthand commands it can become M10 10h10v10 — the same shape in less than half the characters.
Common mistakes
- Rounding to too few decimals, which distorts small icons.
- Flipping a path without updating the viewBox.
- Editing exported paths that still contain transforms.
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Frequently asked questions
Uppercase or lowercase commands?
Uppercase uses absolute coordinates; lowercase is relative to the previous point.
What do C and Q mean?
Cubic and quadratic Bézier curves.
Is my path uploaded?
No, editing happens in your browser.
Content last updated . See how M2Toolkit works.