SVG path editor
MEMBERSSee every command of a path as a point on the canvas and a card in the code. Move, add, remove and bend them.
Canvas
Canvas
The code cannot be read. The canvas shows the last version that could.
Fill
Stroke
Text
Place and size
Effects
Nothing is selected. These are the properties of the drawing.
Drawing
Press an element to select it, arrows move it, Delete removes it, Ctrl D copies it. V selects, A edits points, P is the pen, R a rectangle, O an ellipse, T a text. Layers hold every element for the keyboard.
Code, live both ways
Code, live both ways
Weight
What the file weighs
All optimizations
Found a bug or missing something? Write to us
How it works
Path data, explained while it is edited
A selected path opens its commands under its line: M, L, H, C and the rest, each with what it does in words. Press one and its point is chosen on the canvas; move a point and the numbers follow.
Points can be added in the middle of a segment without changing the curve, removed, and turned from a line into a curve. A point that is nearly level with another snaps to it, and the data becomes a short H or V.
Simplify fits fewer curves to a path within a tolerance you can see. Shapes become paths by themselves as soon as one of their corners is moved.
Help
FAQ
What is the difference between uppercase and lowercase path commands?
An uppercase command, such as L, gives absolute coordinates; a lowercase one, such as l, gives a distance from the point before. After a point is moved the data is written in absolute commands with up to two decimals, and Optimize later picks the shorter form for each command.
What do the seven numbers of the A command mean?
Radius x, radius y, the turn of the ellipse in degrees, the large arc flag, the sweep flag, and the x and y of the end point. The two flags, 0 or 1, choose one of four possible arcs. Turning, slanting or unevenly scaling a path without a transform attribute rewrites its arcs as cubic curves.
What are the S and T commands?
Smooth curves: S is a cubic curve and T a quadratic one whose first control point mirrors the last one of the curve before, so the joint has no corner. After a point is moved they are written out as C and Q; Optimize puts S or T back wherever the mirror still holds.